Merge branch 'docs/update_application_examples_of_gpio' into 'master'

docs: Update the application examples in gpio.rst

See merge request espressif/esp-idf!32652
This commit is contained in:
morris 2024-08-26 11:52:20 +08:00
commit 227e35ae58
2 changed files with 10 additions and 2 deletions

View File

@ -145,7 +145,11 @@ Do not rely on the default configurations values in the Technical Reference Manu
Application Example
-------------------
* GPIO output and input interrupt example: :example:`peripherals/gpio/generic_gpio`.
.. list::
* :example:`peripherals/gpio/generic_gpio` demonstrates how to configure GPIO to generate pulses and use it with interruption.
:esp32s2: * :example:`peripherals/gpio/matrix_keyboard` demonstrates how to drive a common matrix keyboard using the dedicated GPIO APIs, including manipulating the level on a group of GPIOs, triggering edge interrupt, and reading level on a group of GPIOs.
API Reference - Normal GPIO
---------------------------

View File

@ -145,7 +145,11 @@ GPIO 驱动提供了一个函数 :cpp:func:`gpio_dump_io_configuration` 用来
应用示例
-------------------
* GPIO 输出和输入中断示例::example:`peripherals/gpio/generic_gpio`
.. list::
* :example:`peripherals/gpio/generic_gpio` 演示了如何配置 GPIO 以生成脉冲,触发中断。
:esp32s2: * :example:`peripherals/gpio/matrix_keyboard` 演示了如何使用专用 GPIO API 驱动常见的矩阵键盘,包括控制一组 GPIO 的电平、触发边沿中断以及读取一组 GPIO 的电平。
API 参考 - 普通 GPIO
---------------------------