
Programmable I/O Port
Mitsubishi microcomputers
M30220 Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
148
Figure 1.19.7. Port register
Port Pi register (Note)
Symbol
Address
When reset
Pi ( i = 0 to 12 except 3 and 7) 03E016, 03E116, 03E416, 03E816,
Indeterminate
03E916, 03EC16, 03F016, 03F116,
03F416, 03F516, 03F816
Bit name
Function
Bit symbol
W
R
b7
b6
b5
b4
b3
b2
b1
b0
Port P3 register
Symbol
Address
When reset
P3
03E516
Indeterminate
Bit mame
Function
Bit symbol
W
R
Port P7 register
Symbol
Address
When reset
P7
03ED16
Indeterminate
W
R
Port P13 register
Symbol
Address
When reset
P13
03F916
Indeterminate
W
R
b7
b6
b5
b4
b3
b2
b1
b0
Note : Do not access the Port P12 register in words.
Pi_0
Port Pi0 register
Pi_1
Port Pi1 register
Pi_2
Port Pi2 register
Pi_3
Port Pi3 register
Pi_4
Port Pi4 register
Pi_5
Port Pi5 register
Pi_6
Port Pi6 register
Pi_7
Port Pi7 register
Data is input an tput to and
from each pin by reading and
writing to and from each
corresponding bit
0 : “L” level data
1 : “H” level data
(i = 0 to 12 except 3 and 7)
Data is input and output to and
from each pin by reading and
writing to and from each
corresponding bit
0 : “L” level data
1 : “H” level data
P3_0
Port P30 register
P3_1
Port P31 register
P3_2
Port P32 register
P3_3
Port P33 register
P3_4
Port P34 register
P3_5
Port P35 register
P7_0
Port P70 register
P7_1
Port P71 register
P7_2
Port P72 register
P7_3
Port P73 register
P7_4
Port P74 register
P7_5
Port P75 register
P7_6
Port P76 register
P7_7
Port P77 register
Data is input and output to and
from each pin by reading and
writing to and from each
corresponding bit
(except for P77)
0 : “L” level data
1 : “H” level data (Note)
P13_0
Port P130 register
P13_1
Port P131 register
P13_2
Port P132 register
Nothing is assigned.
In an attempt to write to these bits, write “0”. The value, if read, turns out to be
indeterminate.
Nothing is assigned.
In an attempt to write to these bits, write “0”. The value, if read, turns out to be
indeterminate.
Bit mame
Function
Bit symbol
Bit mame
Function
Bit symbol
Data is input and output to and
from each pin by reading and
writing to and from each
corresponding bit
0 : “L” level data
1 : “H” level data
b7
b6
b5
b4
b3
b2
b1
b0
b7
b6
b5
b4
b3
b2
b1
b0
Note : Since P70 and P71 are N-channel open drain ports, the data is high-impedance.