mirror of
https://github.com/espressif/esp-idf.git
synced 2025-12-01 14:49:29 +01:00
driver(adc): fix adc io init bug; add unit test to check;
This commit is contained in:
@@ -240,8 +240,8 @@ void adc_hal_arbiter_config(adc_arbiter_t *config);
|
||||
* @param channel adc channel number.
|
||||
* @param internal_gnd true: Disconnect from the IO port and use the internal GND as the calibration voltage.
|
||||
* false: Use IO external voltage as calibration voltage.
|
||||
* @param force_cal true: Do not use the results that have already been verified, and perform the verification again. It will take a long time.
|
||||
* false: Use the result of the last calibration.
|
||||
* @param force_cal true: Do not use the results that have already been verified, and perform the verification again. It will take a long time(~40us).
|
||||
* false: Use the result of the last calibration. Return immediately.
|
||||
*
|
||||
* @return
|
||||
* - The calibration result (initial data) to ADC, use `adc_hal_set_calibration_param` to set.
|
||||
|
||||
Reference in New Issue
Block a user