RTEMS 6.1-rc1
|
SAI DMA transfer handle, users should not touch the content of the handle. More...
#include <fsl_sai_edma.h>
Data Fields | |
edma_handle_t * | dmaHandle |
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 |
SAI DMA transfer handle, users should not touch the content of the handle.
uint8_t sai_edma_handle::bytesPerFrame |
Bytes in a frame
sai_edma_callback_t sai_edma_handle::callback |
Callback for users while transfer finish or error occurs
uint8_t sai_edma_handle::channel |
Which data channel
uint8_t sai_edma_handle::channelMask |
Enabled channel mask value, reference _sai_channel_mask
uint8_t sai_edma_handle::channelNums |
total enabled channel nums
uint8_t sai_edma_handle::count |
The transfer data count in a DMA request
edma_handle_t* sai_edma_handle::dmaHandle |
DMA handler for SAI send
uint8_t sai_edma_handle::nbytes |
eDMA minor byte transfer count initially configured.
volatile uint8_t sai_edma_handle::queueDriver |
Index for driver to get the transfer data and size
volatile uint8_t sai_edma_handle::queueUser |
Index for user to queue transfer.
sai_transfer_t sai_edma_handle::saiQueue[SAI_XFER_QUEUE_SIZE] |
Transfer queue storing queued transfer.
uint32_t sai_edma_handle::state |
Internal state for SAI eDMA transfer
uint8_t sai_edma_handle::tcd[(SAI_XFER_QUEUE_SIZE+1U) *sizeof(edma_tcd_t)] |
TCD pool for eDMA transfer.
size_t sai_edma_handle::transferSize[SAI_XFER_QUEUE_SIZE] |
Data bytes need to transfer
void* sai_edma_handle::userData |
User callback parameter