RTEMS 6.1-rc4
Loading...
Searching...
No Matches
Data Fields
_sai_sdma_handle Struct Reference

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

#include <fsl_sai_sdma.h>

Data Fields

sdma_handle_t * dmaHandle
 
uint8_t bytesPerFrame
 
uint8_t channel
 
uint8_t channelNums
 
uint8_t channelMask
 
uint8_t fifoOffset
 
uint32_t count
 
uint32_t state
 
uint32_t eventSource
 
sai_sdma_callback_t callback
 
void * userData
 
sdma_buffer_descriptor_t bdPool [SAI_XFER_QUEUE_SIZE]
 
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

◆ bdPool

sdma_buffer_descriptor_t _sai_sdma_handle::bdPool[SAI_XFER_QUEUE_SIZE]

BD pool for SDMA transfer.

◆ bytesPerFrame

uint8_t _sai_sdma_handle::bytesPerFrame

Bytes in a frame

◆ callback

sai_sdma_callback_t _sai_sdma_handle::callback

Callback for users while transfer finish or error occurs

◆ channel

uint8_t _sai_sdma_handle::channel

start data channel

◆ channelMask

uint8_t _sai_sdma_handle::channelMask

enabled channel mask value, refernece _sai_channel_mask

◆ channelNums

uint8_t _sai_sdma_handle::channelNums

total transfer channel numbers, used for multififo

◆ count

uint32_t _sai_sdma_handle::count

The transfer data count in a DMA request

◆ dmaHandle

sdma_handle_t* _sai_sdma_handle::dmaHandle

DMA handler for SAI send

◆ eventSource

uint32_t _sai_sdma_handle::eventSource

SAI event source number

◆ fifoOffset

uint8_t _sai_sdma_handle::fifoOffset

fifo address offset between multifo

◆ queueDriver

volatile uint8_t _sai_sdma_handle::queueDriver

Index for driver to get the transfer data and size

◆ queueUser

volatile uint8_t _sai_sdma_handle::queueUser

Index for user to queue transfer.

◆ saiQueue

sai_transfer_t _sai_sdma_handle::saiQueue[SAI_XFER_QUEUE_SIZE]

Transfer queue storing queued transfer.

◆ state

uint32_t _sai_sdma_handle::state

Internal state for SAI SDMA transfer

◆ transferSize

size_t _sai_sdma_handle::transferSize[SAI_XFER_QUEUE_SIZE]

Data bytes need to transfer

◆ userData

void* _sai_sdma_handle::userData

User callback parameter


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