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).
- PdmRx
Clock Config - PDM RX clock configuration.
- PdmRx
Config - Full PDM RX unit configuration.
- PdmRx
Slot Config - PDM RX slot configuration.
- PdmSlot
Mask - Active PDM slot selection.
- PdmTx
Clock Config - PDM TX clock configuration.
- PdmTx
Config - Full PDM TX unit configuration.
- PdmTx
Slot Config - PDM TX slot / filter configuration.
Enums§
- PdmData
Format - PDM data format: PCM samples in software vs raw PDM bitstream.
- PdmDownsample
Rate - PDM RX downsample rate (PDM2PCM path).
- PdmError
- PDM configuration errors.
- PdmSig
Scaling - PDM TX sigma-delta filter scaling.
- PdmSlot
Mode - Mono or stereo slot mode (fixed two hardware slots).
- PdmTx
Line Mode - PDM TX line routing (HW v2+).
Traits§
- PdmInstance
- A peripheral singleton that supports PDM mode.