Function esp_idf_svc::hal::sys::esp_sleep_get_gpio_wakeup_status

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

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

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

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