18
EPSON
S1C63358 TECHNICAL MANUAL
CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Memory Map)
Table 4.1.1 (b) I/O memory map (FF29H–FF44H)
D3
D2
D1
D0
Name
Init
∗
1
1
0
Address
Comment
Register
FF30H
R03HIZ R02HIZ R01HIZ R00HIZ
R/W
R03HIZ
R02HIZ
R01HIZ
R00HIZ
0
0
0
0
High-Z
High-Z
High-Z
High-Z
Output
Output
Output
Output
R03 output high impedance control (FOUTE=0)
FOUT output high impedance control (FOUTE=1)
R02 output high impedance control (PTOUT=0)
TOUT output high impedance control (PTOUT=1)
R01 output high impedance control
R00 output high impedance control
FF31H
R03
R02
R01
R00
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
R00 output port data
FF32H
0
0
0
R1HIZ
R
R/W
0
∗
3
0
∗
3
0
∗
3
R1HIZ
–
∗
2
–
∗
2
–
∗
2
0
High-Z
Output
FF33H
R13
R12
R11
R10
R/W
R13
R12
R11
R10
1
1
1
1
High
High
High
High
Low
Low
Low
Low
R10–R13 output port data
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
Unused
Unused
Unused
K20 input port data
Unused
Unused
Unused
K20 input comparison register
FF29H
0
0
0
K20
R
0
∗
3
0
∗
3
0
∗
3
K20
–
∗
2
–
∗
2
–
∗
2
–
∗
2
High
Low
FF2AH
0
0
0
KCP20
R
R/W
0
∗
3
0
∗
3
0
∗
3
KCP20
–
∗
2
–
∗
2
–
∗
2
1
FF2BH
0
0
0
SENON
R
R/W
0
∗
3
0
∗
3
0
∗
3
SENON
–
∗
2
–
∗
2
–
∗
2
1
On
Off
Unused
Unused
Unused
Key sense On/Off control
FF34H
0
0
0
R2HIZ
R
R/W
0
∗
3
0
∗
3
0
∗
3
R2HIZ
–
∗
2
–
∗
2
–
∗
2
0
High-Z
Output
Unused
Unused
Unused
R2 output high impedance control
Unused
Unused
Unused
R1 output high impedance 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
FF44H
IOC13
IOC12
IOC11
IOC10
R/W
IOC13
IOC12
IOC11
IOC10
0
0
0
0
Output
Output
Output
Output
Input
Input
Input
Input
P13 I/O control register
functions as a general-purpose register when SIF (slave) is selected
P12 I/O control register (ESIF=0)
functions as a general-purpose register when SIF is selected
P11 I/O control register (ESIF=0)
functions as a general-purpose register when SIF is selected
P10 I/O control register (ESIF=0)
functions as a general-purpose register when SIF is selected