RTEMS 6.1-rc6
|
SPDIF DMA transfer handle, users should not touch the content of the handle. More...
#include <fsl_spdif_edma.h>
Data Fields | |
edma_handle_t * | dmaLeftHandle |
edma_handle_t * | dmaRightHandle |
uint8_t | nbytes |
uint8_t | count |
uint32_t | state |
spdif_edma_callback_t | callback |
void * | userData |
edma_tcd_t | leftTcd [SPDIF_XFER_QUEUE_SIZE+1U] |
edma_tcd_t | rightTcd [SPDIF_XFER_QUEUE_SIZE+1U] |
spdif_edma_transfer_t | spdifQueue [SPDIF_XFER_QUEUE_SIZE] |
size_t | transferSize [SPDIF_XFER_QUEUE_SIZE] |
volatile uint8_t | queueUser |
volatile uint8_t | queueDriver |
SPDIF DMA transfer handle, users should not touch the content of the handle.
spdif_edma_callback_t _spdif_edma_handle::callback |
Callback for users while transfer finish or error occurs
uint8_t _spdif_edma_handle::count |
The transfer data count in a DMA request
edma_handle_t* _spdif_edma_handle::dmaLeftHandle |
DMA handler for SPDIF left channel
edma_handle_t* _spdif_edma_handle::dmaRightHandle |
DMA handler for SPDIF right channel
edma_tcd_t _spdif_edma_handle::leftTcd[SPDIF_XFER_QUEUE_SIZE+1U] |
TCD pool for eDMA transfer.
uint8_t _spdif_edma_handle::nbytes |
eDMA minor byte transfer count initially configured.
volatile uint8_t _spdif_edma_handle::queueDriver |
Index for driver to get the transfer data and size
volatile uint8_t _spdif_edma_handle::queueUser |
Index for user to queue transfer.
edma_tcd_t _spdif_edma_handle::rightTcd[SPDIF_XFER_QUEUE_SIZE+1U] |
TCD pool for eDMA transfer.
spdif_edma_transfer_t _spdif_edma_handle::spdifQueue[SPDIF_XFER_QUEUE_SIZE] |
Transfer queue storing queued transfer.
uint32_t _spdif_edma_handle::state |
Internal state for SPDIF eDMA transfer
size_t _spdif_edma_handle::transferSize[SPDIF_XFER_QUEUE_SIZE] |
Data bytes need to transfer, left and right are the same, so use one
void* _spdif_edma_handle::userData |
User callback parameter