
186
EPSON
S1C88409 TECHNICAL MANUAL
CHAPTER 5: PERIPHERAL CIRCUITS AND OPERATION (D/A Converter)
5.19.5 I/O memory of D/A converter
Table 5.19.5.1 shows the D/A converter control bits.
Table 5.19.5.1 D/A converter control bits
Address
Function
R/W
Init
0
1
Comment
Name
Bit
00FF90
–
D/A conversion result output control
–
R/W
–
0
–
Disable
–
Enable
"0" when being read
–
DAE
D7
D6
D5
D4
D3
D2
D1
D0
00FF91
D/A converter
D/A conversion output data register
R/W
0
DADR7
DADR6
DADR5
DADR4
DADR3
DADR2
DADR1
DADR0
D7
D6
D5
D4
D3
D2
D1
D0
D7(MSB)
D6
D5
D4
D3
D2
D1
D0(LSB)
00FFE8
P37 A/D converter input control
P36 A/D converter input control
P35 A/D converter input control
P34 A/D converter input control
P33 A/D converter input control
P32 A/D converter input control
P31 A/D converter input control
P30 A/D converter input control
R/W
0
I/O port
A/D converter
input
PAD7
PAD6
PAD5
PAD4
PAD3
PAD2
PAD1
PAD0
D7
D6
D5
D4
D3
D2
D1
D0
00FFE9
P37 D/A converter output control
P36 D/A converter output control
–
R/W
–
0
–
I/O port
–
D/A converter
output
–
"0" when being read
PDA7
PDA6
–
D7
D6
D5
D4
D3
D2
D1
D0
PDA6, PDA7: D/A converter output control
register (00FFE9HD6, D7)
Sets the P36 and P37 terminals as the analog
output terminals for the D/A converter.
When "1" is written: D/A converter output
When "0" is written: I/O port
Reading: Valid
When "1" is written to the PDA6 register, the P36
terminal is set as the analog output terminal DA0
for the D/A converter.
When "1" is written to the PDA7 register, the P37
terminal is set as the analog output terminal DA1
for the D/A converter.
When "0" is written, the terminal is used with the
I/O port.
Both terminals output the same signal, however,
do not set them as analog output terminals at the
same time.
At initial reset, the PDA register is set to "0" (I/O
port).
PAD6, PAD7: A/D converter input control
register (00FFE8HD6, D7)
The PAD6 and PAD7 registers set the P36 and P37
terminals to the analog input terminal of the A/D
converter, respectively. The setting of the PDA6
and PDA7 registers have priority over those
registers' settings. However, fix the PAD6 (PAD7)
register at "0".
At initial reset, the PAD register is set to "0" (I/O
port).