English
Language : 

PIC24F16KA102_11 Datasheet, PDF (89/278 Pages) Microchip Technology – 20/28-Pin General Purpose, 16-Bit Flash Microcontrollers with nanoWatt XLP Technology
PIC24F16KA102 FAMILY
REGISTER 8-24: INTTREG: INTERRUPT CONTROL AND STATUS REGISTER
R-0
U-0
R/W-0
U-0
CPUIRQ
—
VHOLD
—
bit 15
R-0
ILR3
R-0
ILR2
R-0
ILR1
R-0
ILR0
bit 8
U-0
—
bit 7
R-0
R-0
R-0
R-0
VECNUM6 VECNUM5 VECNUM4 VECNUM3
R-0
VECNUM2
R-0
VECNUM1
R-0
VECNUM0
bit 0
Legend:
R = Readable bit
-n = Value at POR
W = Writable bit
‘1’ = Bit is set
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
x = Bit is unknown
bit 15
bit 14
bit 13
bit 12
bit 11-8
bit 7
bit 6-0
CPUIRQ: Interrupt Request from Interrupt Controller CPU bit
1 = An interrupt request has occurred but has not yet been Acknowledged by the CPU (this will
happen when the CPU priority is higher than the interrupt priority)
0 = No interrupt request is left unacknowledged
Unimplemented: Read as ‘0’
VHOLD: Allows Vector Number Capture and Changes what Interrupt is Stored in VECNUM bit
1 = VECNUM will contain the value of the highest priority pending interrupt, instead of the current
interrupt
0 = VECNUM will contain the value of the last Acknowledged interrupt (last interrupt that has occurred
with higher priority than the CPU, even if other interrupts are pending)
Unimplemented: Read as ‘0’
ILR<3:0>: New CPU Interrupt Priority Level bits
1111 = CPU Interrupt Priority Level is 15
•
•
•
0001 = CPU Interrupt Priority Level is 1
0000 = CPU Interrupt Priority Level is 0
Unimplemented: Read as ‘0’
VECNUM<6:0>: Vector Number of Pending Interrupt bits
0111111 = Interrupt Vector pending is Number 135
•
•
•
0000001 = Interrupt Vector pending is Number 9
0000000 = Interrupt Vector pending is Number 8
 2008-2011 Microchip Technology Inc.
DS39927C-page 89