Struct SYN_SPI_Config¶
SPI driver instance configuration parameters.
#include <syn_spi.h>
Public Attributes¶
| Type | Name |
|---|---|
| uint32_t | baudrate_hz |
| SYN_SPI_Mode | mode |
| SYN_SPI_Role | role |
| uint8_t | spi_id |
| bool | use_dma |
Public Attributes Documentation¶
variable baudrate_hz¶
Clock frequency in Hz (e.g. 1000000)
variable mode¶
SPI clock phase & polarity mode
variable role¶
Master or Slave mode
variable spi_id¶
Hardware SPI instance (0 = SPI1)
variable use_dma¶
Enable DMA transfers
The documentation for this class was generated from the following file src/syntropic/drivers/syn_spi.h