InterruptIn on nucleo

15 Oct 2014

If youve tried to use InterruptIn on Nucleo with more than one pin (at same time) on lines 5 thru 15, maybe you've noticed a problem. The interrupt handler for EXTI9_5_IRQn and EXTI15_10_IRQn needs to handle all their associated interrupt lines, but the handlers for 0 to 4 only need to handle one. An example of the fix is here

Without the fix, the interrupt handler will be called endlessly, because the interrupt wouldn't be acknowledged in the handler.