English
Language : 

M16C30P_07 Datasheet, PDF (205/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 Register (i=0 to 7 and 9 to 10) (2)
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
Address
After Reset
P0 to P3
03E0h, 03E1h, 03E4h, 03E5h
Indeterminate
P4 to P7
03E8h, 03E9h, 03ECh, 03EDh
Indeterminate
P9 to P10
03F1h, 03F4h
Indeterminate
Bit Symbol
Bit Name
Function
RW
Port Pi_0 Bit
Pi_0
The pin level on any I/O port w hich is set for input
mode can be read by reading the corresponding bit in RW
Port Pi_1 Bit
Pi_1
this register.
The pin level on any I/O port w hich is set for output RW
Port Pi_2 Bit
Pi_2
mode can be controlled by w riting to the
orresponding bit in this register
RW
Port Pi_3 Bit
0 : “L” level
Pi_3
1 : “H” level (1)
RW
(i = 0 to 7 and 9 to 10)
Port Pi_4 Bit
Pi_4
RW
Port Pi_5 Bit
Pi_5
RW
Port Pi_6 Bit
Pi_6
RW
Port Pi_7 Bit
Pi_7
RW
NOTES :
1. Since P7_0 and P7_1 are N-channel open drain ports, the data is high-impedance.
2. During memory e_x_t_e__nsio_n__a__nd__m_ic_r_o_p__r_oc__e_ss_o__r_m__o_d__e_s_, the Pi_r_e__g_ist_e__r__f_o_r t_h_e___p_i_ns 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 Register
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
Address
After Reset
P8
03F0h
Indeterminate
Bit Symbol
Bit Name
Function
RW
P8_0 Port P8_0 Bit
The pin level on any I/O port w hich is set for input mode RW
P8_1
P8_2
P8_3
P8_4
P8_5
P8_6
P8_7
Port P8_1 Bit
Port P8_2 Bit
Port P8_3 Bit
Port P8_4 Bit
Port P8_5 Bit
Port P8_6 Bit
Port P8_7 Bit
can be read by reading the corresponding bit in this
RW
register.
RW
The pin level on any I/O port w hich is set for output
RW
mode can be controlled by w riting to the corresponding RW
bit in this register (except for P8_5)
RO
0 : “L” level
RW
1 : “H” level
RW
Figure 18.8 Pi Registers
Rev.1.22 Mar 29, 2007 Page 189 of 291
REJ09B0179-0122