mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
migration_guide: update adc calibration api part
This commit is contained in:
parent
24b9d38a24
commit
f5c5c539a6
@ -71,6 +71,9 @@ API Changes
|
||||
- API ``hall_sensor_read`` on ESP32 has been removed. Hall sensor is no longer supported on ESP32.
|
||||
- API ``adc_set_i2s_data_source`` and ``adc_i2s_mode_init`` have been deprecated. Related enum ``adc_i2s_source_t`` has been deprecated. Please migrate to use ``esp_adc/adc_continuous.h``.
|
||||
- API ``adc_digi_filter_reset``, ``adc_digi_filter_set_config``, ``adc_digi_filter_get_config`` and ``adc_digi_filter_enable`` have been removed. These APIs behaviours are not guaranteed. Enum ``adc_digi_filter_idx_t``, ``adc_digi_filter_mode_t`` and structure ``adc_digi_iir_filter_t`` have been removed as well.
|
||||
- API ``esp_adc_cal_characterize`` has been deprecated, please migrate to ``adc_cali_create_scheme_curve_fitting`` or ``adc_cali_create_scheme_line_fitting`` instead.
|
||||
- API ``esp_adc_cal_raw_to_voltage`` has been deprecated, please migrate to ``adc_cali_raw_to_voltage`` instead.
|
||||
- API ``esp_adc_cal_get_voltage`` has been deprecated, please migrate to ``adc_oneshot_get_calibrated_result`` instead.
|
||||
|
||||
GPIO
|
||||
----
|
||||
|
@ -71,6 +71,9 @@ API 更新
|
||||
- ESP32 中的 API ``hall_sensor_read`` 已被删除,因此 ESP32 不再支持霍尔传感器。
|
||||
- API ``adc_set_i2s_data_source`` 和 ``adc_i2s_mode_init`` 已被弃用,相关的枚举 ``adc_i2s_source_t`` 也已被弃用,请使用 ``esp_adc/adc_continuous.h`` 进行迁移。
|
||||
- API ``adc_digi_filter_reset`` , ``adc_digi_filter_set_config`` , ``adc_digi_filter_get_config`` 和 ``adc_digi_filter_enable`` 已被移除. 这些接口的行为不被保证。 枚举 ``adc_digi_filter_idx_t`` , ``adc_digi_filter_mode_t`` 和结构体 ``adc_digi_iir_filter_t`` 已被移除。
|
||||
- API ``esp_adc_cal_characterize`` 已被弃用, 请迁移到 ``adc_cali_create_scheme_curve_fitting`` 或 ``adc_cali_create_scheme_line_fitting``.
|
||||
- API ``esp_adc_cal_raw_to_voltage`` 已被弃用, 请迁移到 ``adc_cali_raw_to_voltage``.
|
||||
- API ``esp_adc_cal_get_voltage`` 已被弃用, 请迁移到 ``adc_oneshot_get_calibrated_result``.
|
||||
|
||||
GPIO
|
||||
----------
|
||||
|
Loading…
Reference in New Issue
Block a user