C8051F120/1/2/3/4/5/6/7
Rev. 1.2
111
11.
COMPARATORS
C8051F120/1/2/3/4/5/6/7 devices include two on-chip programmable voltage comparators as shown in Figure 11.1.
The inputs of each Comparator are available at dedicated pins. The output of each comparator is optionally available
at the package pins via the I/O crossbar. When assigned to package pins, each comparator output can be programmed
to operate in open drain or push-pull modes. See
Section “19.1. Ports 0 through 3 and the Priority Crossbar
Decoder” on page 217
for Crossbar and port initialization details.
Figure 11.1. Comparator Functional Block Diagram
+
-
Q
Q
SET
CLR
D
Q
Q
SET
CLR
D
Crossbar
Interrupt
Handler
Reset
Decision
Tree
(SYNCHRONIZER)
CP0+
CP0-
AGND
CPT
0CN
CP0HYN0
CP0
M
D
CP0HYN1
CP0HYP0
CP0HYP1
CP0FIF
CP0RIF
CP0OUT
CP0EN
AV+
CPT
0M
D
CP0MD0
CP0MD1
CP0FIE
CP0RIE
CP0MD
+
-
Q
Q
SET
CLR
D
Q
Q
SET
CLR
D
Crossbar
Interrupt
Handler
(SYNCHRONIZER)
CP1+
CP1-
AGND
CP
T
1C
N
CP1HYN0
CP
1MD
CP1HYN1
CP1HYP0
CP1HYP1
CP1FIF
CP1RIF
CP1OUT
CP1EN
AV+
CP
T
1M
D
CP1MD0
CP1MD1
CP1FIE
CP1RIE
CP1MD
Summary of Contents for C8051F120
Page 2: ...C8051F120 1 2 3 4 5 6 7 2 Rev 1 2 Notes ...
Page 8: ...C8051F120 1 2 3 4 5 6 7 8 Rev 1 2 26 2 Flash Programming Commands 318 26 3 Debug Support 321 ...
Page 16: ...C8051F120 1 2 3 4 5 6 7 16 Rev 1 2 Notes ...
Page 48: ...C8051F120 1 2 3 4 5 6 7 48 Rev 1 2 ...
Page 98: ...C8051F120 1 2 3 4 5 6 7 98 Rev 1 2 ...
Page 106: ...C8051F120 1 2 3 4 5 6 7 106 Rev 1 2 Notes ...
Page 183: ...C8051F120 1 2 3 4 5 6 7 Rev 1 2 183 Notes ...
Page 184: ...C8051F120 1 2 3 4 5 6 7 184 Rev 1 2 ...
Page 214: ...C8051F120 1 2 3 4 5 6 7 214 Rev 1 2 Notes ...