AM273x MCU+ SDK  08.02.00
MIBSPI_OpenParams Struct Reference

Detailed Description

MIBSPI Parameters.

MIBSPI Parameters are used with the MIBSPI_open() call. Default values for these parameters are set using MIBSPI_Params_init().

See also
MIBSPI_Params_init()

Data Fields

MIBSPI_Mode mode
 
MIBSPI_TransferMode transferMode
 
Bool iCountSupport
 
MIBSPI_CallbackFxn transferCallbackFxn
 
uint32_t dataSize
 
MIBSPI_FrameFormat frameFormat
 
union {
   MIBSPI_MasterModeParams   masterParams
 
   MIBSPI_SlaveModeParams   slaveParams
 
u
 
MIBSPI_PinMode pinMode
 
MIBSPI_DataShiftFmt shiftFormat
 
uint8_t dmaEnable
 
int32_t edmaInst
 
void * dmaHandle
 
uint8_t eccEnable
 
uint8_t csHold
 
uint16_t txDummyValue
 
uint32_t transferTimeout
 
Bool compatibilityMode
 
uint16_t edmaLinkParamId
 EDMA link channel id Needs to be set only if compatibility mode is TRUE The MIBSPI requries an additional param to terminate Tx transfer. This should be from the pool of free param sets
More...
 

Field Documentation

◆ mode

MIBSPI_Mode MIBSPI_OpenParams::mode

Master or Slave mode

◆ transferMode

MIBSPI_TransferMode MIBSPI_OpenParams::transferMode

Blocking or Callback mode

◆ iCountSupport

Bool MIBSPI_OpenParams::iCountSupport

Support for multi icount in one transfer to achieve high throughput, this is only supported in blocking mode

◆ transferCallbackFxn

MIBSPI_CallbackFxn MIBSPI_OpenParams::transferCallbackFxn

Callback function pointer

◆ dataSize

uint32_t MIBSPI_OpenParams::dataSize

SPI data frame size in bits

◆ frameFormat

MIBSPI_FrameFormat MIBSPI_OpenParams::frameFormat

SPI frame format

◆ masterParams

MIBSPI_MasterModeParams MIBSPI_OpenParams::masterParams

Configuration dedicated to master mode, refer to MIBSPI_MasterModeParams

◆ slaveParams

MIBSPI_SlaveModeParams MIBSPI_OpenParams::slaveParams

Configuration dedicated to slave mode, refer to MIBSPI_SlaveModeParams

◆ u

union { ... } MIBSPI_OpenParams::u

union to hold either master mode or slave mode params

◆ pinMode

MIBSPI_PinMode MIBSPI_OpenParams::pinMode

Pin operation Mode, refer to MIBSPI_PinMode

◆ shiftFormat

MIBSPI_DataShiftFmt MIBSPI_OpenParams::shiftFormat

SPI Data shift format, refer to MIBSPI_DataShiftFmt

◆ dmaEnable

uint8_t MIBSPI_OpenParams::dmaEnable

DMA mode enable. When Dma mode is disable, SPI driver is operated in polling mode, there is while(1) loop waiting for hardware to finish

◆ edmaInst

int32_t MIBSPI_OpenParams::edmaInst

EDMA instance

◆ dmaHandle

void* MIBSPI_OpenParams::dmaHandle

EDMA handle

◆ eccEnable

uint8_t MIBSPI_OpenParams::eccEnable

ECC mode enable

◆ csHold

uint8_t MIBSPI_OpenParams::csHold

CS Hold enable

◆ txDummyValue

uint16_t MIBSPI_OpenParams::txDummyValue

16 bit value transmitted when no TX data is provided for SPI_tranfer()

◆ transferTimeout

uint32_t MIBSPI_OpenParams::transferTimeout

Transfer timeout in system ticks (Not supported with all implementations

◆ compatibilityMode

Bool MIBSPI_OpenParams::compatibilityMode

Enable Compatibility mode operation of MIBSPI. MIBSPI RAM will be disabled

◆ edmaLinkParamId

uint16_t MIBSPI_OpenParams::edmaLinkParamId

EDMA link channel id Needs to be set only if compatibility mode is TRUE The MIBSPI requries an additional param to terminate Tx transfer. This should be from the pool of free param sets

Link param id.