English
Language : 

C8051F300 Datasheet, PDF (23/176 Pages) List of Unclassifed Manufacturers – Mixed Signal ISP Flash MCU Family
C8051F300/1/2/3/4/5
1.8. Comparator
C8051F300/1/2/3/4/5 devices include an on-chip voltage comparator that is enabled/disabled and config-
ured via user software. All Port I/O pins may be configurated as comparator inputs. Two comparator out-
puts may be routed to a Port pin if desired: a latched output and/or an unlatched (asynchronous) output.
Comparator response time is programmable, allowing the user to select between high-speed and low-
power modes. Positive and negative hysteresis is also configurable.
Comparator interrupts may be generated on rising, falling, or both edges. When in IDLE mode, these inter-
rupts may be used as a “wake-up” source. The comparator may also be configured as a reset source.
P0.0
P0.2
P0.4
P0.6
P0.1
P0.3
P0.5
P0.7
CP0 +
VDD
+
-
D SET Q
Q
CLR
D SET Q
Q
CLR
CP0 -
GND
(SYNCHRONIZER)
Reset
Decision
Tree
Figure 1.11. Comparator Block Diagram
Interrupt
Handler
Crossbar
Rev. 2.8
23