English
Language : 

M16C30P_07 Datasheet, PDF (204/317 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/30 SERIES
M16C/30P Group
18. Programmable I/O Ports
Port Pi Direction Register (i=0 to 7 and 9 to 10) (1, 2)
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
Address
After Reset
PD0 to PD3
03E2h, 03E3h, 03E6h, 03E7h
00h
PD4 to PD7
03EAh, 03EBh, 03EEh, 03EFh
00h
PD9 to PD10
03F3h, 03F6h
00h
Bit Symbol
Bit Name
Function
RW
PDi_0 Port Pi_0 Direction Bit
0 : Input mode
RW
PDi_1
PDi_2
PDi_3
PDi_4
Port Pi_1 Direction Bit
Port Pi_2 Direction Bit
Port Pi_3 Direction Bit
Port Pi_4 Direction Bit
(Functions as an input port)
RW
1 : Output mode
RW
(Functions as an output port)
RW
(i = 0 to 7 and 9 to 10)
RW
PDi_5 Port Pi_5 Direction Bit
RW
PDi_6 Port Pi_6 Direction Bit
RW
PDi_7 Port Pi_7 Direction Bit
RW
NOTES :
1. Make sure the PD9 register is w ritten to by the next instruction after setting the PRC2 bit in the PRCR register to “1”
(w rite enabled).
2. During memory exte__n_s__ion a__n_d__m_ic__rop__r_o_c__es__s_or_m__o__d_e_s__,_t_he PDi r_e_g__is_ te_r__f_o__r_th_e__p__in__s 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.
Port P8 Direction Register
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
Address
After Reset
PD8
Bit Symbol
03F2h
Bit Name
00X00000b
Function
RW
PD8_0 Port P8_0 Direction Bit
0 : Input mode
RW
PD8_1
PD8_2
PD8_3
Port P8_1 Direction Bit
Port P8_2 Direction Bit
Port P8_3 Direction Bit
(Functions as an input port)
RW
1 : Output mode
RW
(Functions as an output port)
RW
PD8_4 Port P8_4 Direction Bit
RW
—
Nothing is assigned. When w rite, set to “0”.
(b5) When read, its content is indeterminate.
—
PD8_6
PD8_7
Port P8_6 Direction Bit
Port P8_7 Direction Bit
0 : Input mode
(Functions as an input port)
RW
1 : Output mode
(Functions as an output port)
RW
Figure 18.7 PDi Registers
Rev.1.22 Mar 29, 2007 Page 188 of 291
REJ09B0179-0122