Arduino Trick: How To Share Interrupt Service Routines(ISR) between Libraries and Application - Atadiat
Solving the problem of collision that could occur when a library uses an interrupt service routine (ISR) inside its source code, and the developer later may need to use the same ISR. The suggested solution is by using function pointer as a hook and handler function assigned later by developer.
Atadiat