mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
change(adc): updated adc programming guide atten link
This commit is contained in:
parent
6219d5e7d4
commit
257fda87c0
@ -277,7 +277,7 @@ where:
|
|||||||
* - Dout
|
* - Dout
|
||||||
- ADC raw digital reading result.
|
- ADC raw digital reading result.
|
||||||
* - Vmax
|
* - Vmax
|
||||||
- Maximum measurable input analog voltage, this is related to the ADC attenuation, please refer to the On-Chip Sensor and Analog Signal Processing chapter in `TRM <{IDF_TARGET_TRM_EN_URL}>`__.
|
- Maximum measurable input analog voltage, this is related to the ADC attenuation, please refer to the On-Chip Sensor and Analog Signal Processing chapter in `Datasheet <{IDF_TARGET_DATASHEET_EN_URL}>`__.
|
||||||
* - Dmax
|
* - Dmax
|
||||||
- Maximum of the output ADC raw digital reading result, which is 2^bitwidth, where the bitwidth is the :cpp:member:`adc_digi_pattern_config_t::bit_width` configured before.
|
- Maximum of the output ADC raw digital reading result, which is 2^bitwidth, where the bitwidth is the :cpp:member:`adc_digi_pattern_config_t::bit_width` configured before.
|
||||||
|
|
||||||
|
@ -86,7 +86,7 @@ Unit Configuration
|
|||||||
|
|
||||||
After an ADC instance is created, set up the :cpp:type:`adc_oneshot_chan_cfg_t` to configure ADC IOs to measure analog signal:
|
After an ADC instance is created, set up the :cpp:type:`adc_oneshot_chan_cfg_t` to configure ADC IOs to measure analog signal:
|
||||||
|
|
||||||
- :cpp:member:`adc_oneshot_chan_cfg_t::atten`, ADC attenuation. Refer to `TRM <{IDF_TARGET_TRM_EN_URL}>`__ > ``On-Chip Sensor and Analog Signal Processing``.
|
- :cpp:member:`adc_oneshot_chan_cfg_t::atten`, ADC attenuation. Refer to `Datasheet <{IDF_TARGET_DATASHEET_EN_URL}>`__ > ``ADC Characteristics``.
|
||||||
- :cpp:member:`adc_oneshot_chan_cfg_t::bitwidth`, the bitwidth of the raw conversion result.
|
- :cpp:member:`adc_oneshot_chan_cfg_t::bitwidth`, the bitwidth of the raw conversion result.
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
@ -165,7 +165,7 @@ ADC 连续转换模式驱动基于 {IDF_TARGET_NAME} SAR ADC 模块实现,不
|
|||||||
|
|
||||||
按照以下步骤设置 :cpp:type:`adc_digi_pattern_config_t`:
|
按照以下步骤设置 :cpp:type:`adc_digi_pattern_config_t`:
|
||||||
|
|
||||||
- :cpp:member:`adc_digi_pattern_config_t::atten`:ADC 衰减。请参阅 `技术参考手册 <{IDF_TARGET_TRM_CN_URL}#sensor>`__ 中的片上传感器与模拟信号处理章节。
|
- :cpp:member:`adc_digi_pattern_config_t::atten`:ADC 衰减。请参阅 `技术规格书 <{IDF_TARGET_DATASHEET_CN_URL}#sensor>`__ 中的 ``ADC 特性`` 章节。
|
||||||
- :cpp:member:`adc_digi_pattern_config_t::channel`:IO 对应的 ADC 通道号,请参阅下文注意事项。
|
- :cpp:member:`adc_digi_pattern_config_t::channel`:IO 对应的 ADC 通道号,请参阅下文注意事项。
|
||||||
- :cpp:member:`adc_digi_pattern_config_t::unit`:IO 所属的 ADC 单元。
|
- :cpp:member:`adc_digi_pattern_config_t::unit`:IO 所属的 ADC 单元。
|
||||||
- :cpp:member:`adc_digi_pattern_config_t::bit_width`:原始转换结果的位宽。
|
- :cpp:member:`adc_digi_pattern_config_t::bit_width`:原始转换结果的位宽。
|
||||||
|
@ -86,7 +86,7 @@ ADC 单次转换模式驱动基于 {IDF_TARGET_NAME} SAR ADC 模块实现,不
|
|||||||
|
|
||||||
创建 ADC 单元实例后,请设置 :cpp:type:`adc_oneshot_chan_cfg_t` 配置 ADC IO 以测量模拟信号,具体如下:
|
创建 ADC 单元实例后,请设置 :cpp:type:`adc_oneshot_chan_cfg_t` 配置 ADC IO 以测量模拟信号,具体如下:
|
||||||
|
|
||||||
- :cpp:member:`adc_oneshot_chan_cfg_t::atten`,ADC 衰减。请参阅 `技术参考手册 <{IDF_TARGET_TRM_CN_URL}>`__ > ``片上传感器与模拟信号处理``。
|
- :cpp:member:`adc_oneshot_chan_cfg_t::atten`,ADC 衰减。请参阅 `技术规格书 <{IDF_TARGET_DATASHEET_CN_URL}>`__ > ``ADC 特性``。
|
||||||
- :cpp:member:`adc_oneshot_chan_cfg_t::bitwidth`,原始转换结果的位宽。
|
- :cpp:member:`adc_oneshot_chan_cfg_t::bitwidth`,原始转换结果的位宽。
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
Loading…
Reference in New Issue
Block a user