16
EPSON
S1C63558 TECHNICAL MANUAL
CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Memory Map)
Table 4.1.1 (b) I/O memory map (FF20H–FF42H)
Address
Comment
D3
D2
Register
D1
D0
Name
Init
∗
1
1
0
FF20H
SIK03
SIK02
SIK01
SIK00
R/W
SIK03
SIK02
SIK01
SIK00
0
0
0
0
Enable
Enable
Enable
Enable
Disable
Disable
Disable
Disable
K00–K03 interrupt selection register
FF21H
K03
K02
K01
K00
R
K03
K02
K01
K00
–
∗
2
–
∗
2
–
∗
2
–
∗
2
High
High
High
High
Low
Low
Low
Low
K00–K03 input port data
FF22H
KCP03
KCP02
KCP01
KCP00
R/W
KCP03
KCP02
KCP01
KCP00
1
1
1
1
K00–K03 input comparison register
FF24H
SIK13
SIK12
SIK11
SIK10
R/W
SIK13
SIK12
SIK11
SIK10
0
0
0
0
Enable
Enable
Enable
Enable
Disable
Disable
Disable
Disable
K10–K13 interrupt selection register
FF25H
K12
K11
K10
R
K13
K12
K11
K10
–
∗
2
–
∗
2
–
∗
2
–
∗
2
High
High
High
High
Low
Low
Low
Low
K10–K13 input port data
FF26H
KCP13
KCP12
KCP11
KCP10
R/W
KCP13
KCP12
KCP11
KCP10
1
1
1
1
K10–K13 input comparison register
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
K13
(EVIN)
FF40H
IOC03
IOC02
IOC01
IOC00
R/W
IOC03
IOC02
IOC01
IOC00
0
0
0
0
Output
Output
Output
Output
Input
Input
Input
Input
P00–P03 I/O control register
FF41H
PUL03
PUL02
PUL01
PUL00
R/W
PUL03
PUL02
PUL01
PUL00
1
1
1
1
On
On
On
On
Off
Off
Off
Off
P00–P03 pull-up control register
FF42H
P03
P02
P01
P00
R/W
P03
P02
P01
P00
–
∗
2
–
∗
2
–
∗
2
–
∗
2
High
High
High
High
Low
Low
Low
Low
P00–P03 I/O port data