Renesas M16C/62P Hardware Manual page 249

Renesas 16-bit single-chip microcomputer
Hide thumbs Also See for M16C/62P:
Table of Contents

Advertisement

M16C/62P Group (M16C/62P, M16C/62PT)
Port Pi Direction Register (i=0 to 7 and 9 to 13)
b7
b6
b5
b4
b3
NOTES :
1. Make sure the PD9 register is written to by the next instruction after setting the PRC2 bit in the PRCR register
to "1" (write enabled).
2. During memory extension and microprocessor modes, the PD register for the pins functioning as bus control
pins (A0 to A19, D0 to D15, CS0 to CS3, RD, WRL/WR, WRH/BHE, ALE, RDY, HOLD, HLDA and BCLK)
cannot be modified.
3. To use ports P11 to P14, set the PU37 bit in the PUR3 register to "1" (enable).
Port P8 Direction Register
b7
b6
b5
b4
b3
Figure 21.7 PD0 to PD13 Registers
R
e
. v
2
3 .
0
S
e
p
0
, 1
2
0
0
4
R
E
J
0
9
B
0
1
8
5
0 -
2
3
0
Z
Symbol
PD0 to PD3
b2
b1
b0
PD4 to PD7
PD9 to PD12
PD13
Bit Symbol
PDi_0
PDi_1
PDi_2
PDi_3
PDi_4
PDi_5
PDi_6
PDi_7
b2
b1
b0
Symbol
PD8
Bit Symbol
PD8_0
Port P8_0 Direction Bit
Port P8_1 Direction Bit
PD8_1
Port P8_2 Direction Bit
PD8_2
PD8_3
Port P8_3 Direction Bit
PD8_4
Port P8_4 Direction Bit
Nothing is assigned. When write, set to "0".
When read, its content is indeterminate.
(b5)
PD8_6
Port P8_6 Direction Bit
PD8_7
Port P8_7 Direction Bit
page 235
f o
3
6
4
(1, 2, 3)
Address
03E2h, 03E3h, 03E6h, 03E7h
03EAh, 03EBh, 03EEh, 03EFh
03F3h, 03F6h, 03F7h, 03FAh
03FBh
Bit Name
Port Pi_0 Direction Bit
Port Pi_1 Direction Bit
Port Pi_2 Direction Bit
Port Pi_3 Direction Bit
Port Pi_4 Direction Bit
Port Pi_5 Direction Bit
Port Pi_6 Direction Bit
Port Pi_7 Direction Bit
Address
03F2h
Bit
Name
21. Programmable I/O Ports
After Reset
Function
0 : Input mode
(Functions as an input port)
1 : Output mode
(Functions as an output port)
(i = 0 to 7 and 9 to 13)
Function
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)
00h
00h
00h
00h
RW
RW
RW
RW
RW
RW
RW
RW
RW
After Reset
00X00000b
RW
RW
RW
RW
RW
RW
RW
RW

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/62pt

Table of Contents