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