AM64x MCU+ SDK  10.00.00
MCSPI_OpenParams Struct Reference

Detailed Description

MCSPI Parameters.

MCSPI Parameters are used to with the MCSPI_open() call. Default values for these parameters are set using MCSPI_OpenParams_init().

If NULL is passed for the parameters, MCSPI_open() uses default parameters.

See also
MCSPI_OpenParams_init()

Data Fields

uint32_t transferMode
 
uint32_t transferTimeout
 
MCSPI_CallbackFxn transferCallbackFxn
 
uint32_t msMode
 
int32_t mcspiDmaIndex
 

Field Documentation

◆ transferMode

uint32_t MCSPI_OpenParams::transferMode

Blocking or Callback mode. Refer MCSPI_TransferMode

◆ transferTimeout

uint32_t MCSPI_OpenParams::transferTimeout

Transfer timeout in system ticks

◆ transferCallbackFxn

MCSPI_CallbackFxn MCSPI_OpenParams::transferCallbackFxn

Callback function pointer

◆ msMode

uint32_t MCSPI_OpenParams::msMode

Controller or Peripheral mode. Refer MCSPI_MsMode

◆ mcspiDmaIndex

int32_t MCSPI_OpenParams::mcspiDmaIndex

Index of DMA instance used by MCSPI Driver. This index will be set by SysCfg according to the DMA driver chosen. The MCSPI driver uses this index to do an MCSPI_lld_initDma inside the MCSPI_open if the DMA mode is enabled