I-78
EPSON
S1C6S3N2 TECHNICAL HARDWARE
CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Analog Comparator)
Table 4.11.1 lists the analog comparator control bits and
their addresses.
Table 4.11.1 Analog comparator control bits
Control of analog
comparator
Address
Comment
Register
D3
D2
D1
D0
Name
0
0F7H
AMPDT
AMPON
R
–
–
AMPDT
AMPON
–
–
1
0
+ > -
ON
- > +
OFF
Unused
Unused
Analog comparator data
Analog comparator ON/OFF
R/W
–
–
SR
*1
1
*
1 Initial value at the time of initial reset
*
2 Not set in the circuit
*
3 Undefined
*
4 Reset (0) immediately after being read
*
5 Constantly "0" when being read
AMPON:
Analog comparator ON/
OFF (0F7H·D0)
Switches the analog comparator ON and OFF.
When "1" is written :
The analog comparator goes ON
When "0" is written :
The analog comparator goes OFF
Read-out :
Valid
The analog comparator goes ON when "1" is written to
AMPON, and OFF when "0" is written.
At initial reset, AMPON is set to "0".
Reads out the output from the analog comparator.
When "1" is read out : AMPP (+) > AMPM (-)
When "0" is read out : AMPP (+) < AMPM (-)
Writing :
Invalid
AMPDT is "0" when the input level of the inverted input
terminal (AMPM) is greater than the input level of the
noninverted input terminal (AMPP); and "1" when smaller.
At initial reset, AMPDT is set to "1".
AMPDT:
Analog comparator data
(0F7H·D1)
Summary of Contents for S1C6S3N2
Page 4: ......
Page 6: ......
Page 7: ...Hardware Hardware S1C6S3N2 I Technical Hardware ...
Page 8: ......
Page 141: ...Software Software S1C6S3N2 II Technical Software ...
Page 142: ......
Page 146: ......