RTEMS 6.1-rc2
Loading...
Searching...
No Matches
Data Fields
_pdm_handle Struct Reference

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
 

Detailed Description

PDM handle structure.

Field Documentation

◆ callback

pdm_transfer_callback_t _pdm_handle::callback

Callback function called at transfer event

◆ channelNums

uint8_t _pdm_handle::channelNums

Enabled channel number

◆ format

uint32_t _pdm_handle::format

data format

◆ pdmQueue

pdm_transfer_t _pdm_handle::pdmQueue[PDM_XFER_QUEUE_SIZE]

Transfer queue storing queued transfer

◆ queueDriver

volatile uint8_t _pdm_handle::queueDriver

Index for driver to get the transfer data and size

◆ queueUser

volatile uint8_t _pdm_handle::queueUser

Index for user to queue transfer

◆ startChannel

uint8_t _pdm_handle::startChannel

end channel

◆ state

uint32_t _pdm_handle::state

Transfer status

◆ transferSize

size_t _pdm_handle::transferSize[PDM_XFER_QUEUE_SIZE]

Data bytes need to transfer

◆ userData

void* _pdm_handle::userData

Callback parameter passed to callback function

◆ watermark

uint8_t _pdm_handle::watermark

Watermark value


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