Skip to content

Commit

Permalink
docs(pm):add uart wakeup description when pd top
Browse files Browse the repository at this point in the history
  • Loading branch information
10086loutianhao committed Nov 28, 2023
1 parent e546847 commit 2948820
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/en/api-reference/system/sleep_modes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions docs/zh_CN/api-reference/system/sleep_modes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:

禁用睡眠模式唤醒源
Expand Down

0 comments on commit 2948820

Please sign in to comment.