Microchip Technology Microstick for the 3V PIC24F K-series DM240013-1 DM240013-1 Data Sheet

Product codes
DM240013-1
Page of 260
 2011 Microchip Technology Inc.
DS31037B-page 93
PIC24F16KL402 FAMILY
REGISTER 8-30:
INTTREG: INTERRUPT CONTROL AND STATUS REGISTER
R-0
r-0
R/W-0
U-0
R-0
R-0
R-0
R-0
CPUIRQ
VHOLD
ILR3
ILR2
ILR1
ILR0
bit 15
bit 8
U-0
R-0
R-0
R-0
R-0
R-0
R-0
R-0
VECNUM6
VECNUM5
VECNUM4
VECNUM3
VECNUM2
VECNUM1
VECNUM0
bit 7
bit 0
Legend:
R = Readable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
-n = Value at POR
‘1’ = Bit is set
‘0’ = Bit is cleared
x = Bit is unknown
bit 15
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
bit 14
Reserved:
 Maintain as ‘0’
bit 13
VHOLD:
 Vector Hold bit
Allows vector number capture and changes what Interrupt is stored in the 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)
bit 12
Unimplemented:
 Read as ‘0’
bit 11-8
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
bit 7
Unimplemented:
 Read as ‘0’
bit 6-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