English
Language : 

SH7785 Datasheet, PDF (1449/1692 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer
28. General Purpose I/O Ports (GPIO)
28.2.18 Port B Data Register (PBDR)
PBDR is an 8-bit readable/writable register that stores port B data.
Bit: 7
6
5
4
3
2
1
0
PB7DT PB6DT PB5DT PB4DT PB3DT PB2DT PB1DT PB0DT
Initial value: 0
0
0
0
0
0
0
0
R/W: R/W R/W R/W R/W R/W R/W R/W R/W
Initial
Bit
Bit Name Value R/W Description
7
PB7DT
0*
R/W These bits store output data of a pin which is used as a
6
PB6DT
0*
R/W general-purpose output port. When the pin functions as
a general-purpose output port, reading the port will read
5
PB5DT
0*
R/W out the value of the corresponding bit of this register.
4
PB4DT
0*
R/W When the pin functions as a general-purpose input port,
3
PB3DT
0*
R/W reading the port will read out the status of the
corresponding pin.
2
PB2DT
0*
R/W
1
PB1DT
0
R/W
0
PB0DT
0
R/W
Note: * When the bus mode is set to DU via the bus mode pins (MODE11 and MODE12), the
pin is initially used as a general-purpose input, and the pin status is read from this
register.
Rev.1.00 Jan. 10, 2008 Page 1419 of 1658
REJ09B0261-0100