Function esp_idf_sys::esp_sleep_get_ext1_wakeup_status

source ยท
pub unsafe extern "C" fn esp_sleep_get_ext1_wakeup_status() -> u64
Expand description

@brief Get the bit mask of GPIOs which caused wakeup (ext1)

If wakeup was caused by another source, this function will return 0.

@return bit mask, if GPIOn caused wakeup, BIT(n) will be set