English
Language : 

SH7706 Datasheet, PDF (558/749 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperH™ RISC engine Family/SH7700 Series
Section 18 I/O Ports
18.2.2 Port B Data Register (PBDR)
Port B data register (PBDR) is an 8-bit read/write register that stores data for pins PTB7 to PTB0.
PB7DT to PB0DT bit corresponds to PTB7 to PTB0 pin. When the pin function is general output
port, if the port is read the value of the corresponding PBDR bit is returned directly. When the
function is general input port, if the port is read the corresponding pin level is read.
Bit
Bit Name Initial Value R/W Description
7
PB7DT
0
R/W Table 18.2 shows the function of PBDR.
6
PB6DT
0
R/W
5
PB5DT
0
R/W
4
PB4DT
0
R/W
3
PB3DT
0
R/W
2
PB2DT
0
R/W
1
PB1DT
0
R/W
0
PB0DT
0
R/W
Table 18.2 Read/Write Operation of the Port B Data Register (PBDR)
PBnMD1 PBnMD0 Pin State
Read
Write
0
0
Other function PBDR value Value is written to PBDR, but does not affect
pin state.
1
Output
PBDR value Write value is output from pin.
1
0
Input (Pull-up Pin state
MOS on)
Value is written to PBDR, but does not affect
pin state.
1
Input (Pull-up Pin state
Value is written to PBDR, but does not affect
MOS off)
pin state.
Note: n = 0 to 7
Rev. 5.00 May 29, 2006 page 510 of 698
REJ09B0146-0500