AM275 FreeRTOS SDK  11.01.00

Detailed Description

AASRC Channel object.

Data Fields

AASRC_Handle drvHandle
 
bool isOpen
 
AASRC_ChState * chState
 
AASRC_ChCfg chCfg
 
AASRC_DmaChCfgdmaChCfg
 
AASRC_TransferObj rcvObj
 
AASRC_TransferObj xmtObj
 
SemaphoreP_Object transferSemObj
 
QueueP_Object reqQueueObjRx
 
QueueP_Object reqQueueObjTx
 
QueueP_Handle reqQueueHandleRx
 
QueueP_Handle reqQueueHandleTx
 
AASRC_ChStatus chStatus
 
AASRC_FifoErrorStatus inFifoErrorStatus
 
AASRC_FifoErrorStatus outFifoErrorStatus
 
AASRC_ChErrorCallbackFxn errCbFxn
 
uint32_t lastPlayed
 
uint32_t lastFilled
 
uint32_t lastReceived
 
uint32_t lastRecQueued
 
AASRC_DmaIcnt txDmaIcnt
 
AASRC_DmaIcnt rxDmaIcnt
 

Field Documentation

◆ drvHandle

AASRC_Handle AASRC_ChObj::drvHandle

Pointer to driver handle.

◆ isOpen

bool AASRC_ChObj::isOpen

Flag to indicate if the asrc channel is already open

◆ chState

AASRC_ChState* AASRC_ChObj::chState

Pointer to the global private structure holding channel state

◆ chCfg

AASRC_ChCfg AASRC_ChObj::chCfg

Channel configs

◆ dmaChCfg

AASRC_DmaChCfg* AASRC_ChObj::dmaChCfg

Channel dma configs, valid only in AASRC_TRANSFER_MODE_DMA

◆ rcvObj

AASRC_TransferObj AASRC_ChObj::rcvObj

Holds receive channel to the AASRC.

◆ xmtObj

AASRC_TransferObj AASRC_ChObj::xmtObj

Holds transmit channel from AASRC.

◆ transferSemObj

SemaphoreP_Object AASRC_ChObj::transferSemObj

Transfer Sync Semaphore object

◆ reqQueueObjRx

QueueP_Object AASRC_ChObj::reqQueueObjRx

Queue Objs to store the application buffers for AASRC input >

◆ reqQueueObjTx

QueueP_Object AASRC_ChObj::reqQueueObjTx

Queue Objs to store the application buffers for AASRC output >

◆ reqQueueHandleRx

QueueP_Handle AASRC_ChObj::reqQueueHandleRx

Queue handle used for storing the application buffers for AASRC input>

◆ reqQueueHandleTx

QueueP_Handle AASRC_ChObj::reqQueueHandleTx

Queue handle used for storing the application buffers for AASRC output >

◆ chStatus

AASRC_ChStatus AASRC_ChObj::chStatus

Rare ratio and upsample indicator status

◆ inFifoErrorStatus

AASRC_FifoErrorStatus AASRC_ChObj::inFifoErrorStatus

Reports infifo error status

◆ outFifoErrorStatus

AASRC_FifoErrorStatus AASRC_ChObj::outFifoErrorStatus

Reports outfifo error status

◆ errCbFxn

AASRC_ChErrorCallbackFxn AASRC_ChObj::errCbFxn

callback function provided by the app to be called by DMA or Host in case of a channel error situation. If this was set to NULL by the user, driver will try to recover from the error itself but there will be gaps or errornous samples in the output.

◆ lastPlayed

uint32_t AASRC_ChObj::lastPlayed

Last played ring element index

◆ lastFilled

uint32_t AASRC_ChObj::lastFilled

Last filled ring element index int TX

◆ lastReceived

uint32_t AASRC_ChObj::lastReceived

Last received ring element index

◆ lastRecQueued

uint32_t AASRC_ChObj::lastRecQueued

Last receive txn queued index

◆ txDmaIcnt

AASRC_DmaIcnt AASRC_ChObj::txDmaIcnt

DMA Icnt values for Tx

◆ rxDmaIcnt

AASRC_DmaIcnt AASRC_ChObj::rxDmaIcnt

DMA Icnt values for Rx