Is gpio_intr_enable() safe to call from ISR?
Posted: Wed Jul 30, 2025 2:33 pm
The documentation shows that it is safe to call gpio_intr_disable() from an ISR if CONFIG_GPIO_CTRL_FUNC_IN_IRAM is enabled, but does not have the same note for gpio_intr_enable(). I see no difference in their code and haven't seen any issues when using it, but I'd like to be sure. Does anyone know?
https://docs.espressif.com/projects/esp ... gpio_num_t
https://docs.espressif.com/projects/esp ... gpio_num_t