mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-29 18:27:20 +02:00
docs(adc): add ADC calibration docs on ESP32P4
This commit is contained in:
@ -7,7 +7,6 @@ api-guides/esp-wifi-mesh.rst
|
||||
api-guides/wifi-security.rst
|
||||
api-reference/peripherals/touch_element.rst
|
||||
api-reference/peripherals/touch_pad.rst
|
||||
api-reference/peripherals/adc_calibration.rst
|
||||
api-reference/peripherals/parlio.rst
|
||||
api-reference/peripherals/sd_pullup_requirements.rst
|
||||
api-reference/network/esp_dpp.rst
|
||||
|
@ -82,7 +82,7 @@ If you use your custom ADC calibration schemes, you could either modify this fun
|
||||
ESP_ERROR_CHECK(adc_cali_delete_scheme_line_fitting(handle));
|
||||
|
||||
|
||||
.. only:: esp32c3 or esp32s3 or esp32c6 or esp32h2
|
||||
.. only:: esp32c3 or esp32s3 or esp32c6 or esp32h2 or esp32p4
|
||||
|
||||
ADC Calibration Curve Fitting Scheme
|
||||
````````````````````````````````````
|
||||
@ -97,7 +97,7 @@ If you use your custom ADC calibration schemes, you could either modify this fun
|
||||
- :cpp:member:`adc_cali_curve_fitting_config_t::atten`, ADC attenuation that your ADC raw results use.
|
||||
- :cpp:member:`adc_cali_curve_fitting_config_t::bitwidth`, bit width of ADC raw result.
|
||||
|
||||
.. only:: esp32c6 or esp32h2
|
||||
.. only:: esp32c6 or esp32h2 or esp32p4
|
||||
|
||||
- :cpp:member:`adc_cali_curve_fitting_config_t::unit_id`, the ADC that your ADC raw results are from.
|
||||
- :cpp:member:`adc_cali_curve_fitting_config_t::chan`, the ADC channel that your ADC raw results are from. The calibration scheme not only differs by attenuation but is also related to the channels.
|
||||
|
@ -82,7 +82,7 @@ ADC 校准驱动程序会提供 ADC 校准方案。对于驱动程序来说,
|
||||
ESP_ERROR_CHECK(adc_cali_delete_scheme_line_fitting(handle));
|
||||
|
||||
|
||||
.. only:: esp32c3 or esp32s3 or esp32c6 or esp32h2
|
||||
.. only:: esp32c3 or esp32s3 or esp32c6 or esp32h2 or esp32p4
|
||||
|
||||
ADC 校准曲线拟合方案
|
||||
````````````````````````````````````
|
||||
@ -97,7 +97,7 @@ ADC 校准驱动程序会提供 ADC 校准方案。对于驱动程序来说,
|
||||
- :cpp:member:`adc_cali_curve_fitting_config_t::atten`,表示 ADC 原始结果的衰减程度。
|
||||
- :cpp:member:`adc_cali_curve_fitting_config_t::bitwidth`,表示 ADC 原始结果的位宽。
|
||||
|
||||
.. only:: esp32c6 or esp32h2
|
||||
.. only:: esp32c6 or esp32h2 or esp32p4
|
||||
|
||||
- :cpp:member:`adc_cali_curve_fitting_config_t::unit_id`,表示 ADC 原始结果来自哪个 ADC 单元。
|
||||
- :cpp:member:`adc_cali_curve_fitting_config_t::chan`,表示获取 ADC 原始结果的 ADC 通道。校准方案不仅因衰减程度而异,还与通道选择有关。
|
||||
|
Reference in New Issue
Block a user