MCSPI driver object.
Data Fields | |
MCSPI_Handle | handle |
MCSPI_OpenParams | openPrms |
uint32_t | baseAddr |
MCSPI_ChObject | chObj [MCSPI_MAX_NUM_CHANNELS] |
uint32_t | errorFlag |
uint32_t | isOpen |
void * | transferSem |
SemaphoreP_Object | transferSemObj |
void * | hwiHandle |
HwiP_Object | hwiObj |
MCSPI_Transaction * | currTransaction |
void * | mcspiDmaHandle |
MCSPI_Handle MCSPI_Object::handle |
Instance handle to which this object belongs
MCSPI_OpenParams MCSPI_Object::openPrms |
Open parameter as provided by user
uint32_t MCSPI_Object::baseAddr |
Peripheral base address - CPU view
MCSPI_ChObject MCSPI_Object::chObj[MCSPI_MAX_NUM_CHANNELS] |
Channel object
uint32_t MCSPI_Object::errorFlag |
Variable to store different McSPI errors
uint32_t MCSPI_Object::isOpen |
Flag to indicate whether the instance is opened already
void* MCSPI_Object::transferSem |
Transfer Sync Sempahore - to sync between transfer completion ISR and task
SemaphoreP_Object MCSPI_Object::transferSemObj |
Transfer Sync Sempahore object
void* MCSPI_Object::hwiHandle |
Interrupt handle for master ISR
HwiP_Object MCSPI_Object::hwiObj |
Interrupt object
MCSPI_Transaction* MCSPI_Object::currTransaction |
Pointer to current transaction
void* MCSPI_Object::mcspiDmaHandle |
DMA Handle