Struct SYN_SPI_Config¶
SPI bus configuration.
#include <syn_port_spi.h>
Public Attributes¶
| Type | Name |
|---|---|
| uint8_t | bit_order |
| uint8_t | bus |
| uint32_t | clock_hz |
| SYN_SPI_Mode | mode |
Public Attributes Documentation¶
variable bit_order¶
0 = MSB first (default), 1 = LSB
variable bus¶
SPI bus index (0, 1, ...)
variable clock_hz¶
SPI clock frequency
variable mode¶
Clock polarity / phase
The documentation for this class was generated from the following file src/syntropic/port/syn_port_spi.h