change(adc): updated adc programming guide atten link

This commit is contained in:
Armando 2024-08-06 12:05:13 +08:00 committed by Armando (Dou Yiwen)
parent 6219d5e7d4
commit 257fda87c0
4 changed files with 4 additions and 4 deletions

View File

@ -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.

View File

@ -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::

View File

@ -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`:原始转换结果的位宽。

View File

@ -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::