esp-idf/docs/en/api-reference/peripherals/gpio.rst

43 lines
1.1 KiB
ReStructuredText
Raw Normal View History

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
------------
2022-11-09 03:11:36 -05:00
.. include:: gpio/{IDF_TARGET_PATH_NAME}.inc
:start-after: gpio-summary
:end-before: ---
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
: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.
Application Example
-------------------
2022-11-09 03:11:36 -05:00
* GPIO output and input interrupt example: :example:`peripherals/gpio/generic_gpio`.
API Reference - Normal GPIO
---------------------------
.. include-build-file:: inc/gpio.inc
.. include-build-file:: inc/gpio_types.inc
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