MCASP driver object.
MCASP_Handle MCASP_Object::handle |
Instance handle
uint16_t MCASP_Object::instNum |
Instance number in port
uint32_t MCASP_Object::drvState |
stores the current state of the driver
uint32_t MCASP_Object::transferMode |
Polling, Blocking or Callback mode.
void* MCASP_Object::mcaspDmaHandle |
DMA Handle
MCASP_DmaChConfig* MCASP_Object::dmaChCfg |
DMA Channel configuration
MCASP_TransferObj MCASP_Object::XmtObj |
Holds transmit channel to the McASP.
MCASP_TransferObj MCASP_Object::RcvObj |
Holds receive channel to the McASP.
uint32_t MCASP_Object::isOpen |
Flag to indicate if the instance is already open
uint32_t MCASP_Object::isTxStarted |
Flag to indicate if the Tx is started
uint32_t MCASP_Object::isRxStarted |
Flag to indicate if the Rx is started
SemaphoreP_Object MCASP_Object::lockObj |
Driver lock object
SemaphoreP_Object MCASP_Object::transferSemObj |
Transfer Sync Semaphore object
HwiP_Object MCASP_Object::hwiObjTx |
Transmit Interrupt object
HwiP_Object MCASP_Object::hwiObjRx |
Receive Interrupt object number of slots used by the mcasp
QueueP_Object MCASP_Object::reqQueueObjTx |
QueueP_Object MCASP_Object::curentQueueObjTx |
QueueP_Object MCASP_Object::reqQueueObjRx |
QueueP_Object MCASP_Object::curentQueueObjRx |
Queue Obj to store the application buffers
QueueP_Handle MCASP_Object::reqQueueHandleTx |
QueueP_Handle MCASP_Object::curentQueueHandleTx |
QueueP_Handle MCASP_Object::reqQueueHandleRx |
QueueP_Handle MCASP_Object::curentQueueHandleRx |
Queue handle used for storing the application buffers
QueueP_Object MCASP_Object::completedQueueObjRx |
Queue object to store completed Rx transactions
QueueP_Handle MCASP_Object::completedQueueHandleRx |
Queue handle used for storing completed Rx transactions
uint8_t* MCASP_Object::cyclicBuffTx |
Cyclic Tx buffer pointer
uint32_t MCASP_Object::cyclicBuffSizeTx |
Tx cyclic buffer size
uint32_t MCASP_Object::cyclicBuffCntTx |
Tx cyclic buffer count
uint8_t* MCASP_Object::cyclicBuffRx |
Cyclic Rx buffer pointer
uint32_t MCASP_Object::cyclicBuffSizeRx |
Rx cyclic buffer size
uint32_t MCASP_Object::cyclicBuffCntRx |
Rx cyclic buffer count
MCASP_Transaction* MCASP_Object::currTransTx |
Current Tx transaction
MCASP_Transaction* MCASP_Object::currTransRx |
Current Rx transaction
uint32_t MCASP_Object::currTxTransRemCnt |
Remaining Tx transaction count
uint32_t MCASP_Object::currRxTransRemCnt |
Remaining Rx transaction count
Udma_ChHandle MCASP_Object::cyclicTxFeedDMAHandle |
Channel hande to feed in data to cyclic Tx buffer
Udma_ChHandle MCASP_Object::cyclicRxFeedDMAHandle |
Channel hande to get out data from cyclic Rx buffer
uint8_t MCASP_Object::txTrCompletionIdx |
Tx cyclic buffer index to which transaction is completion
uint8_t MCASP_Object::rxTrCompletionIdx |
Rx cyclic buffer index to which transaction is completion
Udma_EventHandle MCASP_Object::bcdmaTxCyclicEvtHandle |
Completion queue event handle for feeding data to cyclic Tx buffer
Udma_EventHandle MCASP_Object::bcdmaRxCyclicEvtHandle |
Udma_DrvHandle MCASP_Object::bcdmaDrvHandle |
Drive handle for BCDMA
MCASP_DmaTrpdMemAlloc* MCASP_Object::trpdMemAllocTx |
Trpds for feeding in data to the cyclic Tx buffer
MCASP_DmaTrpdMemAlloc* MCASP_Object::trpdMemAllocRx |
Trpds for getting out data from the cyclic Rx buffer