MCASP Parameters.
MCASP Parameters are used to with the MCASP_open() call. Default values for these parameters are set using MCASP_openParamsInit().
If NULL is passed for the parameters, MCASP_open() uses default parameters.
Data Fields | |
uint32_t | transferMode |
uint8_t | txBufferFormat |
uint8_t | rxBufferFormat |
uint8_t | txSerUsedCount |
uint8_t | rxSerUsedCount |
uint8_t * | txSerUsedArray |
uint8_t * | rxSerUsedArray |
uint8_t | txSlotCount |
uint8_t | rxSlotCount |
MCASP_TxCallbackFxn | txCallbackFxn |
MCASP_RxCallbackFxn | rxCallbackFxn |
uint32_t | txLoopjobEnable |
uint8_t * | txLoopjobBuf |
uint32_t | txLoopjobBufLength |
uint32_t | rxLoopjobEnable |
uint8_t * | rxLoopjobBuf |
uint32_t | rxLoopjobBufLength |
MCASP_DmaChConfig * | dmaChCfg |
void * | mcaspDmaDrvObj |
void * | mcaspPktDmaDrvObj |
uint8_t | skipDriverOpen |
uint32_t MCASP_OpenParams::transferMode |
Polling, Blocking or Callback mode.
uint8_t MCASP_OpenParams::txBufferFormat |
Audio buffer format for app tx buffer
uint8_t MCASP_OpenParams::rxBufferFormat |
Audio buffer format for app rx buffer
uint8_t MCASP_OpenParams::txSerUsedCount |
Number of allocated transmit serializers
uint8_t MCASP_OpenParams::rxSerUsedCount |
Number of allocated receive serializers
uint8_t* MCASP_OpenParams::txSerUsedArray |
POinter to the array of allocated transmit serializer indices
uint8_t* MCASP_OpenParams::rxSerUsedArray |
POinter to the array of allocated receive serializer indices
uint8_t MCASP_OpenParams::txSlotCount |
Number of slots for trasnmit operation
uint8_t MCASP_OpenParams::rxSlotCount |
Number of slots for receive operation
MCASP_TxCallbackFxn MCASP_OpenParams::txCallbackFxn |
Read callback function pointer
MCASP_RxCallbackFxn MCASP_OpenParams::rxCallbackFxn |
Write callback function pointer
uint32_t MCASP_OpenParams::txLoopjobEnable |
Flag to enable loopjob for transmit
uint8_t* MCASP_OpenParams::txLoopjobBuf |
Loopjob buffer address for transmit
uint32_t MCASP_OpenParams::txLoopjobBufLength |
Loopjob buffer length for transmit
uint32_t MCASP_OpenParams::rxLoopjobEnable |
Flag to enable loopjob for receive
uint8_t* MCASP_OpenParams::rxLoopjobBuf |
Loopjob buffer address for receive
uint32_t MCASP_OpenParams::rxLoopjobBufLength |
Loopjob buffer length for receive
MCASP_DmaChConfig* MCASP_OpenParams::dmaChCfg |
DMA channel config
void* MCASP_OpenParams::mcaspDmaDrvObj |
BCDMA Handle
void* MCASP_OpenParams::mcaspPktDmaDrvObj |
PKTDMA Handle
uint8_t MCASP_OpenParams::skipDriverOpen |
Flag to indicate if driver open should be skipped