Function esp_idf_hal::sys::esp_sleep_pd_config
source ยท pub unsafe extern "C" fn esp_sleep_pd_config(
domain: u32,
option: u32,
) -> i32
Expand description
@brief 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.
@param domain power domain to configure @param option power down option (ESP_PD_OPTION_OFF, ESP_PD_OPTION_ON, or ESP_PD_OPTION_AUTO) @return - ESP_OK on success - ESP_ERR_INVALID_ARG if either of the arguments is out of range