Expand description
I2S configuration
Structs§
- Config
- I2S common channel configuration.
- High
Pass Filter - PDM RX High Pass Filter
- PdmRx
ClkConfig - Pulse density modulation (PDM) mode receive clock configuration for the I2S peripheral.
- PdmRx
Config - Pulse density modulation (PDM) mode receive configuration for the I2S peripheral.
- PdmRx
Gpio Config - PDM mode GPIO (general purpose input/output) receive configuration.
- PdmRx
Slot Config - PDM mode channel receive slot configuration.
- PdmTx
ClkConfig - The I2s pulse density modulation (PDM) mode transmit clock configuration.
- PdmTx
Config - The I2S pulse density modulation (PDM) mode transmit configuration for the I2S peripheral.
- PdmTx
Gpio Config - PDM mode GPIO (general purpose input/output) transmit configuration.
- PdmTx
Slot Config - PDM mode channel transmit slot configuration.
- StdClk
Config - Standard mode channel clock configuration.
- StdConfig
- Standard mode configuration for the I2S peripheral.
- StdGpio
Config - Standard mode GPIO (general purpose input/output) configuration.
- StdSlot
Config - Standard mode channel slot configuration.
- TdmClk
Config - TDM mode channel clock configuration.
- TdmConfig
- Time-division multiplexing (TDM) mode configuration for the I2S peripheral.
- TdmGpio
Config - TDM mode GPIO (general purpose input/output) configuration.
- TdmSlot
Config - TDM mode slot configuration.
- TdmSlot
Mask - Mask of TDM slots to enable.
Enums§
- Clock
Source - I2S clock source.
- Data
BitWidth - Available data bit width in one slot.
- Mclk
Multiple - The multiple of MCLK to the sample rate.
- PdmDownsample
- I2S pulse density modulation (PDM) downsampling mode.
- PdmSignal
Scale - Pulse density modulation (PDM) transmit signal scaling mode.
- PdmSlot
Mask - I2S slot selection in PDM mode.
- PdmTx
Line Mode - I2S pulse density modulation (PDM) transmit line mode
- Role
- I2S channel operating role
- Slot
BitWidth - The total slot bit width in one slot.
- Slot
Mode - I2S channel slot mode.
- StdComm
Format - The communication format used by the v4 driver.
- StdSlot
Mask - I2S slot selection in standard mode.
- TdmSlot
- An individual TDM slot.
Constants§
- DEFAULT_
DMA_ BUFFER_ COUNT - The default number of DMA buffers to use.
- DEFAULT_
FRAMES_ PER_ DMA_ BUFFER - The default number of frames per DMA buffer.
- SOC_
I2S_ PDM_ MAX_ TX_ LINES - The maximum number of data input pins that can be used in PDM mode.
- TDM_
AUTO_ SLOT_ NUM - Automatic total number of slots, equivalent to the maximum active slot number.
- TDM_
AUTO_ WS_ WIDTH - Automatic word-select signal width, equivalent to half the width of a frame.
- TDM_
BCLK_ DIV_ MIN - The minimum division from MCLK to BCLK.