mirror of
https://github.com/espressif/esp-idf.git
synced 2026-08-18 06:35:35 +03:00
docs: Add some application examples to dedic_gpio
This commit is contained in:
@@ -152,12 +152,18 @@ GPIO 捆绑包操作
|
||||
|
||||
|
||||
应用示例
|
||||
-------------------
|
||||
--------
|
||||
|
||||
.. list::
|
||||
|
||||
* 通过汇编代码使用专用的 CPU 指令来操作 GPIO 以模拟 UART/I2C/SPI 协议(Bit Banging) :example:`peripherals/dedicated_gpio`.
|
||||
:SOC_DEDIC_GPIO_HAS_INTERRUPT: * 基于专用 GPIO 驱动的矩阵键盘::example:`peripherals/gpio/matrix_keyboard`.
|
||||
:SOC_DEDIC_GPIO_HAS_INTERRUPT: * :example:`peripherals/gpio/matrix_keyboard` 演示了如何使用专用 GPIO API 驱动矩阵键盘,例如改变 GPIO 的电平、触发边缘中断以及读取 GPIO 的电平。
|
||||
* :example:`peripherals/dedicated_gpio/soft_i2c` 演示了如何配置和使用专用/快速 GPIO 来模拟 I2C 主机设备、执行总线上的读写操作、以及通过将某些函数放在 IRAM 中来满足严格的时序要求。
|
||||
* :example:`peripherals/dedicated_gpio/soft_uart` 演示了如何使用专用/快速 GPIO 在 {IDF_TARGET_NAME} 上模拟 UART 总线。可以通过 TX 管脚和 RX 管脚在 UART 总线上发送和接收字符,还可以通过 `menuconfig` 来调整波特率和其他配置。
|
||||
|
||||
.. only:: esp32c2 or esp32c3 or esp32c6 or esp32h2 or esp32p4
|
||||
|
||||
* :example:`peripherals/dedicated_gpio/soft_spi` 演示了如何配置和使用专用/快速 GPIO,在 {IDF_TARGET_NAME} 上模拟全双工 SPI 总线。
|
||||
|
||||
|
||||
API 参考
|
||||
|
||||
Reference in New Issue
Block a user