Specifications

S1C62N82 TECHNICAL HARDWARE EPSON I-71
CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Analog Voltage Comparator)
Two registers, CMPON and CMPDT, are used in the analog
voltage comparator. The CMPON register switches the
analog voltage comparator on or off to reduce power con-
sumption. The CMPDT register indicates the result of
comparison of the CMPP and CMPM pins.
Writing 1 to the CMPON register turns on the comparator
circuit. After an initial reset, this bit is set to 0. Data in the
CMPON register is read-accessible or write-accessible. A
wait time of at least 1 ms is required for analog voltage
comparator to become stable after its power is turned on.
The comparator response time depends on the potential
difference between the CMPP and CMPM inputs.
When analog voltage comparator is turned on, the circuit
compares the two analog voltages from the CMPP and
CMPM inputs, then outputs the result as binary 0
(CMPM>CMPP) or 1 (CMPP>CMPM). The result of the com-
parison is read from the CMPDT register. Writing to the
CMPDT register is prohibited.
Data in the CMPDT register becomes 1 when CMPON is 0 (analog
voltage comparator circuit is off), and undefined when the CMPP
and / or CMPM input is disconnected. Avoid reading operation
under those conditions.
Operation of analog
voltage comparator
Note