Specifications
I-70 EPSON S1C62N82 TECHNICAL HARDWARE
CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Analog Voltage Comparator)
Analog Voltage Comparator
The S1C62N82 Series have a built-in analog voltage com-
parator that compares two analog input voltages to produce
result data 0 or 1 in register CMPDT, according to the com-
pared voltages, CMPP and CMPM. The configuration of the
analog voltage comparator circuit is shown in Figure 4.10.1.
The voltage comparator has two analog voltage inputs,
CMPP (non-inverting input, +) and CMPM (inverting input,
-). When the voltage comparator is turned on by control
register CMPON, the result of comparing CMPP and CMPM
will be stored in register CMPDT. Therefore, the result in
the register will indicate whether CMPP is greater than
CMPM (when CMPDT = 1) or smaller than CMPM (when
CMPDT = 0).
4.10
Configuration of
analog voltage
comparator
CMPON
Output
control
Power
control
Data bus (D1)
Address (0FBH)
Data bus (D0)
Address (0FBH)
CMPP
CMPM
V
DD
V
SS
CMPDT
Fig. 4.10.1
Configuration of analog
voltage comparator circuit