gpio.rst 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. GPIO & RTC GPIO
  2. ===============
  3. :link_to_translation:`zh_CN:[中文]`
  4. GPIO Summary
  5. ------------
  6. .. include:: gpio/{IDF_TARGET_PATH_NAME}.inc
  7. :start-after: gpio-summary
  8. :end-before: ---
  9. .. only:: SOC_RTCIO_INPUT_OUTPUT_SUPPORTED
  10. There is also separate "RTC GPIO" support, which functions when GPIOs are routed to the "RTC" low-power and analog subsystem. These pin functions can be used when:
  11. .. list::
  12. - In Deep-sleep mode
  13. :SOC_ULP_SUPPORTED: - The :doc:`Ultra Low Power co-processor <../../api-reference/system/ulp>` is running
  14. - Analog functions such as ADC/DAC/etc are in use.
  15. Application Example
  16. -------------------
  17. * GPIO output and input interrupt example: :example:`peripherals/gpio/generic_gpio`.
  18. API Reference - Normal GPIO
  19. ---------------------------
  20. .. include-build-file:: inc/gpio.inc
  21. .. include-build-file:: inc/gpio_types.inc
  22. .. only:: SOC_RTCIO_INPUT_OUTPUT_SUPPORTED
  23. API Reference - RTC GPIO
  24. ------------------------
  25. .. include-build-file:: inc/rtc_io.inc
  26. .. include-build-file:: inc/rtc_io_types.inc