C8051T600/1/2/3/4/5/6
13.1. Comparator Multiplexer
C8051T600/1/2/3/4/5/6 devices include an analog input multiplexer to connect Port I/O pins to the compar-
ator inputs. The Comparator0 inputs are selected in the CPT0MX register (SFR Definition 13.3). The
CMX0P1–CMX0P0 bits select the Comparator0 positive input; the CMX0N1–CMX0N0 bits select the
Comparator0 negative input.
Important Note About Comparator Inputs: The Port pins selected as comparator inputs should be con-
figured as analog inputs in their associated Port configuration register, and configured to be skipped by the
Crossbar (for details on Port configuration, see Section “22.5. Special Function Registers for Accessing
and Configuring Port I/O” on page 118).
CPT0MX
P0.0
P0.2
P0.4
P0.6
P0.1
P0.3
P0.5
P0.7
VDD
CP0 +
+
CP0 -
-
GND
Figure 13.3. Comparator Input Multiplexer Block Diagram
Rev. 1.2
63