AM64x MCU+ SDK  08.02.00

Detailed Description

MCSPI driver object.

Data Fields

MCSPI_Handle handle
 
MCSPI_OpenParams openPrms
 
uint32_t baseAddr
 
MCSPI_ChObject chObj [MCSPI_MAX_NUM_CHANNELS]
 
uint32_t isOpen
 
void * transferSem
 
SemaphoreP_Object transferSemObj
 
void * hwiHandle
 
HwiP_Object hwiObj
 
MCSPI_TransactioncurrTransaction
 
void * mcspiDmaHandle
 

Field Documentation

◆ handle

MCSPI_Handle MCSPI_Object::handle

Instance handle to which this object belongs

◆ openPrms

MCSPI_OpenParams MCSPI_Object::openPrms

Open parameter as provided by user

◆ baseAddr

uint32_t MCSPI_Object::baseAddr

Peripheral base address - CPU view

◆ chObj

MCSPI_ChObject MCSPI_Object::chObj[MCSPI_MAX_NUM_CHANNELS]

Channel object

◆ isOpen

uint32_t MCSPI_Object::isOpen

Flag to indicate whether the instance is opened already

◆ transferSem

void* MCSPI_Object::transferSem

Transfer Sync Sempahore - to sync between transfer completion ISR and task

◆ transferSemObj

SemaphoreP_Object MCSPI_Object::transferSemObj

Transfer Sync Sempahore object

◆ hwiHandle

void* MCSPI_Object::hwiHandle

Interrupt handle for master ISR

◆ hwiObj

HwiP_Object MCSPI_Object::hwiObj

Interrupt object

◆ currTransaction

MCSPI_Transaction* MCSPI_Object::currTransaction

Pointer to current transaction

◆ mcspiDmaHandle

void* MCSPI_Object::mcspiDmaHandle

DMA Handle