Register Descriptions; Port Direction Register (Pdr) - Renesas RX100 Series User Manual

32-bit mcu
Hide thumbs Also See for RX100 Series:
Table of Contents

Advertisement

RX13T Group
17.3

Register Descriptions

17.3.1

Port Direction Register (PDR)

Address(es): PORT1.PDR 0008 C001h, PORT2.PDR 0008 C002h, PORT3.PDR 0008 C003h, PORT4.PDR 0008 C004h,
PORT7.PDR 0008 C007h, PORT9.PDR 0008 C009h, PORTA.PDR 0008 C00Ah, PORTB.PDR 0008 C00Bh,
PORTD.PDR 0008 C00Dh
b7
b6
B7
B6
Value after reset:
0
0
Bit
Symbol
b0
B0
b1
B1
b2
B2
b3
B3
b4
B4
b5
B5
b6
B6
b7
B7
m = 1 to 4, 7, 9, A, B, D
PDR is used to select the input or output direction for individual pins of the corresponding port m when the pins are
configured as the general I/O pins.
Each bit of PORTm.PDR corresponds to each pin of port m; I/O direction can be specified in 1-bit units.
Write 1 (output) to each bit of PDR corresponding to port m that does not exist.
Each bit of PDR corresponding to port m that does not exist is reserved. Make settings according to the description in
section 17.4, Initialization of the Port Direction Register (PDR) .
R01UH0822EJ0100 Rev.1.00
Jul 31, 2019
b5
b4
b3
b2
B5
B4
B3
B2
0
0
0
0
Bit Name
Pm0 I/O Select
Pm1 I/O Select
Pm2 I/O Select
Pm3 I/O Select
Pm4 I/O Select
Pm5 I/O Select
Pm6 I/O Select
Pm7 I/O Select
b1
b0
B1
B0
0
0
Description
0: Input (Functions as an input pin.)
1: Output (Functions as an output pin.)
17. I/O Ports
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Page 297 of 1041

Advertisement

Table of Contents
loading

Table of Contents