Function esp_idf_svc::sys::esp_sleep_get_wakeup_cause

source ยท
pub unsafe extern "C" fn esp_sleep_get_wakeup_cause() -> u32
Expand description

@brief Get the wakeup source which caused wakeup from sleep

@return cause of wake up from last sleep (deep sleep or light sleep)