Function esp_idf_sys::gpio_wakeup_enable
source ยท pub unsafe extern "C" fn gpio_wakeup_enable(
gpio_num: gpio_num_t,
intr_type: gpio_int_type_t,
) -> esp_err_t
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