Specifications
II-54 EPSON S1C62N82 TECHNICAL SOFTWARE
CHAPTER 3: PERIPHERAL CIRCUITS (Analog Comparator)
3.10 Analog Comparator
The S1C62N82 contains an analog comparator (CMP) the
data of which can be read by software. This circuit can be
turned on and off to save power. The CMPON bit controls
analog comparator (CMP) power on/off. At initial reset, the
CMP circuit is off. While the circuit is not in use, keep this
bit set to "0" to save power.
The output data of the analog comparator appears in
CMPDT, this bit is "1" when CMPP > CMPM, and "0" when
CMPP < CMPM. If the CMPON bit is "0", the CMPDT bit is
fixed at "1".
Analog comparator
memory map
Table 3.10.1 I/O memory map
*1 Initial value following initial reset
*2 Not set in the circuit
*3 Undefined
*4 Reset (0) immediately after being read
*5 Always 0 when being read
*6 Refer to main manual
Address Comment
Register
D3 D2 D1 D0 Name SR
*1
10
0FBH
CSDC 0 CMPDT CMPON
R
0
1
0
LCD drive switch
Analog comparator ON/OFF
Static
+ > -
ON
Dynamic
- > +
OFF
*5
R/W R/W
CSDC
0
CMPDT
CMPON
Comparator's voltage condition:
1 = CMPP(+)input > CMPM(-)input,
0 = CMPM(-)input > CMPP(+)input