RTEMS 6.1-rc4
|
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 |
PDM DMA transfer handle, users should not touch the content of the handle.
sdma_buffer_descriptor_t _pdm_sdma_handle::bdPool[PDM_XFER_QUEUE_SIZE] |
BD pool for SDMA transfer.
pdm_sdma_callback_t _pdm_sdma_handle::callback |
Callback for users while transfer finish or error occurs
uint8_t _pdm_sdma_handle::channelNums |
total channel numbers
uint32_t _pdm_sdma_handle::count |
The transfer data count in a DMA request
sdma_handle_t* _pdm_sdma_handle::dmaHandle |
DMA handler for PDM send
uint8_t _pdm_sdma_handle::endChannel |
The last enabled channel
uint32_t _pdm_sdma_handle::eventSource |
PDM event source number
uint8_t _pdm_sdma_handle::fifoWidth |
fifo width
uint8_t _pdm_sdma_handle::nbytes |
eDMA minor byte transfer count initially configured.
pdm_transfer_t _pdm_sdma_handle::pdmQueue[PDM_XFER_QUEUE_SIZE] |
Transfer queue storing queued transfer.
volatile uint8_t _pdm_sdma_handle::queueDriver |
Index for driver to get the transfer data and size
volatile uint8_t _pdm_sdma_handle::queueUser |
Index for user to queue transfer.
uint32_t _pdm_sdma_handle::state |
Internal state for PDM eDMA transfer
size_t _pdm_sdma_handle::transferSize[PDM_XFER_QUEUE_SIZE] |
Data bytes need to transfer
void* _pdm_sdma_handle::userData |
User callback parameter