Z8 Encore! XP
®
4K Series
Product Specification
130
Comparator
Overview
The Z8 Encore! XP
®
4K Series devices feature a general purpose comparator that com-
pares two analog input signals. These analog signals may be external stimulus from a pin
(CINP and/or CINN) or internally generated signals. Both a programmable voltage refer-
ence and the temperature sensor output voltage are available internally. The output is
available as an interrupt source or can be routed to an external pin.
CINP Pin
Temperature
Sensor
INPSEL
REFLVL
INNSEL
To
COUT
Pin
+
-
To Interrupt
Controller
Comparator
Internal
Reference
CINN Pin
Figure 20.Comparator Block Diagram
Operation
When the positive comparator input exceeds the negative input by more than the specified
hysteresis, the output is a logic HIGH. When the negative input exceeds the positive by
more than the hysteresis, the output is a logic LOW. Otherwise, the comparator output
retains its present value. Refer to
for details.
PS022815-0206
Comparator