PIC16F747 Microchip Technology Inc., PIC16F747 Datasheet - Page 29

no-image

PIC16F747

Manufacturer Part Number
PIC16F747
Description
28/40/44-pin, 8-bit Cmos Flash Microcontrollers With 10-bit A/d And Nanowatt Technology
Manufacturer
Microchip Technology Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F747-E/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC16F747-I/ML
Manufacturer:
MICRON
Quantity:
1 001
Part Number:
PIC16F747-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC16F747-I/PT
Manufacturer:
MICROCH
Quantity:
20 000
Part Number:
PIC16F747T-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
2.2.2.7
The PIR2 register contains the flag bits for the CCP2
interrupt.
REGISTER 2-7:
 2004 Microchip Technology Inc.
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
PIR2 Register
PIR2: PERIPHERAL INTERRUPT REQUEST (FLAG) REGISTER 2 (ADDRESS 0Dh)
OSFIF: Oscillator Fail Interrupt Flag bit
1 = System oscillator failed, clock input has changed to INTRC (must be cleared in software)
0 = System clock operating
CMIF: Comparator Interrupt Flag bit
1 = Comparator input has changed (must be cleared in software)
0 = Comparator input has not changed
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 then the specified LVD voltage
Unimplemented: Read as ‘0’
BCLIF: Bus Collision Interrupt Flag bit
1 = A bus collision has occurred in the SSP when configured for I
0 = No bus collision has occurred
Unimplemented: Read as ‘0’
CCP3IF: CCP3 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 in this mode.
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
bit 7
OSFIF
R/W-0
R/W-0
CMIF
R/W-0
LVDIF
W = Writable bit
‘1’ = Bit is set
U-0
Note:
R/W-0
BCLIF
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
Interrupt flag bits are set when an interrupt
condition occurs regardless of the state of
its corresponding enable bit or the Global
Interrupt Enable bit, GIE (INTCON<7>).
User software should ensure the appropri-
ate interrupt flag bits are clear prior to
enabling an interrupt.
U-0
2
C Master mode
PIC16F7X7
CCP3IF
x = Bit is unknown
R/W-0
DS30498C-page 27
CCP2IF
R/W-0
bit 0

Related parts for PIC16F747