44
EPSON
S1C63558 TECHNICAL MANUAL
CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (I/O Ports)
4.6.6 I/O memory of I/O ports
Tables 4.6.6.1(a) and (b) show the I/O addresses and the control bits for the I/O ports.
Table 4.6.6.1(a) Control bits of I/O ports
Address
Comment
D3
D2
Register
D1
D0
Name
Init
∗
1
1
0
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
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
General-purpose register when SIF (clock sync. slave) is selected
P12 I/O control register
General-purpose register when SIF (clock sync.) is selected
P11 I/O control register (ESIF=0)
General-purpose register when SIF is selected
P10 I/O control register (ESIF=0)
General-purpose register when SIF is selected
FF45H
PUL13
PUL12
PUL11
PUL10
R/W
PUL13
PUL12
PUL11
PUL10
1
1
1
1
On
On
On
On
Off
Off
Off
Off
P13 pull-up control register
General-purpose register when SIF (clock sync. slave) is selected
P12 pull-up control register
General-purpose register when SIF (clock sync. master) is selected
SCLK (I) pull-up control register
when SIF (clock sync. slave) is selected
P11 pull-up control register (ESIF=0)
General-purpose register when SIF is selected
P10 pull-up control register (ESIF=0)
SIN pull-up control register when SIF is selected
FF46H
P13
(XSRDY)
P12
(XSCLK)
P11
(SOUT)
P10
(SIN)
R/W
P13
P12
P11
P10
–
∗
2
–
∗
2
–
∗
2
–
∗
2
High
High
High
High
Low
Low
Low
Low
P13 I/O port data
General-purpose register when SIF (clock sync. slave) is selected
P12 I/O port data
General-purpose register when SIF (clock sync.) is selected
P11 I/O port data (ESIF=0)
General-purpose register when SIF is selected
P10 I/O port data (ESIF=0)
General-purpose register when SIF is selected
FF48H
IOC23
IOC22
IOC21
IOC20
R/W
IOC23
IOC22
IOC21
IOC20
0
0
0
0
Output
Output
Output
Output
Input
Input
Input
Input
P23 I/O control register (EXLCDC=0)
General-purpose register when FR output is selected
P22 I/O control register (EXLCDC=0)
General-purpose register when CL output is selected
P21 I/O control register
P20 I/O control register
FF49H
PUL23
PUL22
PUL21
PUL20
R/W
PUL23
PUL22
PUL21
PUL20
1
1
1
1
On
On
On
On
Off
Off
Off
Off
P23 pull-up control register (EXLCDC=0)
General-purpose register when FR output is selected
P22 pull-up control register (EXLCDC=0)
General-purpose register when CL output is selected
P21 pull-up control register
P20 pull-up control register
FF4AH
P23
(FR)
P22
(CL)
P21
P20
R/W
P23
P22
P21
P20
–
∗
2
–
∗
2
–
∗
2
–
∗
2
High
High
High
High
Low
Low
Low
Low
P23 I/O port data (EXLCDC=0)
General-purpose register when FR output is selected
P22 I/O port data (EXLCDC=0)
General-purpose register when CL output is selected
P21 I/O port data
P20 I/O port data
*1 Initial value at initial reset
*3 Constantly "0" when being read
*2 Not set in the circuit