Skip to content

Commit 251e977

Browse files
authored
fix: Unintuitive config documentations for ES8311
1 parent 537a345 commit 251e977

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/components/audio_dac/es8311.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ audio_dac:
2626
- **bits_per_sample** (*Optional*, enum): The bit depth of the audio samples. One of `16bit`, `24bit`, or `32bit`. Defaults to `16bit`.
2727
- **sample_rate** (*Optional*, positive integer): I2S sample rate. Defaults to `16000`.
2828
- **use_mclk** (*Optional*, bool): Use the MCLK signal to control the clock. Defaults to `True`.
29-
- **use_microphone** (*Optional*, bool): Configure the codec's ADC for microphone input. Defaults to `False`.
30-
- **mic_gain** (*Optional*, enum): The gain applied to the ADC microphones. One of `MIN`, `0DB`, `6DB`, `12DB`, `18DB`, `24DB`, `30DB`, `36DB`, `42DB`, or `MAX`. Defaults to `42DB`.
29+
- **use_microphone** (*Optional*, bool): Configure the codec's ADC for microphone input to use PDM instead of analog input. Defaults to `False`.
30+
- **mic_gain** (*Optional*, enum): The gain applied to the ADC microphones. One of `0DB`, `6DB`, `12DB`, `18DB`, `24DB`, `30DB`, `36DB` or `42DB`. Defaults to `42DB`.
3131
- **address** (*Optional*, int): The I²C address of the driver. Defaults to `0x18`.
3232
- **i2c_id** (*Optional*): The ID of the [I²C bus](/components/i2c) the ES8311 is connected to.
3333
- All other options from [Audio DAC](/components/audio_dac#config-audio_dac).

0 commit comments

Comments
 (0)