RTEMS 6.1-rc1
|
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 |
SAI DMA transfer handle, users should not touch the content of the handle.
sdma_buffer_descriptor_t _sai_sdma_handle::bdPool[SAI_XFER_QUEUE_SIZE] |
BD pool for SDMA transfer.
uint8_t _sai_sdma_handle::bytesPerFrame |
Bytes in a frame
sai_sdma_callback_t _sai_sdma_handle::callback |
Callback for users while transfer finish or error occurs
uint8_t _sai_sdma_handle::channel |
start data channel
uint8_t _sai_sdma_handle::channelMask |
enabled channel mask value, refernece _sai_channel_mask
uint8_t _sai_sdma_handle::channelNums |
total transfer channel numbers, used for multififo
uint32_t _sai_sdma_handle::count |
The transfer data count in a DMA request
sdma_handle_t* _sai_sdma_handle::dmaHandle |
DMA handler for SAI send
uint32_t _sai_sdma_handle::eventSource |
SAI event source number
uint8_t _sai_sdma_handle::fifoOffset |
fifo address offset between multifo
volatile uint8_t _sai_sdma_handle::queueDriver |
Index for driver to get the transfer data and size
volatile uint8_t _sai_sdma_handle::queueUser |
Index for user to queue transfer.
sai_transfer_t _sai_sdma_handle::saiQueue[SAI_XFER_QUEUE_SIZE] |
Transfer queue storing queued transfer.
uint32_t _sai_sdma_handle::state |
Internal state for SAI SDMA transfer
size_t _sai_sdma_handle::transferSize[SAI_XFER_QUEUE_SIZE] |
Data bytes need to transfer
void* _sai_sdma_handle::userData |
User callback parameter