How to configure the priority of two InterruptIns if they occur simultaneously?
Hello,
the interrupts are handled how they come. We can talk about nano or micro seconds so it is very small chance to trigger more interrupts at the exact same time, one will always be first.
You should follow the basic rule - keep the interrupt handler as simple as you can (no delay/wait/sleep or any complex functions like the printf for example) to minimize the time what MCU has to spend in interrupt handler. For example just raise a flag that will be processed in main loop if is possible.
BR, Jan