Qdatasheet_Logo
Integrated circuits, Transistor, Semiconductors Search and Datasheet PDF Download Site

C8051T603 View Datasheet(PDF) - Silicon Laboratories

Part Name
Description
MFG CO.
C8051T603
Silabs
Silicon Laboratories Silabs
'C8051T603' PDF : 168 Pages View PDF
C8051T600/1/2/3/4/5/6
13. Comparator0
C8051T600/1/2/3/4/5/6 devices include an on-chip programmable voltage comparator, Comparator0,
shown in Figure 13.1.
The Comparator offers programmable response time and hysteresis, an analog input multiplexer, and two
outputs that are optionally available at the Port pins: a synchronous “latched” output (CP0), or an asyn-
chronous “raw” output (CP0A). The asynchronous CP0A signal is available even when the system clock is
not active. This allows the Comparator to operate and generate an output with the device in STOP mode.
When assigned to a Port pin, the Comparator output may be configured as open drain or push-pull (see
Section “22.4. Port I/O Initialization” on page 114). Comparator0 may also be used as a reset source (see
Section “19.5. Comparator0 Reset” on page 94).
The Comparator0 inputs are selected by the comparator input multiplexer, as detailed in Section
“13.1. Comparator Multiplexer” on page 63.
CP0EN
CP0OUT
CP0RIF
CP0FIF
CP0HYP1
CP0HYP0
CP0HYN1
CP0HYN0
Comparator
Input Mux
CP0 +
CP0 -
VDD
CP0
Rising-edge
Interrupt Flag
CP0
Falling-edge
Interrupt Flag
+
-
GND
D SET Q
Q CLR
D SET Q
Q CLR
(SYNCHRONIZER)
Reset
Decision
Tree
Interrupt
Logic
CP0
Crossbar
CP0A
CP0MD1
CP0MD0
Figure 13.1. Comparator0 Functional Block Diagram
The Comparator output can be polled in software, used as an interrupt source, and/or routed to a Port pin.
When routed to a Port pin, the Comparator output is available asynchronous or synchronous to the system
clock; the asynchronous output is available even in STOP mode (with no system clock active). When dis-
abled, the Comparator output (if assigned to a Port I/O pin via the Crossbar) defaults to the logic low state,
and the power supply to the comparator is turned off. See Section “22.3. Priority Crossbar Decoder” on
page 111 for details on configuring Comparator outputs via the digital Crossbar. Comparator inputs can be
Rev. 1.2
59
Share Link: GO URL

All Rights Reserved © qdatasheet.com  [ Privacy Policy ] [ Contact Us ]