In most of simple microcontrollers, if same interrupt occur inside of your ISR, this new interrupt is ignored because is "critical section" and disable interrupts.WiFive wrote:Personally I would suggest you use level interrupts and sw debouncing and when you receive a high interrupt, change the next interrupt to low and so on.
In some's modern's mcu's, if same interrupt occur inside of your ISR, this make an "re-call" your ISR....
I not found anywhere talking about this specifically from esp32, so you/anyone know?
Edit
I made some test's and it seems the interrupts are disabled.
I also think that my problem may be in the loss of pulses due to high interrupt latency. See in the photo of the logic analyzer that with the 2 edge of channel 1, channel 0 only answered 1x, losing the second pulse.
What can I do? Losing pulses is not acceptable in the project
img: https://drive.google.com/file/d/1KNbXoG ... sp=sharing