i2s_driver_config_t struct
I2S driver configuration parameters
Fields
I2S sample bits in one channel.
I2S communication format.
Flags used to allocate the interrupt. One or multiple (ORred) ESP_INTR_FLAG_* values. See esp_intr_alloc.h for more info.
I2S using APLL as main I2S clock, enable it to get accurate clock.
I2S auto clear tx descriptor if there is underflow condition (helps in avoiding noise in case of data unavailability).
I2S using fixed MCLK output. If use_apll = true and fixed_mclk > 0, then the clock output for i2s is fixed and equal to the fixed_mclk value. If fixed_mclk set, mclk_multiple won't take effect.
The multiple of I2S master clock(MCLK) to sample rate.
I2S total bits in one channel, only take effect when larger than 'bits_per_sample', default '0' means equal to 'bits_per_sample'.
![]()
typedef struct {