Simplify timer ISR definitions and invoke callbacks.