GMS81508/16
49
Pin Function According to Operation Modes
PIN
Single Chip Mode
Microprocessor Mode
R00/D0
I/O
I/O
R01/D1
I/O
I/O
R02/D2
I/O
Programmable I/O Port
I/O
Data I/O Port from/to External Memory
R03/D3
I/O
I/O
for CPU.
R04/D4
I/O
I/O
R05/D5
I/O
I/O
R06/D6
I/O
I/O
R07/D7
I/O
I/O
3.2. R1 PORT
R1 Port is composed of 8-bit programmable I/O pin.
Register Name
Symbol
R/W
Address
Initial Value
R0 I/O Direction Register
R1DD
W
00C3
H
0000 0000
R0 PORT Data Register
R1
R/W
00C2
H
Not initialized
R1 PORT I/O DIRECTION REGISTER
R1 PORT DATA REGISTER
Pin Function According to Operation Modes
Determines I/O of R1 port
0 : Input
1 : Output
<00C3
H
>
R1DD
7
R1DD7
6
R1DD6
5
R1DD5
4
R1DD4
3
R1DD3
2
R1DD2
1
R1DD1
0
R1DD0
W
W
W
W
W
W
W
W
Port R1 output data
<00C2
H
>
R1
7
R17
6
R16
5
R15
4
R14
3
R13
2
R12
1
R1
0
R10
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W