PDK API Guide for J721E
|
MCSPI Parameters.
MCSPI Parameters are used to with the MCSPI_open() call. Default values for these parameters are set using MCSPI_Params_init().
Data Fields | |
SPI_TransferMode | transferMode |
uint32_t | transferTimeout |
MCSPI_CallbackFxn | transferCallbackFxn |
SPI_Mode | mode |
uint32_t | bitRate |
uint32_t | dataSize |
SPI_FrameFormat | frameFormat |
void * | custom |
SPI_TransferMode MCSPI_Params::transferMode |
Blocking or Callback mode
uint32_t MCSPI_Params::transferTimeout |
Transfer timeout in system ticks (Not supported with all implementations
MCSPI_CallbackFxn MCSPI_Params::transferCallbackFxn |
Callback function pointer
SPI_Mode MCSPI_Params::mode |
Master or Slave mode, all the channels on the same instance should have the same mode
uint32_t MCSPI_Params::bitRate |
SPI bit rate in Hz in single channle mode
uint32_t MCSPI_Params::dataSize |
SPI data frame size in bits in single channle mode
SPI_FrameFormat MCSPI_Params::frameFormat |
SPI frame format in single channle mode
void* MCSPI_Params::custom |
Custom argument used by driver implementation