Function esp_idf_svc::sys::esp_pm_configure
source ยท pub unsafe extern "C" fn esp_pm_configure(
config: *const c_void,
) -> i32
Expand description
@brief Set implementation-specific power management configuration @param config pointer to implementation-specific configuration structure (e.g. esp_pm_config_esp32) @return - ESP_OK on success - ESP_ERR_INVALID_ARG if the configuration values are not correct - ESP_ERR_NOT_SUPPORTED if certain combination of values is not supported, or if CONFIG_PM_ENABLE is not enabled in sdkconfig