Function esp_idf_sys::gpio_deep_sleep_wakeup_enable
source · pub unsafe extern "C" fn gpio_deep_sleep_wakeup_enable(
gpio_num: gpio_num_t,
intr_type: gpio_int_type_t,
) -> esp_err_t
Expand description
@brief Enable GPIO deep-sleep 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.
@note Called by the SDK. User shouldn’t call this directly in the APP.
@return - ESP_OK Success - ESP_ERR_INVALID_ARG Parameter error