Datasheet
PIC10F200/202/204/206
DS41239D-page 38 © 2007 Microchip Technology Inc.
8.1 Comparator Configuration
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
TABLE 8-1: TMR0 CLOCK SOURCE
FUNCTION MUXING
Note: The comparator can have an inverted
output (see Figure 8-1).
+
-
C+
C-
OSCCAL
Band Gap Buffer
(0.6V)
CMPON
POL
T0CKSEL
T0CKI/GP2/COUT
C
OUTEN
COUT(Register)
T0CKI Pin
T0CKI
QD
S
CWUF
Read
CMCON
CWU
CPREF
CNREF
T0CS CMPT0CS COUTEN Source
0x xInternal Instruction
Cycle
10 0CMPOUT
10 1CMPOUT
11 0CMPOUT
11 1T0CKI