API Documentation  9.14.00
Data Fields
SPI_Params Struct Reference

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
 

Detailed Description

SPI Parameters.

SPI Parameters are used to with the SPI_open() call. Default values for these parameters are set using SPI_Params_init().

See also
SPI_Params_init()

Field Documentation

§ bitRate

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.

§ custom

void* SPI_Params::custom

Custom argument used by driver implementation

§ dataSize

uint32_t SPI_Params::dataSize

SPI data frame size in bits

§ frameFormat

SPI_FrameFormat SPI_Params::frameFormat

SPI frame format

§ mode

SPI_Mode SPI_Params::mode

Controller or Peripheral mode

§ transferCallbackFxn

SPI_CallbackFxn SPI_Params::transferCallbackFxn

Callback function pointer

§ transferMode

SPI_TransferMode SPI_Params::transferMode

Blocking or Callback mode

§ transferTimeout

uint32_t SPI_Params::transferTimeout

Transfer timeout in system ticks


The documentation for this struct was generated from the following file: