Merge branch 'docs/update_application_examples_of_pcnt' into 'master'

docs: Update the application examples in pcnt.rst

See merge request espressif/esp-idf!32638
This commit is contained in:
Zhang Shu Xian 2024-08-13 11:19:55 +08:00
commit b5bfd3919e
2 changed files with 3 additions and 3 deletions

View File

@ -383,7 +383,7 @@ Kconfig Options
Application Examples
--------------------
* Decode the quadrature signals from rotary encoder: :example:`peripherals/pcnt/rotary_encoder`.
* :example:`peripherals/pcnt/rotary_encoder` demonstrates how to use the PCNT peripheral to decode the differential signals generated from a common rotary encoder, EC11, and how to configure the rotary encoder to wake the system from light-sleep.
API Reference

View File

@ -380,10 +380,10 @@ Konfig 选项 :ref:`CONFIG_PCNT_ISR_IRAM_SAFE` 可以实现以下功能:
- :ref:`CONFIG_PCNT_ISR_IRAM_SAFE` 用于控制当缓存禁用时,默认的 ISR 句柄是否可以工作,请参考 :ref:`pcnt-iram-safe` 获取更多信息。
- :ref:`CONFIG_PCNT_ENABLE_DEBUG_LOG` 用于使能调试日志输出,而这会增大固件二进制文件。
应用
应用
------------
* 对旋转编码器的正交信号进行解码的实例请参考::example:`peripherals/pcnt/rotary_encoder`
* :example:`peripherals/pcnt/rotary_encoder` 演示了如何使用 PCNT 外设来解码由常见的旋转编码器 EC11 生成的差分信号,以及如何配置旋转编码器将系统从 light-sleep 状态唤醒
API 参考