Datasheet
PIC18F2450/4450
© 2008 Microchip Technology Inc. DS39760D-page 91
REGISTER 8-5: PIR2: PERIPHERAL INTERRUPT REQUEST (FLAG) REGISTER 2
R/W-0 U-0 R/W-0 U-0 U-0 R/W-0 U-0 U-0
OSCFIF — USBIF — —HLVDIF — —
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 = System oscillator failed, clock input has changed to INTRC (must be cleared in software)
0 = System clock operating
bit 6 Unimplemented: Read as ‘0’
bit 5 USBIF: USB Interrupt Flag bit
1 = USB has requested an interrupt (must be cleared in software)
0 = No USB interrupt request
bit 4-3 Unimplemented: Read as ‘0’
bit 2 HLVDIF: High/Low-Voltage Detect Interrupt Flag bit
1 = A high/low-voltage condition occurred
0 = No high/low-voltage event has occurred
bit 1-0 Unimplemented: Read as ‘0’