50
EPSON
S1C63358 TECHNICAL MANUAL
CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (I/O Ports)
4.7.5 I/O memory of I/O ports
Tables 4.7.5.1(a) and (b) show the I/O addresses and the control bits for the I/O ports.
Table 4.7.5.1(a) Control bits of I/O ports (1)
D3
D2
D1
D0
Name
Init
∗
1
1
0
Address
Comment
Register
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
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
FF46H
P13
P12
P11
P10
R/W
P13
P12
P11
P10
–
∗
2
–
∗
2
–
∗
2
–
∗
2
High
High
High
High
Low
Low
Low
Low
P13 I/O port data
functions as a general-purpose register when SIF (slave) is selected
P12 I/O port data (ESIF=0)
functions as a general-purpose register when SIF is selected
P11 I/O port data (ESIF=0)
functions as a general-purpose register when SIF is selected
P10 I/O port data (ESIF=0)
functions as a general-purpose register when SIF is selected
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
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
functions as a general-purpose register when SIF (slave) is selected
P12 pull-up control register (ESIF=0)
functions as a general-purpose register when SIF (master) is selected
SCLK (I) pull-up control register when SIF (slave) is selected
P11 pull-up control register (ESIF=0)
functions as a general-purpose register when SIF is selected
P10 pull-up control register (ESIF=0)
SIN pull-up control 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
P20–P23 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
P20–P23 pull-up control register
FF4AH
P23
P22
P21
P20
P23
P22
P21
P20
–
∗
2
–
∗
2
–
∗
2
–
∗
2
High
High
High
High
Low
Low
Low
Low
P20–P23 I/O port data
FF4CH
IOC33
IOC32
IOC31
IOC30
R/W
IOC33
IOC32
IOC31
IOC30
0
0
0
0
Output
Output
Output
Output
Input
Input
Input
Input
P30–P33 I/O control register
*1 Initial value at initial reset
*2 Not set in the circuit
*3 Constantly "0" when being read
Содержание S1C63358
Страница 1: ...Technical Manual CMOS 4 BIT SINGLE CHIP MICROCOMPUTER S1C63358 Technical Hardware S1C63358 MF1022 04 ...
Страница 4: ......
Страница 6: ......