change(esp_pm): move timer wakeup set out of critical section

This commit is contained in:
hebinglin
2026-05-22 11:45:21 +08:00
parent 90ec41a9f7
commit 418ffbe2a6
3 changed files with 8 additions and 1 deletions
@@ -48,6 +48,10 @@ Dynamic frequency scaling (DFS) and automatic Light-sleep can be enabled in an a
In Light-sleep, peripherals are clock gated, and interrupts (from GPIOs and internal peripherals) will not be generated. A wakeup source described in the :doc:`sleep_modes` documentation can be used to trigger wakeup from the Light-sleep state.
.. warning::
Automatic Light-sleep is implemented using timer wakeup. Do not manually configure the timer wakeup source.
.. only:: SOC_PM_SUPPORT_EXT0_WAKEUP and SOC_PM_SUPPORT_EXT1_WAKEUP
For example, the EXT0 and EXT1 wakeup sources can be used to wake up the chip via a GPIO.