Mitsubishi microcomputers
M16C / 62P Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Programmable I/O Ports
216
development
Preliminary Specifications Rev.1.0
Specifications in this manual are tentative and subject to change.
Figure 1.25.7. PD0 to PD13 Registers
Port Pi direction register (i=0 to 7 and 9 to 13) (Note 1, 2, 3)
Symbol
PD0 to PD3
PD4 to PD7
PD9 to PD12
PD13
Address
After reset
00
16
00
16
00
16
00
16
03E2
16
, 03E3
16
, 03E6
16
, 03E7
16
03EA
16
, 03EB
16
, 03EE
16
, 03EF
16
03F3
16
, 03F6
16
, 03F7
16
, 03FA
16
03FB
16
Bit name
Function
Bit symbol
PDi_0
PDi_1
PDi_2
PDi_3
RW
RW
RW
RW
RW
RW
RW
RW
RW
b7
b6
b5
b4
b3
b2
b1
b0
Port Pi
0
direction bit
Port Pi
1
direction bit
Port Pi
2
direction bit
Port Pi
3
direction bit
PDi_4
PDi_5
PDi_6
PDi_7
Port Pi
4
direction bit
Port Pi
5
direction bit
Port Pi
6
direction bit
Port Pi
7
direction bit
0 : Input mode
(Functions as an input port)
1 : Output mode
(Functions as an output port)
(i = 0 to 7 and 9 to 13)
Port P8 direction register
Symbol
PD8
Address
03F2
16
After reset
00X00000
2
Bit name
Function
Bit symbol
PD8_0
PD8_1
PD8_2
b7
b6
b5
b4
b3
b2
b1
b0
Port P8
0
direction bit
Port P8
1
direction bit
Port P8
2
direction bit
PD8_3
PD8_4
Port P8
3
direction bit
Port P8
4
direction bit
Nothing is assigned. In an attempt to write to this bit, write “0”.
The value, if read, turns out to be indeterminate.
PD8_6
Port P8
6
direction bit
PD8_7
Port P8
7
direction bit
0 : Input mode
(Functions as an input port)
1 : Output mode
(Functions as an output port)
0 : Input mode
(Functions as an input port)
1 : Output mode
(Functions as an output port)
Note 1: Make sure the PD9 register is written to by the next instruction after setting the PRCR
register’s PRC2 bit to “1” (write enabled).
Note 2: During memory extension and microprocessor modes, the PD register for the pins
functioning as bus control pins (A
0
to A
19
, D
0
to D
15
, CS
0
to CS
3
, RD, WRL/WR, WRH/BHE,
ALE, RDY, HOLD, HLDA and BCLK) cannot be modified.
Note 3: To use ports P11 to P14, set the PUR3 register’s PU37 bit to “1” (enable). If this bit is set to
“0” (disable), the P11 to P14 pins are placed in the high-impedance state.
RW
RW
RW
RW
RW
RW
RW
RW
(b5)