MCP19123 interrupt vectors

Reset at 0x0000 and one interrupt vector at 0x0004 for every source: the handler checks each source's flag. Each source has an enable bit and a flag (the Registers page lists them). In XC8 a handler is void __interrupt() isr(void).

VectorProgram addressNameHandlerSource
00x0000RESET reset: main() after start-upReset vector, address 0x0000
10x0004INTERRUPT __interrupt()All interrupts, address 0x0004. Sources: TMR0, TMR1, TMR2, CC1, CC2, SSP, BCL, AD, TMR1G, UVLO, OVLO, OV, OC, OT, UV