R01UH0822EJ0100 Rev.1.00
Page 305 of 1041
Jul 31, 2019
RX13T Group
17. I/O Ports
17.4
Initialization of the Port Direction Register (PDR)
Initialize reserved bits in the PDR register according to
The blank columns in
and
indicate the bits corresponding to the pins listed in
The corresponding bits should be set to 1 (output) or 0 (input) depending on the user system.
The columns other than the blank columns in
A reserved bit should be set to 0 (input) or 1 (output) according to
and
When setting a value to a reserved bit, access in byte units.
Table 17.3
PDR Register Settings in 48-Pin Packages
Table 17.4
PDR Register Settings in 32-Pin Packages
Port Symbol
PDR Register
b7
b6
b5
b4
b3
b2
b1
b0
PORT1
0
0
0
0
0
0
PORT2
0
0
0
0
0
PORT3
0
0
0
0
0
0
PORT4
PORT7
0
PORT9
0
0
0
0
0
0
PORTA
0
0
0
0
0
0
PORTB
PORTD
0
0
0
0
Port Symbol
PDR Register
b7
b6
b5
b4
b3
b2
b1
b0
PORT1
0
0
0
0
0
0
1
PORT2
0
0
0
1
1
1
0
0
PORT3
0
0
0
0
0
0
PORT4
1
1
1
PORT7
0
1
PORT9
0
0
0
0
0
0
PORTA
0
0
0
0
0
0
0
0
PORTB
1
1
PORTD
0
1
1
1
1
0
0
0