SAI DMA transfer handle, users should not touch the content of the handle. More...
#include <fsl_sai_edma.h>
Public Attributes | |
uint8_t | bytesPerFrame |
sai_edma_callback_t | callback |
uint8_t | channel |
uint8_t | count |
edma_handle_t * | dmaHandle |
uint8_t | nbytes |
volatile uint8_t | queueDriver |
volatile uint8_t | queueUser |
sai_transfer_t | saiQueue [SAI_XFER_QUEUE_SIZE] |
uint32_t | state |
uint8_t | tcd [(SAI_XFER_QUEUE_SIZE+1U) *sizeof(edma_tcd_t)] |
size_t | transferSize [SAI_XFER_QUEUE_SIZE] |
void * | userData |
SAI DMA transfer handle, users should not touch the content of the handle.
Definition at line 34 of file fsl_sai_edma.h.
uint8_t sai_edma_handle::bytesPerFrame |
Bytes in a frame
Definition at line 38 of file fsl_sai_edma.h.
sai_edma_callback_t sai_edma_handle::callback |
Callback for users while transfer finish or error occurs
Definition at line 42 of file fsl_sai_edma.h.
uint8_t sai_edma_handle::channel |
Which data channel
Definition at line 39 of file fsl_sai_edma.h.
uint8_t sai_edma_handle::count |
The transfer data count in a DMA request
Definition at line 40 of file fsl_sai_edma.h.
edma_handle_t* sai_edma_handle::dmaHandle |
DMA handler for SAI send
Definition at line 36 of file fsl_sai_edma.h.
uint8_t sai_edma_handle::nbytes |
eDMA minor byte transfer count initially configured.
Definition at line 37 of file fsl_sai_edma.h.
volatile uint8_t sai_edma_handle::queueDriver |
Index for driver to get the transfer data and size
Definition at line 48 of file fsl_sai_edma.h.
volatile uint8_t sai_edma_handle::queueUser |
Index for user to queue transfer.
Definition at line 47 of file fsl_sai_edma.h.
sai_transfer_t sai_edma_handle::saiQueue[SAI_XFER_QUEUE_SIZE] |
Transfer queue storing queued transfer.
Definition at line 45 of file fsl_sai_edma.h.
uint32_t sai_edma_handle::state |
Internal state for SAI eDMA transfer
Definition at line 41 of file fsl_sai_edma.h.
uint8_t sai_edma_handle::tcd[(SAI_XFER_QUEUE_SIZE+1U) *sizeof(edma_tcd_t)] |
TCD pool for eDMA transfer.
Definition at line 44 of file fsl_sai_edma.h.
size_t sai_edma_handle::transferSize[SAI_XFER_QUEUE_SIZE] |
Data bytes need to transfer
Definition at line 46 of file fsl_sai_edma.h.
void* sai_edma_handle::userData |
User callback parameter
Definition at line 43 of file fsl_sai_edma.h.