RTEMS 6.1-rc1
|
PDM handle structure. More...
#include <fsl_pdm.h>
Data Fields | |
uint32_t | state |
pdm_transfer_callback_t | callback |
void * | userData |
pdm_transfer_t | pdmQueue [PDM_XFER_QUEUE_SIZE] |
size_t | transferSize [PDM_XFER_QUEUE_SIZE] |
volatile uint8_t | queueUser |
volatile uint8_t | queueDriver |
uint32_t | format |
uint8_t | watermark |
uint8_t | startChannel |
uint8_t | channelNums |
PDM handle structure.
pdm_transfer_callback_t _pdm_handle::callback |
Callback function called at transfer event
uint8_t _pdm_handle::channelNums |
Enabled channel number
uint32_t _pdm_handle::format |
data format
pdm_transfer_t _pdm_handle::pdmQueue[PDM_XFER_QUEUE_SIZE] |
Transfer queue storing queued transfer
volatile uint8_t _pdm_handle::queueDriver |
Index for driver to get the transfer data and size
volatile uint8_t _pdm_handle::queueUser |
Index for user to queue transfer
uint8_t _pdm_handle::startChannel |
end channel
uint32_t _pdm_handle::state |
Transfer status
size_t _pdm_handle::transferSize[PDM_XFER_QUEUE_SIZE] |
Data bytes need to transfer
void* _pdm_handle::userData |
Callback parameter passed to callback function
uint8_t _pdm_handle::watermark |
Watermark value