|
Soletta™ Framework
|
SPI configuration struct. More...
#include <sol-spi.h>
Data Fields | |
| uint16_t | api_version |
| The API version. More... | |
| uint8_t | bits_per_word |
| Number of bits per word. More... | |
| unsigned int | chip_select |
| Also know as slave select. More... | |
| uint32_t | frequency |
| Clock frequency in Hz. More... | |
| enum sol_spi_mode | mode |
| The SPI operation mode. More... | |
SPI configuration struct.
This struct is used to configure an SPI bus during its creation.
| uint16_t sol_spi_config::api_version |
The API version.
| uint8_t sol_spi_config::bits_per_word |
Number of bits per word.
| unsigned int sol_spi_config::chip_select |
Also know as slave select.
| uint32_t sol_spi_config::frequency |
Clock frequency in Hz.
| enum sol_spi_mode sol_spi_config::mode |
The SPI operation mode.
1.8.6