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

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

#include <fsl_pdm_sdma.h>

Data Fields

sdma_handle_t * dmaHandle
 
uint8_t nbytes
 
uint8_t fifoWidth
 
uint8_t endChannel
 
uint8_t channelNums
 
uint32_t count
 
uint32_t state
 
uint32_t eventSource
 
pdm_sdma_callback_t callback
 
void * userData
 
sdma_buffer_descriptor_t bdPool [PDM_XFER_QUEUE_SIZE]
 
pdm_transfer_t pdmQueue [PDM_XFER_QUEUE_SIZE]
 
size_t transferSize [PDM_XFER_QUEUE_SIZE]
 
volatile uint8_t queueUser
 
volatile uint8_t queueDriver
 

Detailed Description

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

Field Documentation

◆ bdPool

sdma_buffer_descriptor_t _pdm_sdma_handle::bdPool[PDM_XFER_QUEUE_SIZE]

BD pool for SDMA transfer.

◆ callback

pdm_sdma_callback_t _pdm_sdma_handle::callback

Callback for users while transfer finish or error occurs

◆ channelNums

uint8_t _pdm_sdma_handle::channelNums

total channel numbers

◆ count

uint32_t _pdm_sdma_handle::count

The transfer data count in a DMA request

◆ dmaHandle

sdma_handle_t* _pdm_sdma_handle::dmaHandle

DMA handler for PDM send

◆ endChannel

uint8_t _pdm_sdma_handle::endChannel

The last enabled channel

◆ eventSource

uint32_t _pdm_sdma_handle::eventSource

PDM event source number

◆ fifoWidth

uint8_t _pdm_sdma_handle::fifoWidth

fifo width

◆ nbytes

uint8_t _pdm_sdma_handle::nbytes

eDMA minor byte transfer count initially configured.

◆ pdmQueue

pdm_transfer_t _pdm_sdma_handle::pdmQueue[PDM_XFER_QUEUE_SIZE]

Transfer queue storing queued transfer.

◆ queueDriver

volatile uint8_t _pdm_sdma_handle::queueDriver

Index for driver to get the transfer data and size

◆ queueUser

volatile uint8_t _pdm_sdma_handle::queueUser

Index for user to queue transfer.

◆ state

uint32_t _pdm_sdma_handle::state

Internal state for PDM eDMA transfer

◆ transferSize

size_t _pdm_sdma_handle::transferSize[PDM_XFER_QUEUE_SIZE]

Data bytes need to transfer

◆ userData

void* _pdm_sdma_handle::userData

User callback parameter


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