Renesas R5S72624 User Manual

Page of 2152
 
Section 32   General Purpose I/O Ports 
Page 1702 of 2108 
 
R01UH0134EJ0400  Rev. 4.00 
 
 Sep 
24, 
2014 
SH7262 Group, SH7264 Group
32.2.6
 
Port B Data Registers 0, 1 (PBDR0, PBDR1) 
PBDR0 and PBDR1 are 16-bit readable/writable registers that store port B data. The PB22DR to 
PB1DR bits correspond to the PB22 to PB1 pins, respectively. 
When a pin function is general output, if a value is written to PBDR1 or PBDR0, the value is 
output directly from the pin, and if PBDR is read, the register value is returned directly regardless 
of the pin state. 
When a pin function is general input, if PBDR1 or PBDR0 is read, the pin state, not the register 
value, is returned directly. If a value is written to PBDR1 or PBDR0, although that value is written 
into PBDR1 or PBDR0, it does not affect the pin state. Table 32.14 summarizes PBDR1/PBDR0 
read/write operation.  
(1)  Port B Data Register 1 (PBDR1) 
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
R
R
R
R
R
R
R
R
R
R/W
R/W
R/W
R/W
R/W
R/W
R/W
-
-
-
-
-
-
-
-
PB22
DR
PB21 
DR
PB20
DR
PB19
DR
PB18
DR
PB17
DR
PB16 
DR
-
Bit:
Initial value:
R/W:
 
 
Bit Bit 
Name 
Initial 
Value R/W 
Description 
15 to 7 
 All 
0 R 
Reserved 
These bits are always read as 0. The write 
value should always be 0. 
PB22DR 
R/W 
See table 32.14 
5 PB21DR 
R/W 
4 PB20DR 
R/W 
3 PB19DR 
R/W 
2 PB18DR 
R/W 
1 PB17DR 
R/W 
0 PB16DR 
R/W