RTEMS 6.1-rc6
Loading...
Searching...
No Matches
Data Fields
_spdif_edma_handle Struct Reference

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

#include <fsl_spdif_edma.h>

Data Fields

edma_handle_tdmaLeftHandle
 
edma_handle_tdmaRightHandle
 
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
 

Detailed Description

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

Field Documentation

◆ callback

spdif_edma_callback_t _spdif_edma_handle::callback

Callback for users while transfer finish or error occurs

◆ count

uint8_t _spdif_edma_handle::count

The transfer data count in a DMA request

◆ dmaLeftHandle

edma_handle_t* _spdif_edma_handle::dmaLeftHandle

DMA handler for SPDIF left channel

◆ dmaRightHandle

edma_handle_t* _spdif_edma_handle::dmaRightHandle

DMA handler for SPDIF right channel

◆ leftTcd

edma_tcd_t _spdif_edma_handle::leftTcd[SPDIF_XFER_QUEUE_SIZE+1U]

TCD pool for eDMA transfer.

◆ nbytes

uint8_t _spdif_edma_handle::nbytes

eDMA minor byte transfer count initially configured.

◆ queueDriver

volatile uint8_t _spdif_edma_handle::queueDriver

Index for driver to get the transfer data and size

◆ queueUser

volatile uint8_t _spdif_edma_handle::queueUser

Index for user to queue transfer.

◆ rightTcd

edma_tcd_t _spdif_edma_handle::rightTcd[SPDIF_XFER_QUEUE_SIZE+1U]

TCD pool for eDMA transfer.

◆ spdifQueue

spdif_edma_transfer_t _spdif_edma_handle::spdifQueue[SPDIF_XFER_QUEUE_SIZE]

Transfer queue storing queued transfer.

◆ state

uint32_t _spdif_edma_handle::state

Internal state for SPDIF eDMA transfer

◆ transferSize

size_t _spdif_edma_handle::transferSize[SPDIF_XFER_QUEUE_SIZE]

Data bytes need to transfer, left and right are the same, so use one

◆ userData

void* _spdif_edma_handle::userData

User callback parameter


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