PDM_Init_TypeDef Struct ReferenceEMLIB > PDM

PDM initialization structure.

Definition at line 179 of file em_pdm.h .

#include < em_pdm.h >

Data Fields

PDM_Ch0ClkPolarity_Typedef ch0ClkPolarity
PDM_Ch1ClkPolarity_Typedef ch1ClkPolarity
PDM_DataFormat_TypeDef dataFormat
uint32_t dsr
bool enableCh0Ch1Stereo
PDM_FifoValidWatermark_Typedef fifoValidWatermark
PDM_FilterOrder_TypeDef filterOrder
uint32_t gain
PDM_NumberOfChannels_TypeDef numChannels
uint32_t prescaler
bool start

Field Documentation

PDM_Ch0ClkPolarity_Typedef PDM_Init_TypeDef::ch0ClkPolarity

Ch 0 clock polarity.

Definition at line 191 of file em_pdm.h .

Referenced by PDM_Init() .

PDM_Ch1ClkPolarity_Typedef PDM_Init_TypeDef::ch1ClkPolarity

Ch 1 clock polarity.

Definition at line 190 of file em_pdm.h .

Referenced by PDM_Init() .

PDM_DataFormat_TypeDef PDM_Init_TypeDef::dataFormat

PDM filter data output format.

Definition at line 197 of file em_pdm.h .

Referenced by PDM_Init() .

uint32_t PDM_Init_TypeDef::dsr

PDM down sampling rate.

Definition at line 184 of file em_pdm.h .

Referenced by PDM_Init() .

bool PDM_Init_TypeDef::enableCh0Ch1Stereo

Enable stereo mode for channel pair CH0 and CH1.

Definition at line 195 of file em_pdm.h .

Referenced by PDM_Init() .

PDM_FifoValidWatermark_Typedef PDM_Init_TypeDef::fifoValidWatermark

FIFO Data valid level water-mark.

Definition at line 196 of file em_pdm.h .

Referenced by PDM_Init() .

PDM_FilterOrder_TypeDef PDM_Init_TypeDef::filterOrder

PDM filter order.

Definition at line 199 of file em_pdm.h .

Referenced by PDM_Init() .

uint32_t PDM_Init_TypeDef::gain

PDM gain.

Definition at line 185 of file em_pdm.h .

Referenced by PDM_Init() .

PDM_NumberOfChannels_TypeDef PDM_Init_TypeDef::numChannels

Number of PDM channels.

Definition at line 198 of file em_pdm.h .

Referenced by PDM_Init() .

uint32_t PDM_Init_TypeDef::prescaler

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

Definition at line 200 of file em_pdm.h .

Referenced by PDM_Init() .

bool PDM_Init_TypeDef::start

Start PDM filter after initialization.

Definition at line 180 of file em_pdm.h .

Referenced by PDM_Init() .


The documentation for this struct was generated from the following file:
  • C:/repos/super/platform/emlib/inc/ em_pdm.h