PIC12F639 Microchip Technology, PIC12F639 Datasheet - Page 68

no-image

PIC12F639

Manufacturer Part Number
PIC12F639
Description
(PIC12F635 / PIC12F636 / PIC12F639) 8/14-PIN FLASH-BASED / 8-BIT CMOS MICROCONTROLLERS WITH NANOWATT TECHNOLOGY
Manufacturer
Microchip Technology
Datasheet
PIC12F635/PIC16F636/639
FIGURE 7-7:
REGISTER 7-2:
DS41232B-page 66
bit 7-2:
bit 1
bit 0
Note 1: Comparator 2 output is latched on falling edge of T1 clock source.
To TMR1
To C2OUT pin
To Data Bus
Set C2IF bit
PIC16F636/639 COMPARATOR C2 OUTPUT BLOCK DIAGRAM
CMCON1 – COMPARATOR CONTROL 1 REGISTER (ADDRESS: 1Ah)
Unimplemented: Read as ‘0’
T1GSS: Timer1 Gate Source Select bit
1 = Timer1 gate source is T1G pin (RA4 must be configured as digital input)
0 = Timer1 gate source is Comparator 2 output
C2SYNC: Comparator 2 Synchronize bit
1 = C2 output synchronized with falling edge of Timer1 clock
0 = C2 output not synchronized with Timer1 clock
bit 7
Legend:
R = Readable bit
- n = Value at POR
Note 1: C2SYNC is C1SYNC in PIC12F635.
U-0
RD CMCON
U-0
C2SYNC
0
1
Preliminary
U-0
W = Writable bit
‘1’ = Bit is set
Q
Q
(2)
Q
U-0
EN
EN
CL
D
D
EN
D
Clock Source
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
Reset
U-0
TMR1
(1)
U-0
© 2005 Microchip Technology Inc.
RD CMCON
x = Bit is unknown
T1GSS
R/W-1
C2INV
C2SYNC
R/W-0
bit 0
(1)

Related parts for PIC12F639