ISRApplies to: c, embeddedAn ISR is the function that runs in response to an interrupt. It should be short and careful with shared state. void timer_isr(void) { ticks++; } See also: interrupt, volatile