pub unsafe extern "C" fn esp_sleep_pd_config(
    domain: esp_sleep_pd_domain_t,
    option: esp_sleep_pd_option_t
) -> esp_err_t
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