refactor(gptimer): sleep retention code clean up

This commit is contained in:
morris
2024-08-09 18:15:32 +08:00
parent e1ba14df02
commit 998cd5e1f7
17 changed files with 414 additions and 376 deletions
@@ -142,14 +142,13 @@ Light-sleep Peripheral Power Down
- INT_MTX
- TEE/APM
- IO_MUX / GPIO
- UART0
- TIMG0
- UART0/1
- GPTimer
- SPI0/1
- SYSTIMER
The following peripherals are not yet supported:
- ETM
- TIMG1
- ASSIST_DEBUG
- Trace
- Crypto: AES/ECC/HMAC/RSA/SHA/DS/XTA_AES/ECDSA
@@ -164,7 +163,6 @@ Light-sleep Peripheral Power Down
- SARADC
- SDIO
- PARL_IO
- UART1
For peripherals that do not support Light-sleep context retention, if the Power management is enabled, the ``ESP_PM_NO_LIGHT_SLEEP`` lock should be held when the peripheral is working to avoid losing the working context of the peripheral when entering sleep.