ruuvi.drivers.c
${PROJECT_VERSION}
Drivers for external sensors and peripherals on embedded systems.
|
#include <ruuvi_interface_spi.h>
Data Fields | |
ri_gpio_id_t | mosi |
pin number of MOSI More... | |
ri_gpio_id_t | miso |
pin number of MISO More... | |
ri_gpio_id_t | sclk |
pin number of SCLK More... | |
ri_gpio_id_t * | ss_pins |
array of SPI pins, can be freed after function exits More... | |
size_t | ss_pins_number |
sizeof ss_pins More... | |
ri_spi_frequency_t | frequency |
Frequency of SPI Bus, see ri_spi_frequency_t. More... | |
ri_spi_mode_t | mode |
Mode of SPI Bus, see ri_spi_mode_t. More... | |
Configuration for initializing SPI
Definition at line 54 of file ruuvi_interface_spi.h.
ri_spi_frequency_t frequency |
Frequency of SPI Bus, see ri_spi_frequency_t.
Definition at line 61 of file ruuvi_interface_spi.h.
ri_gpio_id_t miso |
pin number of MISO
Definition at line 57 of file ruuvi_interface_spi.h.
ri_spi_mode_t mode |
Mode of SPI Bus, see ri_spi_mode_t.
Definition at line 62 of file ruuvi_interface_spi.h.
ri_gpio_id_t mosi |
pin number of MOSI
Definition at line 56 of file ruuvi_interface_spi.h.
ri_gpio_id_t sclk |
pin number of SCLK
Definition at line 58 of file ruuvi_interface_spi.h.
ri_gpio_id_t* ss_pins |
array of SPI pins, can be freed after function exits
Definition at line 59 of file ruuvi_interface_spi.h.
size_t ss_pins_number |
sizeof ss_pins
Definition at line 60 of file ruuvi_interface_spi.h.