MCASP driver object.
Data Fields | |
MCASP_Handle | handle |
uint16_t | instNum |
uint32_t | drvState |
uint32_t | transferMode |
void * | mcaspDmaHandle |
void * | mcaspPktDmaHandle |
MCASP_DmaChConfig * | dmaChCfg |
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 |
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 |
BCDMA Handle
void* MCASP_Object::mcaspPktDmaHandle |
PKTDMA 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
uint32_t MCASP_Object::lastPlayed |
Last played ring element index
uint32_t MCASP_Object::lastFilled |
Last filled ring element index int TX
uint32_t MCASP_Object::lastReceived |
Last received ring element index
uint32_t MCASP_Object::lastRecQueued |
Last receive txn queued index
uint8_t MCASP_Object::txFifoEnable |
Flag to indicate Tx fifo enable
uint8_t MCASP_Object::rxFifoEnable |
Flag to indicate Rx fifo enable