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

no-image

PIC12F510-I/L

Manufacturer Part Number
PIC12F510-I/L
Description
8/14-Pin, 8-Bit Flash Microcontroller
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet
7.0
The PIC12F510 contains one analog comparator
module. The PIC16F506 contains two comparators
and a comparator voltage reference.
REGISTER 7-1:
© 2006 Microchip Technology Inc.
COMPARATOR(S)
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
CM1CON0 REGISTER (ADDRESS: 07h) (PIC12F510)
bit 7
C1OUT: Comparator Output bit
1 = V
0 = V
C1OUTEN: Comparator Output Enable bit
1 = Output of comparator is NOT placed on the C1OUT pin
0 = Output of comparator is placed in the C1OUT pin
C1POL: Comparator Output Polarity bit
1 = Output of comparator is not inverted
0 = Output of comparator is inverted
C1T0CS: Comparator TMR0 Clock Source bit
1 = TMR0 clock source selected by T0CS control bit
0 = Comparator output used as TMR0 clock source
C1ON: Comparator Enable bit
1 = Comparator is on
0 = Comparator is off
C1NREF: Comparator Negative Reference Select bit
1 = C1IN pin
0 = V
C1PREF: Comparator Positive Reference Select bit
1 = C1IN+ pin
0 = C1IN- pin
C1WU: 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
C1OUT
R-1
Note 1:
IN
IN
REF
+ > V
+ < V
2: When comparator is turned on, these control bits assert themselves.
C1OUTEN
Overrides T0CS bit for TRIS control of GP2.
IN
IN
R/W-1
-
-
C1POL
R/W-1
Preliminary
W = Writable bit
‘1’ = Bit is set
C1T0CS
R/W-1
(2)
(1), (2)
(2)
PIC12F510/16F506
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
R/W-1
C1ON
(2)
(2)
(2)
C1NREF
R/W-1
x = Bit is unknown
C1PREF
R/W-1
DS41268B-page 43
C1WU
R/W-1
bit 0

Related parts for PIC12F510-I/L