McASP Transfer Data structure stored in driver object.
Data Fields | |
uint32_t | inProgress |
uint32_t | state |
int32_t | status |
uint32_t | count |
uint8_t | slotCount |
uint8_t | slotIndex |
uint8_t | frameCount |
uint8_t | frameIndex |
uint8_t | serCount |
uint8_t * | serArray |
uint8_t | bufferFormat |
MCASP_Transaction * | transaction |
MCASP_TxCallbackFxn | cbFxn |
MCASP_Transaction | txnLoopjob |
uint32_t | loopjobEnable |
uint32_t MCASP_TransferObj::inProgress |
Flag to indicate if the transfer is ongoing
uint32_t MCASP_TransferObj::state |
MCASP Transfer State
int32_t MCASP_TransferObj::status |
MCASP_Transfer Status
uint32_t MCASP_TransferObj::count |
MCASP Transfer count
uint8_t MCASP_TransferObj::slotCount |
number of slots in transaction
uint8_t MCASP_TransferObj::slotIndex |
current slot index in ongoing transfer
uint8_t MCASP_TransferObj::frameCount |
number of frames in transaction
uint8_t MCASP_TransferObj::frameIndex |
current frame index in ongoing transfer
uint8_t MCASP_TransferObj::serCount |
Number of allocated serializers
uint8_t* MCASP_TransferObj::serArray |
Pointer to the array of allocated serializer indices
uint8_t MCASP_TransferObj::bufferFormat |
Audio buffer format for app buffer
MCASP_Transaction* MCASP_TransferObj::transaction |
Pointer to current transaction struct
MCASP_TxCallbackFxn MCASP_TransferObj::cbFxn |
callback function provided by the app to be called by DMA or Host Audio buffer format for app buffer
MCASP_Transaction MCASP_TransferObj::txnLoopjob |
transaction struct object for loopjob buffer
uint32_t MCASP_TransferObj::loopjobEnable |
Flag to enable loopjob. when enabled loopjob buffer is transmitted if application fails to load buffers. If disabled minimum of 2 buffers need to be submitted before start and atleast one buffer should be queued before each ISR call.