bugfix(adc): missing ranges of ADC codes in ESP32

This commit is contained in:
fuzhibo
2020-09-18 18:31:52 +08:00
committed by bot
parent ff4d82c7d2
commit 9cd5e6f8c9
6 changed files with 89 additions and 51 deletions

View File

@@ -299,6 +299,7 @@ float i2s_get_clk(i2s_port_t i2s_num);
/**
* @brief Set built-in ADC mode for I2S DMA, this function will initialize ADC pad,
* and set ADC parameters.
* @note In this mode, the ADC maximum sampling rate is 150KHz. Set the sampling rate through ``i2s_config_t``.
* @param adc_unit SAR ADC unit index
* @param adc_channel ADC channel index
* @return