title: Spi_DriverObjType summary: SPI driver object structure.


Spi_DriverObjType

SPI driver object structure.

#include <Spi_Priv.h>

Structure Members

Member Type

Member name

Brief

uint32

isAsyncInProgress

Flag to indicate any async transfer is in progress.

Spi_AsyncModeType

asyncMode

Async mode set by user.

uint8

maxChannels

Maximum number of channels. Should not be more than SPI_MAX_CHANNELS.

uint8

maxJobs

Maximum number of jobs Should not be more than SPI_MAX_JOBS.

uint8

maxSeq

Maximum number of sequences Should not be more than SPI_MAX_SEQ.

uint8

maxHwUnit

Maximum number of HW unit Should not be more than SPI_MAX_HW_UNIT.

uint8

maxExtDevCfg

Maximum number of external device configurations Should not be more than SPI_MAX_EXT_DEV.

Spi_ChannelObjType[SPI_MAX_CHANNELS]

channelObj

SPI channel objects.

Spi_JobObjType[SPI_MAX_JOBS]

jobObj

SPI job objects.

Spi_SeqObjType[SPI_MAX_SEQ]

seqObj

SPI sequence objects.

Spi_HwUnitObjType[SPI_MAX_HW_UNIT]

hwUnitObj

SPI hw unit objects.

Spi_ExternalDeviceConfigType[SPI_MAX_EXT_DEV]

extDevCfg

External HW device config.