gpio_wakeup_enable() function
Enable GPIO wake-up function.
Arguments
intr_type
GPIO wake-up type. Only GPIO_INTR_LOW_LEVEL or GPIO_INTR_HIGH_LEVEL can be used.
Return value
- ESP_OK Success - ESP_ERR_INVALID_ARG Parameter error
Examples
gpio_wakeup_enable() is referenced by 4 libraries and example projects: