PDM initialization structure.

Public Attributes#

bool

Start PDM filter after initialization.

uint32_t

PDM down sampling rate.

uint32_t

PDM gain.

bool

Enable stereo mode for channel pair CH0 and CH1.

FIFO Data valid level water-mark.

PDM filter data output format.

uint32_t

PDM clock prescaler, resulting PDM clock is input clock / (prescaler + 1).

Public Attribute Documentation#

start#

bool PDM_Init_TypeDef::start

Start PDM filter after initialization.


Definition at line 175 of file platform/emlib/inc/em_pdm.h

dsr#

uint32_t PDM_Init_TypeDef::dsr

PDM down sampling rate.


Definition at line 179 of file platform/emlib/inc/em_pdm.h

gain#

uint32_t PDM_Init_TypeDef::gain

PDM gain.


Definition at line 180 of file platform/emlib/inc/em_pdm.h

ch1ClkPolarity#

PDM_Ch1ClkPolarity_Typedef PDM_Init_TypeDef::ch1ClkPolarity

Ch 1 clock polarity.


Definition at line 185 of file platform/emlib/inc/em_pdm.h

ch0ClkPolarity#

PDM_Ch0ClkPolarity_Typedef PDM_Init_TypeDef::ch0ClkPolarity

Ch 0 clock polarity.


Definition at line 186 of file platform/emlib/inc/em_pdm.h

enableCh0Ch1Stereo#

bool PDM_Init_TypeDef::enableCh0Ch1Stereo

Enable stereo mode for channel pair CH0 and CH1.


Definition at line 190 of file platform/emlib/inc/em_pdm.h

fifoValidWatermark#

PDM_FifoValidWatermark_Typedef PDM_Init_TypeDef::fifoValidWatermark

FIFO Data valid level water-mark.


Definition at line 191 of file platform/emlib/inc/em_pdm.h

dataFormat#

PDM_DataFormat_TypeDef PDM_Init_TypeDef::dataFormat

PDM filter data output format.


Definition at line 192 of file platform/emlib/inc/em_pdm.h

numChannels#

PDM_NumberOfChannels_TypeDef PDM_Init_TypeDef::numChannels

Number of PDM channels.


Definition at line 193 of file platform/emlib/inc/em_pdm.h

filterOrder#

PDM_FilterOrder_TypeDef PDM_Init_TypeDef::filterOrder

PDM filter order.


Definition at line 194 of file platform/emlib/inc/em_pdm.h

prescaler#

uint32_t PDM_Init_TypeDef::prescaler

PDM clock prescaler, resulting PDM clock is input clock / (prescaler + 1).


Definition at line 195 of file platform/emlib/inc/em_pdm.h