RTEMS 6.1-rc1
Data Fields
sai_edma_handle Struct Reference

SAI DMA transfer handle, users should not touch the content of the handle. More...

#include <fsl_sai_edma.h>

Data Fields

edma_handle_tdmaHandle
 
uint8_t nbytes
 
uint8_t bytesPerFrame
 
uint8_t channelMask
 
uint8_t channelNums
 
uint8_t channel
 
uint8_t count
 
uint32_t state
 
sai_edma_callback_t callback
 
void * userData
 
uint8_t tcd [(SAI_XFER_QUEUE_SIZE+1U) *sizeof(edma_tcd_t)]
 
sai_transfer_t saiQueue [SAI_XFER_QUEUE_SIZE]
 
size_t transferSize [SAI_XFER_QUEUE_SIZE]
 
volatile uint8_t queueUser
 
volatile uint8_t queueDriver
 

Detailed Description

SAI DMA transfer handle, users should not touch the content of the handle.

Field Documentation

◆ bytesPerFrame

uint8_t sai_edma_handle::bytesPerFrame

Bytes in a frame

◆ callback

sai_edma_callback_t sai_edma_handle::callback

Callback for users while transfer finish or error occurs

◆ channel

uint8_t sai_edma_handle::channel

Which data channel

◆ channelMask

uint8_t sai_edma_handle::channelMask

Enabled channel mask value, reference _sai_channel_mask

◆ channelNums

uint8_t sai_edma_handle::channelNums

total enabled channel nums

◆ count

uint8_t sai_edma_handle::count

The transfer data count in a DMA request

◆ dmaHandle

edma_handle_t* sai_edma_handle::dmaHandle

DMA handler for SAI send

◆ nbytes

uint8_t sai_edma_handle::nbytes

eDMA minor byte transfer count initially configured.

◆ queueDriver

volatile uint8_t sai_edma_handle::queueDriver

Index for driver to get the transfer data and size

◆ queueUser

volatile uint8_t sai_edma_handle::queueUser

Index for user to queue transfer.

◆ saiQueue

sai_transfer_t sai_edma_handle::saiQueue[SAI_XFER_QUEUE_SIZE]

Transfer queue storing queued transfer.

◆ state

uint32_t sai_edma_handle::state

Internal state for SAI eDMA transfer

◆ tcd

uint8_t sai_edma_handle::tcd[(SAI_XFER_QUEUE_SIZE+1U) *sizeof(edma_tcd_t)]

TCD pool for eDMA transfer.

◆ transferSize

size_t sai_edma_handle::transferSize[SAI_XFER_QUEUE_SIZE]

Data bytes need to transfer

◆ userData

void* sai_edma_handle::userData

User callback parameter


The documentation for this struct was generated from the following file: