mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-01 18:50:34 +03:00
change(esp_pm): extended help description for PM_SLP_DISABLE_GPIO option
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user