Merge branch 'doc/fix_ext1_wakeup_cause' into 'master'

docs(sleep_mode): updated ext1 wakeup status

Closes IDF-9459 and IDF-9454

See merge request espressif/esp-idf!39968
This commit is contained in:
Kevin (Lao Kaiyao)
2025-06-20 11:00:14 +08:00
3 changed files with 4 additions and 7 deletions

View File

@ -20,8 +20,6 @@ api-reference/storage/mass_mfg.rst
api-reference/storage/fatfsgen.rst
api-reference/storage/index.rst
api-reference/storage/nvs_partition_parse.rst
api-reference/peripherals/touch_pad.rst
api-reference/peripherals/index.rst
api-reference/peripherals/ecdsa.rst
api-reference/network/esp_openthread.rst
api-reference/network/esp_dpp.rst
@ -32,7 +30,6 @@ api-reference/network/esp_nan.rst
api-reference/network/esp_wifi.rst
api-reference/network/index.rst
api-reference/system/sleep_modes.rst
api-reference/system/async_memcpy.rst
api-reference/system/power_management.rst
api-reference/system/inc/power_management_esp32c5.rst
api-reference/index.rst

View File

@ -273,7 +273,7 @@ RTC peripherals or RTC memories do not need to be powered on during sleep in thi
ULP Coprocessor Wakeup
^^^^^^^^^^^^^^^^^^^^^^
ULP coprocessor can run while the chip is in sleep mode, and may be used to poll sensors, monitor ADC or touch sensor values, and wake up the chip when a specific event is detected. ULP coprocessor is part of the RTC peripherals power domain, and it runs the program stored in RTC SLOW memory. RTC SLOW memory will be powered on during sleep if this wakeup mode is requested. RTC peripherals will be automatically powered on before ULP coprocessor starts running the program; once the program stops running, RTC peripherals are automatically powered down again.
ULP coprocessor can run while the chip is in sleep mode, and may be used to poll sensors, monitor ADC or GPIO states, and wake up the chip when a specific event is detected. ULP coprocessor is part of the RTC peripherals power domain, and it runs the program stored in RTC SLOW memory. RTC SLOW memory will be powered on during sleep if this wakeup mode is requested. RTC peripherals will be automatically powered on before ULP coprocessor starts running the program; once the program stops running, RTC peripherals are automatically powered down again.
.. only:: esp32
@ -472,7 +472,7 @@ Checking Sleep Wakeup Cause
.. only:: SOC_PM_SUPPORT_EXT1_WAKEUP
For ext1 wakeup sources, it is possible to identify which touch pin has caused wakeup using :cpp:func:`esp_sleep_get_ext1_wakeup_status` functions.
For ext1 wakeup sources, it is possible to identify which GPIO has caused wakeup using :cpp:func:`esp_sleep_get_ext1_wakeup_status` functions.
Application Examples
--------------------

View File

@ -273,7 +273,7 @@ RTC 控制器中内嵌定时器,可用于在预定义的时间到达后唤醒
ULP 协处理器唤醒
^^^^^^^^^^^^^^^^^^^^^^
当芯片处于睡眠模式时ULP 协处理器仍然运行,可用于轮询传感器、监视 ADC 或触摸传感器的值并在检测到特殊事件时唤醒芯片。ULP 协处理器是 RTC 外设电源域的一部分,运行存储在 RTC 低速内存中的程序。如果这一唤醒源被请求RTC 低速内存将会在睡眠期间保持供电状态。RTC 外设会在 ULP 协处理器开始运行程序前自动上电一旦程序停止运行RTC 外设会再次自动断电。
当芯片处于睡眠模式时ULP 协处理器仍然运行,可用于轮询传感器、监视 ADC 或 GPIO 状态并在检测到特殊事件时唤醒芯片。ULP 协处理器是 RTC 外设电源域的一部分,运行存储在 RTC 低速内存中的程序。如果这一唤醒源被请求RTC 低速内存将会在睡眠期间保持供电状态。RTC 外设会在 ULP 协处理器开始运行程序前自动上电一旦程序停止运行RTC 外设会再次自动断电。
.. only:: esp32
@ -472,7 +472,7 @@ UART 输出处理
.. only:: SOC_PM_SUPPORT_EXT1_WAKEUP
对于 ext1 唤醒源,可以调用函数 :cpp:func:`esp_sleep_get_ext1_wakeup_status` 来确认触发唤醒的触摸管脚。
对于 ext1 唤醒源,可以调用函数 :cpp:func:`esp_sleep_get_ext1_wakeup_status` 来确认触发唤醒的 GPIO 管脚。
应用程序示例
-------------------