S1C63558 TECHNICAL MANUAL EPSON 37
CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Output Ports)
4.5.5 I/O memory of output ports
Table 4.5.5.1 shows the I/O addresses and control bits for the output ports.
Table 4.5.5.1 Control bits of output ports
Address Comment
D3 D2
Register
D1 D0 Name Init
∗1
10
FF06H
FOUTE 0 FOFQ1 FOFQ0
R/W R R/W
FOUTE
0
∗
3
FOFQ1
FOFQ0
0
–
∗
2
0
0
FOUT DC
FF13H
CHFO CHDO CRMO CTMO
R/W
CHFO
CHDO
CRMO
CTMO
0
0
0
0
HFO
HDO
XRMUTE
XTMUTE
DC
DC
DC
DC
R13 output selection (R13 should be fixed at "1".)
R12 output selection (R12 should be fixed at "1".)
R11 output selection (R11 should be fixed at "1".)
R10 output selection (R10 should be fixed at "1".)
R03 output selection (R03 should be fixed at "1".)
Unused
FOUT
frequency
selection
0
f
OSC1
/64
1
f
OSC1
/8
2
f
OSC1
3
f
OSC3
[FOFQ1, 0]
Frequency
FF30H
R03HIZ R02HIZ R01HIZ R00HIZ
R/W
R03HIZ
R02HIZ
R01HIZ
R00HIZ
0
0
0
0
Hi-Z
Hi-Z
Hi-Z
Hi-Z
Output
Output
Output
Output
R03 (FOUTE=0)/FOUT (FOUTE=1) Hi-z control
R02 (PTOUT=0)/TOUT (PTOUT=1) Hi-z control
R01 (BZOUT=0)/BZ (BZOUT=1) Hi-z control
R00 (XBZOUT=0)/XBZ (XBZOUT=1) Hi-z control
FF31H
R03
(FOUT)
R02
(TOUT)
R01
(BZ)
R00
(XBZ)
R/W
R03
R02
R01
R00
1
1
1
1
High
High
High
High
Low
Low
Low
Low
R03
output port data (
FOUTE=0
) Fix at "1" when
FOUT
is used.
R02
output port data (
PTOUT=0
) Fix at "1" when
TOUT
is used.
R01
output port data (
BZOUT=0
) Fix at "1" when
BZ
is used.
R00
output port data (
XBZOUT=0
) Fix at "1" when
XBZ
is used.
FF32H
R13HIZ R12HIZ R11HIZ R10HIZ
R/W
R13HIZ
R12HIZ
R11HIZ
R10HIZ
0
0
0
0
Hi-Z
Hi-Z
Hi-Z
Hi-Z
Output
Output
Output
Output
R13 (CHFO=0)/HFO (CHFO=1) Hi-z control
R12 (CHDO=0)/HDO (CHDO=1) Hi-z control
R11 (CRMO=0)/XRMUTE (CRMO=1) Hi-z control
R10 (CTMO=0)/XTMUTE (CTMO=1) Hi-z control
FF33H
R13
(HFO)
R12
(HDO)
R11
(XRMUTE)
R10
(XTMUTE)
R/W
R13
R12
R11
R10
1
1
1
1
High
High
High
High
Low
Low
Low
Low
R13 output port data (CHFO=0) Fix at "1" when HFO is used.
R12 output port data (CHDO=0) Fix at "1" when HDO is used.
R11 output port data (CRMO=0) Fix at "1" when XRMUTE is used.
R10 output port data (CTMO=0) Fix at "1" when XTMUTE is used.
FF34H
R23HIZ R22HIZ R21HIZ R20HIZ
R/W
R23HIZ
R22HIZ
R21HIZ
R20HIZ
0
0
0
0
Hi-Z
Hi-Z
Hi-Z
Hi-Z
Output
Output
Output
Output
R20–R23 Hi-z control
FF35H
R23 R22 R21 R20
R/W
R23
R22
R21
R20
1
1
1
1
High
High
High
High
Low
Low
Low
Low
R20–R23 output port data
FF65H
00BZOUT XBZOUT
R R/W
0
∗
3
0
∗
3
BZOUT
XBZOUT
–
∗
2
–
∗
2
0
0
BZ
XBZ
DC
DC
Unused
Unused
R01 output selection (R01 should be fixed at "1".)
R00 output selection (R00 should be fixed at "1".)
CHSEL
PTOUT
CKSEL1
CKSEL0
0
0
0
0
Timer1
On
OSC3
OSC3
Timer0
Off
OSC1
OSC1
TOUT output channel selection
TOUT output control
Prescaler 1 source clock selection
Prescaler 0 source clock selection
R/W
FFC1H
CHSEL PTOUT CKSEL1 CKSEL0
*1 Initial value at initial reset
*2 Not set in the circuit
*3 Constantly "0" when being read