esp_sleep_pd_config() function
Set power down mode for an RTC power domain in sleep mode If not set set using this API, all power domains default to ESP_PD_OPTION_AUTO.
Arguments
domain
power domain to configure
option
power down option (ESP_PD_OPTION_OFF, ESP_PD_OPTION_ON, or ESP_PD_OPTION_AUTO)
Return value
- ESP_OK on success - ESP_ERR_INVALID_ARG if either of the arguments is out of range
Examples
esp_sleep_pd_config() is referenced by 5 libraries and example projects: