Renesas R5S72623 用户手册
Section 32 General Purpose I/O Ports
Page 1704 of 2108
R01UH0134EJ0400 Rev. 4.00
Sep
24,
2014
SH7262 Group, SH7264 Group
Table 32.14 Port B Data Registers 1, 0 (PBDR1, PBDR0) Read/Write Operation
Bits 6 to 0 of PBDR1 and Bits 15 to 1 of PBDR0
PBIOR1, 0
Pin Function
Read
Operation Write
Operation Write
Operation
0
General input
Pin state
Can write to PBDR0/PBDR1, but it has no effect
on the pin state.
on the pin state.
Other than
general input
general input
Pin state
Can write to PBDR0/PBDR1, but it has no effect
on the pin state.
on the pin state.
1 General
output
PBDR0/PBDR1
value
value
Value written is output to the pin
Other
than
general output
PBDR0/PBDR1
value
value
Can write to PBDR0/PBDR1, but it has no effect
on the pin state.
on the pin state.
32.2.7
Port B Port Registers 0, 1 (PBPR0, PBPR1)
PBPR (PBPR0, PBPR1) is 16-bit read-only register, in which the PB22PR to PB1PR bits
correspond to the PB22 to PB1 pins, respectively. PBPR always returns the states of the pins
regardless of the PBCR5 to PBCR0 settings.
correspond to the PB22 to PB1 pins, respectively. PBPR always returns the states of the pins
regardless of the PBCR5 to PBCR0 settings.
(1) Port B Port Register 1 (PBPR1)
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
PB22 PB21 PB20 PB19 PB18 PB17 PB16
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
-
-
-
-
-
-
-
-
PB22
PR
PB21
PR
PB20
PR
PB19
PR
PB18
PR
PB17
PR
PB16
PR
-
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.
value should always be 0.
6
PB22PR
Pin state
R
The pin state is returned. These bits cannot be
modified.
modified.
5 PB21PR
Pin
state
R
4 PB20PR
Pin
state
R
3 PB19PR
Pin
state
R
2 PB18PR
Pin
state
R
1 PB17PR
Pin
state
R
0 PB16PR
Pin
state
R