Hello
This tutorial will teach you how to extend the ISR routine using handlers as function pointers.
Read the tutorial here:
I suggest this way to be added to all Arduino ISRs (even the ones in files like wiring.c from Arduino core).
Comments are most welcome!