PDK API Guide for J721E
SPI_Params Struct Reference

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()

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
 

Field Documentation

◆ transferMode

SPI_TransferMode SPI_Params::transferMode

Blocking or Callback mode

◆ transferTimeout

uint32_t SPI_Params::transferTimeout

Transfer timeout in system ticks (Not supported with all implementations

◆ transferCallbackFxn

SPI_CallbackFxn SPI_Params::transferCallbackFxn

Callback function pointer

◆ mode

SPI_Mode SPI_Params::mode

Master or Slave mode

◆ bitRate

uint32_t SPI_Params::bitRate

SPI bit rate in Hz

◆ dataSize

uint32_t SPI_Params::dataSize

SPI data frame size in bits

◆ frameFormat

SPI_FrameFormat SPI_Params::frameFormat

SPI frame format

◆ custom

void* SPI_Params::custom

Custom argument used by driver implementation