Datasheet

2011-2013 Microchip Technology Inc. DS30001037C-page 67
PIC24F16KL402 FAMILY
TABLE 8-2: IMPLEMENTED INTERRUPT VECTORS
TABLE 8-1: TRAP VECTOR DETAILS
Vector Number IVT Address AIVT Address Trap Source
0 000004h 000104h Reserved
1 000006h 000106h Oscillator Failure
2 000008h 000108h Address Error
3 00000Ah 00010Ah Stack Error
4 00000Ch 00010Ch Math Error
5 00000Eh 00010Eh Reserved
6 000010h 000110h Reserved
7 000012h 000112h Reserved
Interrupt Source
Vector
Number
IVT Address AIVT Address
Interrupt Bit Locations
Flag Enable Priority
ADC1 Conversion Done 13 00002Eh 00012Eh IFS0<13> IEC0<13> IPC3<6:4>
Comparator Event 18 000038h 000138h IFS1<2> IEC1<2> IPC4<10:8>
External Interrupt 0 0 000014h 000114h IFS0<0> IEC0<0> IPC0<2:0>
External Interrupt 1 20 00003Ch 00013Ch IFS1<4> IEC1<4> IPC5<2:0>
External Interrupt 2 29 00004Eh 00014Eh IFS1<13> IEC1<13> IPC7<6:4>
MSSP1 Bus Collision Event 17 000036h 000136h IFS1<1> IEC1<1> IPC4<6:4>
MSSP1 SPI or I
2
C™ Event 16 000034h 000134h IFS1<0> IEC1<0> IPC4<2:0>
MSSP2 Bus Collision Event 50 000078h 000178h IFS3<2> IEC3<2> IPC12<10:8>
MSSP2 SPI or I
2
C Event 49 000076h 000176h IFS3<1> IEC3<1> IPC12<6:4>
Input Change Notification 19 00003Ah 00013Ah IFS1<3> IEC1<3> IPC4<14:12>
HLVD (High/Low-Voltage Detect) 72 0000A4h 0001A4h IFS4<8> IEC4<8> IPC17<2:0>
NVM (NVM Write Complete) 15 000032h 000132h IFS0<15> IEC0<15> IPC3<14:12>
CCP1/ECCP1 2 000018h 000118h IFS0<2> IEC0<2> IPC0<10:8>
CCP2 6 000020h 000120h IFS0<6> IEC0<6> IPC1<10:8>
CCP3 25 000046h 000146h IFS1<9> IEC1<9> IPC6<6:4>
Timer1 3 00001Ah 00011Ah IFS0<3> IEC0<3> IPC0<14:12>
Timer2 7 000022h 000122h IFS0<7> IEC0<7> IPC1<14:12>
Timer3 8 000024h 000124h IFS0<8> IEC0<8> IPC2<2:0>
Timer4 27 00004Ah 00014Ah IFS1<11> IEC1<11> IPC6<14:12>
Timer3 Gate External Count 37 00005Eh 00015Eh IFS2<5> IEC2<5> IPC9<6:4>
UART1 Error 65 000096h 000196h IFS4<1> IEC4<1> IPC16<6:4>
UART1 Receiver 11 00002Ah 00012Ah IFS0<11> IEC0<11> IPC2<14:12>
UART1 Transmitter 12 00002Ch 00012Ch IFS0<12> IEC0<12> IPC3<2:0>
UART2 Error 66 000098h 000198h IFS4<2> IEC4<2> IPC16<10:8>
UART2 Receiver 30 000050h 000150h IFS1<14> IEC1<14> IPC7<10:8>
UART2 Transmitter 31 000052h 000152h IFS1<15> IEC1<15> IPC7<14:12>
ULPW (Ultra Low-Power Wake-up) 80 0000B4h 0001B4h IFS5<0> IEC5<0> IPC20<2:0>