![]() |
![]() |
TI-RTOS Drivers
tidrivers_full_2_20_01_10
|
SPI Parameters. More...
#include <SPI.h>
Data Fields | |
SPI_TransferMode | transferMode |
uint32_t | transferTimeout |
SPI_CallbackFxn | transferCallbackFxn |
SPI_Mode | mode |
uint32_t | bitRate |
uint32_t | dataSize |
SPI_FrameFormat | frameFormat |
uintptr_t | custom |
SPI Parameters.
SPI Parameters are used to with the SPI_open() call. Default values for these parameters are set using SPI_Params_init().
SPI_TransferMode SPI_Params::transferMode |
Blocking or Callback mode
uint32_t SPI_Params::transferTimeout |
Transfer timeout in system ticks (Not supported with all implementations
SPI_CallbackFxn SPI_Params::transferCallbackFxn |
Callback function pointer
SPI_Mode SPI_Params::mode |
Master or Slave mode
uint32_t SPI_Params::bitRate |
SPI bit rate in Hz
uint32_t SPI_Params::dataSize |
SPI data frame size in bits
SPI_FrameFormat SPI_Params::frameFormat |
SPI frame format
uintptr_t SPI_Params::custom |
Custom argument used by driver implementation