Function esp_idf_svc::hal::sys::esp_sleep_is_valid_wakeup_gpio

source ยท
pub unsafe extern "C" fn esp_sleep_is_valid_wakeup_gpio(
    gpio_num: i32,
) -> bool
Expand description

@brief Returns true if a GPIO number is valid for use as wakeup source.

@note For SoCs with RTC IO capability, this can be any valid RTC IO input pin.

@param gpio_num Number of the GPIO to test for wakeup source capability

@return True if this GPIO number will be accepted as a sleep wakeup source.