change(esp_pm): extended help description for PM_SLP_DISABLE_GPIO option

This commit is contained in:
Li Shuai
2026-08-31 11:09:51 +08:00
parent 0cae1ec820
commit 5e4081e34d
+11 -4
View File
@@ -98,10 +98,17 @@ menu "Power Management"
help
This feature is intended to disable all GPIO pins at automantic sleep to get a lower power mode.
If enabled, chips will disable all GPIO pins at automantic sleep to reduce about 200~300 uA current.
If you want to specifically use some pins normally as chip wakes when chip sleeps,
you can call 'gpio_sleep_sel_dis' to disable this feature on those pins.
You can also keep this feature on and call 'gpio_sleep_set_direction' and 'gpio_sleep_set_pull_mode'
to have a different GPIO configuration at sleep.
If you want to specifically use some pins normally as chip wakes when chip sleeps, you can
call 'gpio_sleep_sel_dis' to disable this feature on those pins.
Please note, that disabling a GPIO as a wake-up source via `gpio_wakeup_disable` reverts
the effect of `gpio_sleep_sel_dis` for that pin.
When you disable a GPIO as wake-up source, but want to keep the GPIO powered or some custom
GPIO sleep state configurations during sleep, you must call `gpio_sleep_sel_dis` again.
Alternatively, You can also keep this feature on and call 'gpio_sleep_set_direction' and
'gpio_sleep_set_pull_mode' to have a different GPIO configuration at sleep.
config PM_SLP_DEFAULT_PARAMS_OPT
bool