2017-02-16 13:59:50 +11:00
GPIO & RTC GPIO
===============
2016-10-25 12:09:05 +02:00
2022-05-31 12:19:34 +08:00
:link_to_translation:`zh_CN:[中文]`
2022-11-09 16:11:36 +08:00
GPIO Summary
------------
2016-10-26 21:08:36 +02:00
2022-11-09 16:11:36 +08:00
.. include :: gpio/{IDF_TARGET_PATH_NAME}.inc
:start-after: gpio-summary
:end-before: ---
2019-12-09 11:01:09 +08:00
2021-06-09 17:18:39 +08:00
2020-10-29 09:57:09 +08:00
.. only :: SOC_RTCIO_INPUT_OUTPUT_SUPPORTED
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:
.. list ::
2022-05-31 12:19:34 +08:00
- In Deep-sleep mode
2022-02-21 16:13:02 +05:30
:SOC_ULP_SUPPORTED: - The :doc:`Ultra Low Power co-processor <../../api-reference/system/ulp>` is running
2020-10-29 09:57:09 +08:00
- Analog functions such as ADC/DAC/etc are in use.
2016-10-26 21:08:36 +02:00
Application Example
-------------------
2022-11-09 16:11:36 +08:00
* GPIO output and input interrupt example: :example: `peripherals/gpio/generic_gpio` .
2016-11-05 17:18:25 +01:00
2017-05-02 10:36:01 +02:00
API Reference - Normal GPIO
---------------------------
2016-11-05 17:18:25 +01:00
2019-11-13 11:46:16 +08:00
.. include-build-file :: inc/gpio.inc
2020-04-28 10:52:14 +08:00
.. include-build-file :: inc/gpio_types.inc
2016-11-10 22:50:55 +01:00
2020-10-29 09:57:09 +08:00
.. only :: SOC_RTCIO_INPUT_OUTPUT_SUPPORTED
API Reference - RTC GPIO
------------------------
.. include-build-file :: inc/rtc_io.inc
.. include-build-file :: inc/rtc_io_types.inc