
2010-2012 Microchip Technology Inc.
DS39977F-page 153
PIC18F66K80 FAMILY
REGISTER 10-5:
PIR2: PERIPHERAL INTERRUPT REQUEST (FLAG) REGISTER 2
R/W-0
U-0
R/W-0
OSCFIF
—
BCLIF
HLVDIF
TMR3IF
TMR3GIF
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 7
OSCFIF:
Oscillator Fail Interrupt Flag bit
1
= Device oscillator failed, clock input has changed to INTOSC (bit must be cleared in software)
0
= Device clock is operating
bit 6-4
Unimplemented:
Read as ‘0’
bit 3
BCLIF:
Bus Collision Interrupt Flag bit
1
= A bus collision occurred (bit must be cleared in software)
0
= No bus collision occurred
bit 2
HLVDIF:
High/Low-Voltage Detect Interrupt Flag bit
1
= A low-voltage condition occurred (bit must be cleared in software)
0
= The device voltage is above the regulator’s low-voltage trip point
bit 1
TMR3IF:
TMR3 Overflow Interrupt Flag bit
1
= TMR3 register overflowed (bit must be cleared in software)
0
= TMR3 register did not overflow
bit 0
TMR3GIF:
TMR3 Gate Interrupt Flag bit
1
= Timer gate interrupt occurred (bit must be cleared in software)
0
= No timer gate interrupt occurred