Interrupts
From FIRSTwiki
An interrupt, as its name implies, interrupts the normal course of a program and executes a certain piece of code, usually related to whatever input caused the interrupt.
In FIRST, an intterupt can be used to interrupt the main loop in the default code. Interrupts can be set to occur for a variety of reasons; timers, digital inputs, pwm inputs, etc. The code that is run when an interrupt happens is called the interrupt service routine (ISR).

