Page 1 of 1

Digital pins usable for interrupts

Posted: Sat Oct 06, 2018 9:43 pm
by Gasman
Hi there,

the official Arduino documentation https://www.arduino.cc/reference/en/lan ... interrupt/ lists a few boards and the GPIO capable of handling interrupts.

What are the restrictions on the ESP32 IDF and ESP Arduino implementation regarding the GPIO Pins and interrupts? Which is the according chapter in the esp32 datasheets where I can find this information?

thanks

Re: Digital pins usable for interrupts

Posted: Sun Oct 07, 2018 2:21 am
by ESP_Sprite
I de-capped your title, no need to yell here :)

Re: Digital pins usable for interrupts

Posted: Sun Oct 07, 2018 9:56 pm
by bobtidey
I believe that any GPIO that can be used for normal input can be used as an interrupt source.

All GPIO events get handled by a common single low level interrupt handler. In the esp32 Arduino the attachInterrupt controls an entry in a dispatch table that the common handler then uses to call the user interrupt functions defined in any attachInterrupt calls.