Skip to main content

Module pdm

Module pdm 

Source
Expand description

PDM (pulse-density modulation) configuration for the I2S master driver.

Default configurations and clock calculations follow Espressif’s I2S PDM driver (https://github.com/espressif/esp-idf/tree/master/components/esp_driver_i2s).

Structs§

PdmConfig
PDM mode configuration (simplex TX and/or RX).
PdmRxClockConfig
PDM RX clock configuration.
PdmRxConfig
Full PDM RX unit configuration.
PdmRxSlotConfig
PDM RX slot configuration.
PdmSlotMask
Active PDM slot selection.
PdmTxClockConfig
PDM TX clock configuration.
PdmTxConfig
Full PDM TX unit configuration.
PdmTxSlotConfig
PDM TX slot / filter configuration.

Enums§

PdmDataFormat
PDM data format: PCM samples in software vs raw PDM bitstream.
PdmDownsampleRate
PDM RX downsample rate (PDM2PCM path).
PdmError
PDM configuration errors.
PdmSigScaling
PDM TX sigma-delta filter scaling.
PdmSlotMode
Mono or stereo slot mode (fixed two hardware slots).
PdmTxLineMode
PDM TX line routing (HW v2+).

Traits§

PdmInstance
A peripheral singleton that supports PDM mode.