Datasheet
PIC12F635/PIC16F636/639
DS41232D-page 82 © 2007 Microchip Technology Inc.
REGISTER 7-3: CMCON1: COMPARATOR CONFIGURATION REGISTER (PIC12F635)
U-0 U-0 U-0 U-0 U-0 U-0 R/W-1 R/W-0
— — — — — — T1GSS CMSYNC
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-2 Unimplemented: Read as ‘0’
bit 1 T1GSS: Timer1 Gate Source Select bit
(1)
1 = Timer1 Gate Source is T1G pin (pin should be configured as digital input)
0 = Timer1 Gate Source is comparator output
bit 0 CMSYNC: Comparator Output Synchronization bit
(2)
1 = Output is synchronized with falling edge of Timer1 clock
0 = Output is asynchronous
Note 1: Refer to Section 6.6 “Timer1 Gate”.
2: Refer to Figure 7-2.
REGISTER 7-4: CMCON1: COMPARATOR CONFIGURATION REGISTER (PIC16F636/639)
U-0 U-0 U-0 U-0 U-0 U-0 R/W-1 R/W-0
— — — — — — T1GSS C2SYNC
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-2 Unimplemented: Read as ‘0’
bit 1 T1GSS: Timer1 Gate Source Select bit
(1)
1 = Timer1 gate source is T1G pin (pin should be configured as digital input)
0 = Timer1 gate source is Comparator C2 output
bit 0 C2SYNC: Comparator C2 Output Synchronization bit
(2)
1 = Output is synchronized with falling edge of Timer1 clock
0 = Output is asynchronous
Note 1: Refer to Section 6.6 “Timer1 Gate”.
2: Refer to Figure 7-4.