![]() |
![]() |
Configuration structure. More...
#include <csl_spi.h>
Data Fields | |
| Uint16 | spiClkDiv |
| SPI_WordLen | wLen |
| Uint16 | frLen |
| SPI_WordCntEnb | wcEnable |
| SPI_FrameCntEnb | fcEnable |
| SPI_HwMode | csNum |
| SPI_DataDly | dataDelay |
| SPI_ClkPolarity | clkPol |
| SPI_ChipSelPol | csPol |
| SPI_ClkPh | clkPh |
Configuration structure.
Hardware register configuration structure
Clock phase
Referenced by SPI_config().
Clock plarity
Referenced by SPI_config().
Chip select ie.0...3
Referenced by SPI_config().
chip select polarity
Referenced by SPI_config().
Data delay
Referenced by SPI_config().
Frame complete enable
Referenced by SPI_config().
| Uint16 SPI_Config::frLen |
Frame lenghth to transmit or receive
Referenced by SPI_config().
| Uint16 SPI_Config::spiClkDiv |
clock division (minimum value is 3)
Referenced by SPI_config().
Word complete enable
Referenced by SPI_config().
Word length set for data transmission or receive (supporting 8 bit or 16 bit)
Referenced by SPI_config().
1.7.4