docs(pm):add uart wakeup description when pd top

This commit is contained in:
Lou Tianhao 2023-11-27 15:15:16 +08:00
parent e54684754c
commit 29488207ff
2 changed files with 12 additions and 0 deletions

View File

@ -320,6 +320,12 @@ When {IDF_TARGET_NAME} receives UART input from external devices, it is often ne
:cpp:func:`esp_sleep_enable_uart_wakeup` function can be used to enable this wakeup source.
.. only:: esp32c6 or esp32h2
.. note::
In Light-sleep mode, setting Kconfig option :ref:`CONFIG_PM_POWER_DOWN_PERIPHERAL_IN_LIGHT_SLEEP` will invalidate UART wakeup.
.. _disable_sleep_wakeup_source:
Disable Sleep Wakeup Source

View File

@ -320,6 +320,12 @@ UART 唤醒(仅适用于 Light-sleep 模式)
可调用 :cpp:func:`esp_sleep_enable_uart_wakeup` 函数来启用此唤醒源。
.. only:: esp32c6 or esp32h2
.. note::
在 Light-sleep 模式下,设置 Kconfig 选项 :ref:`CONFIG_PM_POWER_DOWN_PERIPHERAL_IN_LIGHT_SLEEP` 将使 UART 唤醒失效。
.. _disable_sleep_wakeup_source:
禁用睡眠模式唤醒源