|
PIC18F2331 Datasheet, PDF (99/396 Pages) Microchip Technology – 28/40/44-Pin Enhanced Flash Microcontrollers with nanoWatt Technology, High Performance PWM and A/D | |||
|
◁ |
PIC18F2331/2431/4331/4431
REGISTER 9-5:
PIR2: PERIPHERAL INTERRUPT REQUEST (FLAG) REGISTER 2
R/W-0
U-0
U-0
R/W-0
U-0
R/W-0
U-0
OSFIF
â
â
EEIF
â
LVDIF
â
bit 7
R/W-0
CCP2IF
bit 0
bit 7
bit 6-5
bit 4
bit 3
bit 2
bit 1
bit 0
OSFIF: Oscillator Fail Interrupt Flag bit
1 = System Oscillator failed, clock input has changed to INTOSC (must be cleared in software)
0 = System clock operating
Unimplemented: Read as â0â
EEIF: EEPROM or Flash Write Operation Interrupt Flag bit
1 = The write operation is complete (must be cleared in software)
0 = The write operation is not complete or has not been started
Unimplemented: Read as â0â
LVDIF: Low-Voltage Detect Interrupt Flag bit
1 = The supply voltage has fallen below the specified LVD voltage (must be cleared in
software)
0 = The supply voltage is greater than the specified LVD voltage
Unimplemented: Read as â0â
CCP2IF: CCP2 Interrupt Flag bit
Capture mode:
1 = A TMR1 register capture occurred (must be cleared in software)
0 = No TMR1 register capture occurred
Compare mode:
1 = A TMR1 register compare match occurred (must be cleared in software)
0 = No TMR1 register compare match occurred
PWM mode:
Not used in PWM mode
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
 2003 Microchip Technology Inc.
Preliminary
DS39616B-page 97
|
▷ |