AM62Px MCU+ SDK  10.01.00

Detailed Description

MCASP driver object.

Data Fields

MCASP_Handle handle
 
uint16_t instNum
 
uint32_t drvState
 
uint32_t transferMode
 
void * mcaspDmaHandle
 
void * mcaspPktDmaHandle
 
MCASP_DmaChConfigdmaChCfg
 
MCASP_TransferObj XmtObj
 
MCASP_TransferObj RcvObj
 
uint32_t isOpen
 
uint32_t isTxStarted
 
uint32_t isRxStarted
 
SemaphoreP_Object lockObj
 
SemaphoreP_Object transferSemObj
 
HwiP_Object hwiObjTx
 
HwiP_Object hwiObjRx
 
QueueP_Object reqQueueObjTx
 
QueueP_Object curentQueueObjTx
 
QueueP_Object reqQueueObjRx
 
QueueP_Object curentQueueObjRx
 
QueueP_Handle reqQueueHandleTx
 
QueueP_Handle curentQueueHandleTx
 
QueueP_Handle reqQueueHandleRx
 
QueueP_Handle curentQueueHandleRx
 
QueueP_Object completedQueueObjRx
 
QueueP_Handle completedQueueHandleRx
 
uint32_t lastPlayed
 
uint32_t lastFilled
 
uint32_t lastReceived
 
uint32_t lastRecQueued
 
uint8_t txFifoEnable
 
uint8_t rxFifoEnable
 

Field Documentation

◆ handle

MCASP_Handle MCASP_Object::handle

Instance handle

◆ instNum

uint16_t MCASP_Object::instNum

Instance number in port

◆ drvState

uint32_t MCASP_Object::drvState

stores the current state of the driver

◆ transferMode

uint32_t MCASP_Object::transferMode

Polling, Blocking or Callback mode.

◆ mcaspDmaHandle

void* MCASP_Object::mcaspDmaHandle

BCDMA Handle

◆ mcaspPktDmaHandle

void* MCASP_Object::mcaspPktDmaHandle

PKTDMA Handle

◆ dmaChCfg

MCASP_DmaChConfig* MCASP_Object::dmaChCfg

DMA Channel configuration

◆ XmtObj

MCASP_TransferObj MCASP_Object::XmtObj

Holds transmit channel to the McASP.

◆ RcvObj

MCASP_TransferObj MCASP_Object::RcvObj

Holds receive channel to the McASP.

◆ isOpen

uint32_t MCASP_Object::isOpen

Flag to indicate if the instance is already open

◆ isTxStarted

uint32_t MCASP_Object::isTxStarted

Flag to indicate if the Tx is started

◆ isRxStarted

uint32_t MCASP_Object::isRxStarted

Flag to indicate if the Rx is started

◆ lockObj

SemaphoreP_Object MCASP_Object::lockObj

Driver lock object

◆ transferSemObj

SemaphoreP_Object MCASP_Object::transferSemObj

Transfer Sync Semaphore object

◆ hwiObjTx

HwiP_Object MCASP_Object::hwiObjTx

Transmit Interrupt object

◆ hwiObjRx

HwiP_Object MCASP_Object::hwiObjRx

Receive Interrupt object number of slots used by the mcasp

◆ reqQueueObjTx

QueueP_Object MCASP_Object::reqQueueObjTx

◆ curentQueueObjTx

QueueP_Object MCASP_Object::curentQueueObjTx

◆ reqQueueObjRx

QueueP_Object MCASP_Object::reqQueueObjRx

◆ curentQueueObjRx

QueueP_Object MCASP_Object::curentQueueObjRx

Queue Obj to store the application buffers

◆ reqQueueHandleTx

QueueP_Handle MCASP_Object::reqQueueHandleTx

◆ curentQueueHandleTx

QueueP_Handle MCASP_Object::curentQueueHandleTx

◆ reqQueueHandleRx

QueueP_Handle MCASP_Object::reqQueueHandleRx

◆ curentQueueHandleRx

QueueP_Handle MCASP_Object::curentQueueHandleRx

Queue handle used for storing the application buffers

◆ completedQueueObjRx

QueueP_Object MCASP_Object::completedQueueObjRx

Queue object to store completed Rx transactions

◆ completedQueueHandleRx

QueueP_Handle MCASP_Object::completedQueueHandleRx

Queue handle used for storing completed Rx transactions

◆ lastPlayed

uint32_t MCASP_Object::lastPlayed

Last played ring element index

◆ lastFilled

uint32_t MCASP_Object::lastFilled

Last filled ring element index int TX

◆ lastReceived

uint32_t MCASP_Object::lastReceived

Last received ring element index

◆ lastRecQueued

uint32_t MCASP_Object::lastRecQueued

Last receive txn queued index

◆ txFifoEnable

uint8_t MCASP_Object::txFifoEnable

Flag to indicate Tx fifo enable

◆ rxFifoEnable

uint8_t MCASP_Object::rxFifoEnable

Flag to indicate Rx fifo enable