English
Language : 

PIC16LC63A-04 Datasheet, PDF (24/184 Pages) Microchip Technology – 8-Bit CMOS Microcontrollers with A/D Converter
PIC16C63A/65B/73B/74B
4.2.2.6 PIE2 Register
This register contains the individual enable bit for the
CCP2 peripheral interrupt.
REGISTER 4-6:
PIE2 REGISTER (ADDRESS 8Dh)
U-0
U-0
U-0
U-0
—
—
—
—
bit 7
U-0
U-0
U-0
R/W-0
—
—
—
CCP2IE
bit 0
bit 7-1
bit 0
Unimplemented: Read as '0'
CCP2IE: CCP2 Interrupt Enable bit
1 = Enables the CCP2 interrupt
0 = Disables the CCP2 interrupt
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
4.2.2.7 PIR2 Register
This register contains the CCP2 interrupt flag bit.
Note:
Interrupt flag bits are set when an interrupt
condition occurs, regardless of the state of
its corresponding enable bit, or the global
enable bit, GIE (INTCON<7>). User soft-
ware should ensure the appropriate inter-
rupt flag bits are clear prior to enabling an
interrupt.
REGISTER 4-7:
PIR2 REGISTER (ADDRESS 0Dh)
U-0
U-0
U-0
U-0
—
—
—
—
bit 7
U-0
U-0
U-0
R/W-0
—
—
—
CCP2IF
bit 0
bit 7-1
bit 0
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:
Unused
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
DS30605C-page 24
 2000 Microchip Technology Inc.