PIC10F200/202/204/206
8.1
Comparator Configuration
Note:
The comparator can have an inverted
output (see Figure 8-1).
The on-board comparator inputs, (GP0/CIN+, GP1/
CIN-), as well as the comparator output (GP2/COUT),
are steerable. The CMCON0, OPTION and TRIS
registers are used to steer these pins (see Figure 8-1).
If the Comparator mode is changed, the comparator
output level may not be valid for the specified mode
change delay shown in Table 12-1.
FIGURE 8-1:
BLOCK DIAGRAM OF THE COMPARATOR
T0CKI/GP2/COUT
COUTEN
CPREF
C+
+
C-
COUT(Register)
OSCCAL
Band Gap Buffer
-
(0.6V)
CNREF
POL
CMPON
T0CKI
T0CKI Pin
T0CKSEL
CWU
Q
D
S
Read
CWUF
CMCON
TABLE 8-1:
TMR0 CLOCK SOURCE
FUNCTION MUXING
T0CS CMPT0CS COUTEN
Source
0
x
x
Internal Instruction
Cycle
1
1
1
1
0
0
1
1
0
1
0
1
CMPOUT
CMPOUT
CMPOUT
T0CKI
DS41239D-page 38
© 2007 Microchip Technology Inc.