English
Language : 

R8C29 Datasheet, PDF (74/471 Pages) Renesas Technology Corp – RENESAS 16-BIT SINGLE-CHIP MCU R8C FAMILY / R8C/2x SERIES
R8C/28 Group, R8C/29 Group
7. Programmable I/O Ports
Port Pi Direction Register (i = 1, 3, 4)(1, 2)
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
Address
After Reset
PD1
00E3h
00h
PD3
00E7h
00h
PD4
00EAh
00h
Bit Symbol
Bit Name
Function
RW
PDi_0 Port Pi_0 direction bit
0 : Input mode
RW
PDi_1
PDi_2
PDi_3
Port Pi_1 direction bit
Port Pi_2 direction bit
Port Pi_3 direction bit
(functions as an input port)
RW
1 : Output mode
RW
(functions as an output port)
RW
PDi_4 Port Pi_4 direction bit
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. Bits PD3_0 to PD3_2 and PD3_6 in the PD3 register are unavailable on this MCU.
If it is necessary to set bits PD3_0 to PD3_2 and PD3_6, set to 0 (input mode). When read, the content is 0.
2. Bits PD4_0 to PD4_4, PD4_6, and PD4_7 in the PD4 register are unavailable on this MCU.
If it is necessary to set bits PD4_0 to PD4_4, PD4_6, and PD4_7, set to 0 (input mode). When read, the content is 0.
Figure 7.6 PDi (i = 1, 3, 4) Register
Port Pi Register (i = 1, 3, 4)(1, 2)
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
Address
After Reset
P1
00E1h
00h
P3
00E5h
00h
P4
00E8h
00h
Bit Symbol
Bit Name
Function
RW
Pi_0 Port Pi_0 bit
Pi_1 Port Pi_1 bit
Pi_2 Port Pi_2 bit
Pi_3 Port Pi_3 bit
Pi_4 Port Pi_4 bit
Pi_5 Port Pi_5 bit
Pi_6 Port Pi_6 bit
Pi_7 Port Pi_7 bit
The pin level of any I/O port w hich is set RW
to input mode can be read by reading the RW
corresponding bit in this register. The pin RW
level of any I/O port w hich is set to output RW
mode can be controlled by w riting to the RW
corresponding bit in this register.
RW
0 : “L” level
RW
1 : “H” level
RW
NOTES:
1. Bits P3_0 to P3_2 and P3_6 in the P3 register are unavailable on this MCU.
If it is necessary to set bits P3_0 to P3_2 and P3_6, set to 0 (“L” level). When read, the content is 0.
2. Bits P4_0, P4_1, P4_3, and P4_4, in the P4 register are unavailable on this MCU.
If it is necessary to set bits P4_0, P4_1, P4_3, and P4_4, set to 0 (“L” level). When read, the content is 0.
Figure 7.7 Pi (i = 1, 3, 4) Register
Rev.2.10 Sep 26, 2008 Page 57 of 441
REJ09B0279-0210