Function esp_idf_svc::sys::gpio_wakeup_enable

source ยท
pub unsafe extern "C" fn gpio_wakeup_enable(
    gpio_num: i32,
    intr_type: u32,
) -> i32
Expand description

@brief Enable GPIO wake-up function.

@param gpio_num GPIO number.

@param intr_type GPIO wake-up type. Only GPIO_INTR_LOW_LEVEL or GPIO_INTR_HIGH_LEVEL can be used.

@return - ESP_OK Success - ESP_ERR_INVALID_ARG Parameter error