Function esp_idf_sys::esp_sleep_disable_ext1_wakeup_io

source ยท
pub unsafe extern "C" fn esp_sleep_disable_ext1_wakeup_io(
    io_mask: u64,
) -> esp_err_t
Expand description

@brief Disable ext1 wakeup pins with IO masks. This will remove selected IOs from the wakeup IOs. @param io_mask Bit mask of GPIO numbers which will cause wakeup. Only GPIOs which have RTC functionality can be used in this bit map. If value is zero, this func will remove all previous ext1 configuration. For different SoCs, the related GPIOs are: - ESP32: 0, 2, 4, 12-15, 25-27, 32-39 - ESP32-S2: 0-21 - ESP32-S3: 0-21 - ESP32-C6: 0-7 - ESP32-H2: 7-14

@return - ESP_OK on success - ESP_ERR_INVALID_ARG if any of the selected GPIOs is not an RTC GPIO.