PIC12F510-I/L MICROCHIP [Microchip Technology], PIC12F510-I/L Datasheet - Page 47

no-image

PIC12F510-I/L

Manufacturer Part Number
PIC12F510-I/L
Description
8/14-Pin, 8-Bit Flash Microcontroller
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet
REGISTER 7-3:
© 2006 Microchip Technology Inc.
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
CM2CON0 REGISTER (ADDRESS: 0Bh) (PIC16F506)
bit 7
C2OUT: Comparator Output bit
1 = V
0 = V
C2OUTEN: Comparator Output Enable bit
1 = Output of comparator is NOT placed on the C2OUT pin
0 = Output of comparator is placed in the C2OUT pin
C2POL: Comparator Output Polarity bit
1 = Output of comparator not inverted
0 = Output of comparator inverted
C2PREF2: Comparator Positive Reference Select bit
1 = C1IN+ pin
0 = C2IN- pin
C2ON: Comparator Enable bit
1 = Comparator is on
0 = Comparator is off
C2NREF: Comparator Negative Reference Select bit
1 = C2IN- pin
0 = V
C2PREF1: Comparator Positive Reference Select bit
1 = C2IN+ pin
0 = C2PREF2 controls analog input selection
C2WU: Comparator Wake-up on Change Enable bit
1 = Wake-up on Comparator change is disabled
0 = Wake-up on Comparator change is enabled.
Legend:
R = Readable bit
-n = Value at POR
C2OUT
Note 1: Overrides TOCS bit for TRIS control of RC4.
R-1
IN
IN
REF
+ > V
+ < V
2: When comparator is turned on, these control bits assert themselves. Otherwise, the
other registers have precedence.
C2OUTEN
IN
IN
R/W-1
-
-
C2POL
R/W-1
Preliminary
W = Writable bit
‘1’ = Bit is set
C2PREF2
R/W-1
(2)
(1), (2)
PIC12F510/16F506
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
R/W-1
C2ON
(2)
(2)
(2)
(2)
C2NREF C2PREF1
R/W-1
x = Bit is unknown
R/W-1
DS41268B-page 45
R/W-1
C2WU
bit 0

Related parts for PIC12F510-I/L