English
Language : 

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