AM62x MCU+ SDK  10.01.00
MCASP_OpenParams Struct Reference

Detailed Description

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.

See also
MCASP_openParamsInit()

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_DmaChConfigdmaChCfg
 
void * mcaspDmaDrvObj
 
void * mcaspPktDmaDrvObj
 
uint8_t skipDriverOpen
 

Field Documentation

◆ transferMode

uint32_t MCASP_OpenParams::transferMode

Polling, Blocking or Callback mode.

◆ txBufferFormat

uint8_t MCASP_OpenParams::txBufferFormat

Audio buffer format for app tx buffer

◆ rxBufferFormat

uint8_t MCASP_OpenParams::rxBufferFormat

Audio buffer format for app rx buffer

◆ txSerUsedCount

uint8_t MCASP_OpenParams::txSerUsedCount

Number of allocated transmit serializers

◆ rxSerUsedCount

uint8_t MCASP_OpenParams::rxSerUsedCount

Number of allocated receive serializers

◆ txSerUsedArray

uint8_t* MCASP_OpenParams::txSerUsedArray

POinter to the array of allocated transmit serializer indices

◆ rxSerUsedArray

uint8_t* MCASP_OpenParams::rxSerUsedArray

POinter to the array of allocated receive serializer indices

◆ txSlotCount

uint8_t MCASP_OpenParams::txSlotCount

Number of slots for trasnmit operation

◆ rxSlotCount

uint8_t MCASP_OpenParams::rxSlotCount

Number of slots for receive operation

◆ txCallbackFxn

MCASP_TxCallbackFxn MCASP_OpenParams::txCallbackFxn

Read callback function pointer

◆ rxCallbackFxn

MCASP_RxCallbackFxn MCASP_OpenParams::rxCallbackFxn

Write callback function pointer

◆ txLoopjobEnable

uint32_t MCASP_OpenParams::txLoopjobEnable

Flag to enable loopjob for transmit

◆ txLoopjobBuf

uint8_t* MCASP_OpenParams::txLoopjobBuf

Loopjob buffer address for transmit

◆ txLoopjobBufLength

uint32_t MCASP_OpenParams::txLoopjobBufLength

Loopjob buffer length for transmit

◆ rxLoopjobEnable

uint32_t MCASP_OpenParams::rxLoopjobEnable

Flag to enable loopjob for receive

◆ rxLoopjobBuf

uint8_t* MCASP_OpenParams::rxLoopjobBuf

Loopjob buffer address for receive

◆ rxLoopjobBufLength

uint32_t MCASP_OpenParams::rxLoopjobBufLength

Loopjob buffer length for receive

◆ dmaChCfg

MCASP_DmaChConfig* MCASP_OpenParams::dmaChCfg

DMA channel config

◆ mcaspDmaDrvObj

void* MCASP_OpenParams::mcaspDmaDrvObj

BCDMA Handle

◆ mcaspPktDmaDrvObj

void* MCASP_OpenParams::mcaspPktDmaDrvObj

PKTDMA Handle

◆ skipDriverOpen

uint8_t MCASP_OpenParams::skipDriverOpen

Flag to indicate if driver open should be skipped