|
API Documentation
9.14.00
|
SPI Parameters. More...
Data Fields | |
| uint32_t | bitRate |
| SPI bit rate in Hz. More... | |
| void * | custom |
| uint32_t | dataSize |
| SPI_FrameFormat | frameFormat |
| SPI_Mode | mode |
| SPI_CallbackFxn | transferCallbackFxn |
| SPI_TransferMode | transferMode |
| uint32_t | transferTimeout |
SPI Parameters.
SPI Parameters are used to with the SPI_open() call. Default values for these parameters are set using SPI_Params_init().
| uint32_t SPI_Params::bitRate |
SPI bit rate in Hz.
Maximum bit rates supported by hardware:
| Device Family | Peripheral Max (MHz) | Controller Max (MHz) |
|---|---|---|
| CC13X2/CC26X2 | 4 MHz | 4 MHz |
| CC13X4/CC26X4 | 8 MHz | 12 MHz |
| CC23XX/CC27XX | 12 MHz | 12 MHz |
Please note that depending on the specific use case, the driver may not support the hardware's maximum bit rate.
| void* SPI_Params::custom |
Custom argument used by driver implementation
| uint32_t SPI_Params::dataSize |
SPI data frame size in bits
| SPI_FrameFormat SPI_Params::frameFormat |
SPI frame format
| SPI_Mode SPI_Params::mode |
Controller or Peripheral mode
| SPI_CallbackFxn SPI_Params::transferCallbackFxn |
Callback function pointer
| SPI_TransferMode SPI_Params::transferMode |
Blocking or Callback mode
| uint32_t SPI_Params::transferTimeout |
Transfer timeout in system ticks
1.8.12