SPI initialization configuration. More...
#include <spi.h>
Data Fields | |
| bool | cs_active_low |
| True when chip-select is active low. | |
| hw_spi_mode_t | mode |
| SPI mode selection. | |
| uint8_t | bits_per_word |
| SPI frame size in bits. | |
SPI initialization configuration.
Describes optional SPI settings beyond the required baud rate passed directly to the init functions.
When NULL is passed to an init function, implementation defaults are used for all fields in this structure. The default SPI configuration is chip-select active low, mode 0, and 8 bits per word.