PIC10F202 Microchip Technology Inc., PIC10F202 Datasheet - Page 39

no-image

PIC10F202

Manufacturer Part Number
PIC10F202
Description
6-pin, 8-bit Flash Microcontrollers Data Sheet
Manufacturer
Microchip Technology Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC10F202-E/OT
Manufacturer:
MICROCHIP
Quantity:
8 720
Part Number:
PIC10F202-I/OT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC10F202-I/P
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
PIC10F202-I/P
Manufacturer:
Microchip Technology
Quantity:
1 812
Part Number:
PIC10F202-I/P
Manufacturer:
MICRCOHI
Quantity:
20 000
Part Number:
PIC10F202T-E/OT
Manufacturer:
XILINX
Quantity:
101
Part Number:
PIC10F202T-I/MC
Manufacturer:
ATMEL
Quantity:
978
Company:
Part Number:
PIC10F202T-I/MC
Quantity:
3 300
Part Number:
PIC10F202T-I/MC011
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC10F202T-I/MC012
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC10F202T-I/MC086
Manufacturer:
MICROCH
Quantity:
20 000
Part Number:
PIC10F202T-I/OT
0
Company:
Part Number:
PIC10F202T-I/OT
Quantity:
27 000
8.0
The
comparator. The inputs to the comparator are
multiplexed with GP0 and GP1 pins. The output of the
comparator can be placed on GP2.
The CMCON0 register, shown in Register 8-1, controls
the comparator operation. A block diagram of the
comparator is shown in Figure 8-1.
REGISTER 8-1:
© 2007 Microchip Technology Inc.
bit 7
Legend:
R = Readable bit
-n = Value at POR
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
Note 1:
CMPOUT
R-1
comparator
2:
3:
COMPARATOR MODULE
Overrides T0CS bit for TRIS control of GP2.
When the comparator is turned on, these control bits assert themselves. When the comparator is off, these
bits have no effect on the device operation and the other control registers have precedence.
PIC10F204/206 only.
CMPOUT: Comparator Output bit
1 = V
0 = V
COUTEN: Comparator Output Enable bit
1 = Output of comparator is NOT placed on the COUT pin
0 = Output of comparator is placed in the COUT pin
POL: Comparator Output Polarity bit
1 = Output of comparator not inverted
0 = Output of comparator inverted
CMPT0CS: Comparator TMR0 Clock Source bit
1 = TMR0 clock source selected by T0CS control bit
0 = Comparator output used as TMR0 clock source
CMPON: Comparator Enable bit
1 = Comparator is on
0 = Comparator is off
CNREF: Comparator Negative Reference Select bit
1 = CIN- pin
0 = Internal voltage reference
CPREF: Comparator Positive Reference Select bit
1 = CIN+ pin
0 = CIN- pin
CWU: Comparator Wake-up on Change Enable bit
1 = Wake-up on comparator change is disabled
0 = Wake-up on comparator change is enabled.
COUTEN
R/W-1
module
IN
IN
CMCON0 REGISTER
+ > V
+ < V
(3)
(3)
IN
IN
(3)
contains
-
-
W = Writable bit
‘1’ = Bit is set
R/W-1
POL
one
CMPT0CS
Analog
R/W-1
(2)
PIC10F200/202/204/206
(1, 2)
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
CMPON
R/W-1
(2)
(2)
(2)
(2)
CNREF
R/W-1
x = Bit is unknown
CPREF
R/W-1
DS41239D-page 37
R/W-1
CWU
bit 0

Related parts for PIC10F202