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 |
void * | 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
void* SPI_Params_::custom |
Custom argument used by driver implementation