PIC18LF65K40 interrupt vectors
Reset at 0x0000, then two interrupt vectors: high priority at 0x0008 and low priority at 0x0018 (with IPEN set; otherwise every source uses 0x0008). Each source has an enable bit and a flag (the Registers page lists them). In XC8 a handler is void __interrupt() isr(void).
| Vector | Program address | Name | Handler | Source |
|---|---|---|---|---|
| 0 | 0x0000 | RESET | reset: main() after start-up | Reset vector, address 0x0000 |
| 1 | 0x0008 | HIGH_PRIORITY | __interrupt(high_priority) | High-priority interrupts, address 0x0008. Sources: INT0, INT1, INT2, INT3, IOC, TMR0, AD, ADT, CSW, OSCF, C1, C2, C3, ZCD, HLVD, SSP1, BCL1, SSP2, BCL2, TX1, RC1, TX2, RC2, TX3, RC3, TX4, RC4, TX5, RC |
| 2 | 0x0018 | LOW_PRIORITY | __interrupt(low_priority) | Low-priority interrupts (IPEN set), address 0x0018 |