AN1132: Working with chipKIT™ Interrupts
The chipKIT™ programming environment API provides a complete abstraction layer around the internal PIC32™ interrupt subsystem. The functions provided allow the complete manipulation of the interrupts at runtime without burdening the user with the requirement of low-level knowledge of the inner workings of the interrupts.
The interrupt vector table is relocated into RAM instead of being in Flash. This allows the entries to be manipulated at runtime instead of being set at compile time.
When working with interrupts it is important to remember some key facts about how they work.