AM62x MCU+ SDK  10.01.00
MCASP_TransferObj Struct Reference

Detailed Description

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_Transactiontransaction
 
MCASP_TxCallbackFxn cbFxn
 
MCASP_Transaction txnLoopjob
 
uint32_t loopjobEnable
 

Field Documentation

◆ inProgress

uint32_t MCASP_TransferObj::inProgress

Flag to indicate if the transfer is ongoing

◆ state

uint32_t MCASP_TransferObj::state

MCASP Transfer State

◆ status

int32_t MCASP_TransferObj::status

MCASP_Transfer Status

◆ count

uint32_t MCASP_TransferObj::count

MCASP Transfer count

◆ slotCount

uint8_t MCASP_TransferObj::slotCount

number of slots in transaction

◆ slotIndex

uint8_t MCASP_TransferObj::slotIndex

current slot index in ongoing transfer

◆ frameCount

uint8_t MCASP_TransferObj::frameCount

number of frames in transaction

◆ frameIndex

uint8_t MCASP_TransferObj::frameIndex

current frame index in ongoing transfer

◆ serCount

uint8_t MCASP_TransferObj::serCount

Number of allocated serializers

◆ serArray

uint8_t* MCASP_TransferObj::serArray

Pointer to the array of allocated serializer indices

◆ bufferFormat

uint8_t MCASP_TransferObj::bufferFormat

Audio buffer format for app buffer

◆ transaction

MCASP_Transaction* MCASP_TransferObj::transaction

Pointer to current transaction struct

◆ cbFxn

MCASP_TxCallbackFxn MCASP_TransferObj::cbFxn

callback function provided by the app to be called by DMA or Host Audio buffer format for app buffer

◆ txnLoopjob

MCASP_Transaction MCASP_TransferObj::txnLoopjob

transaction struct object for loopjob buffer

◆ loopjobEnable

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.