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,9 @@ ESP-IDF 中集成的电源管理算法可以根据应用程序组件的需求,
Light-sleep 状态下,外设设有时钟门控,不会产生来自 GPIO 和内部外设的中断。:doc:`sleep_modes` 文档中所提到的唤醒源可用于从 Light-sleep 状态触发唤醒。
.. warning::
自动 Light-sleep 模式基于定时器唤醒实现,请勿手动配置定时器唤醒源。
.. only:: SOC_PM_SUPPORT_EXT0_WAKEUP and SOC_PM_SUPPORT_EXT1_WAKEUP
例如,EXT0 和 EXT1 唤醒源可以通过 GPIO 唤醒芯片。