Commit Graph

6 Commits

Author SHA1 Message Date
morris
f58f8116de Merge branch 'feature/adc_calibration_c2_v5.0' into 'release/v5.0'
esp_adc: support adc calibration on esp32c2 (v5.0)

See merge request espressif/esp-idf!22382
2023-02-20 14:13:23 +08:00
Armando
22431bc41b doc: make adc wifi hardware limitation visible on esp32 2023-02-20 10:34:34 +08:00
Marius Vikhammer
55c2ac7b96 docs: fix rst external links with wrong format 2023-02-13 12:05:21 +08:00
Armando
bb074904b4 adc: no longer support adc2 oneshot mode on esp32c3
Due to HW limitation, we don't support this anymore. On c3, ADC2 under oneshot mode is not stable.

However, you can enable CONFIG_ADC_ONESHOT_FORCE_USE_ADC2_ON_C3 to force use
ADC2.

Refer to errata to know more details:
https://www.espressif.com/sites/default/files/documentation/esp32-s3_errata_en.pdf
https://www.espressif.com/sites/default/files/documentation/esp32-c3_errata_en.pdf
2022-12-16 12:07:38 +08:00
Armando
81007ee4ed esp_adc: add adc ulp mode disable enum
Prior to this commit, adc ulp is disabled by setting
adc_oneshot_unit_init_cfg_t::ulp_mode to false.

After this commit, a new enum `ADC_ULP_MODE_DISABLE` is added. So
setting `ulp_mode` to `ADC_ULP_MODE_DISABLE`, instead of `false`, to
disable the ulp mode.
2022-08-23 10:48:15 +08:00
Armando
5b523a3313 esp_adc: new esp_adc component and adc drivers 2022-07-15 18:31:00 +08:00