Function esp_idf_sys::esp_sleep_enable_ulp_wakeup

source ยท
pub unsafe extern "C" fn esp_sleep_enable_ulp_wakeup() -> esp_err_t
Expand description

@brief Enable wakeup by ULP coprocessor @note On ESP32, ULP wakeup source cannot be used when RTC_PERIPH power domain is forced, to be powered on (ESP_PD_OPTION_ON) or when ext0 wakeup source is used. @return - ESP_OK on success - ESP_ERR_NOT_SUPPORTED if additional current by touch (CONFIG_RTC_EXT_CRYST_ADDIT_CURRENT) is enabled. - ESP_ERR_INVALID_STATE if ULP co-processor is not enabled or if wakeup triggers conflict