PDM initialization structure.

Public Attributes#

bool

Start PDM filter after initialization.

bool

Enable PDM clock.

uint32_t

PDM down sampling rate.

uint32_t

PDM gain.

bool

Enable stereo mode for channel pair CH2 and CH3.

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

outClkEn#

bool PDM_Init_TypeDef::outClkEn

Enable PDM clock.


Definition at line 177 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

ch3ClkPolarity#

PDM_Ch3ClkPolarity_Typedef PDM_Init_TypeDef::ch3ClkPolarity

Ch 3 clock polarity.


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

ch2ClkPolarity#

PDM_Ch2ClkPolarity_Typedef PDM_Init_TypeDef::ch2ClkPolarity

Ch 2 clock polarity.


Definition at line 183 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

enableCh2Ch3Stereo#

bool PDM_Init_TypeDef::enableCh2Ch3Stereo

Enable stereo mode for channel pair CH2 and CH3.


Definition at line 188 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