System interrupts
attachSystemInterrupt()
Registers a function that is called when a system interrupt happens.
void handle_timer5()
{
   // called when timer 5 fires an interrupt
}
void setup()
{
    attachSystemInterrupt(SysInterrupt_TIM5, handle_timer5);
}