English
Language : 

SH7205 Datasheet, PDF (1544/1904 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7200 Series
Section 28 I/O Ports
28.2.3 Port B Data Registers H, L (PBDRH, PBDRL)
PBDRH and PBDRL are 16-bit readable/writable registers that store port B data. The PB18DR to
PB0DR bits correspond to the PB18 to PB0 pins, respectively.
When a pin function is general output, if a value is written to PBDRH or PBDRL, that value is
output from the pin, and if PBDRH or PBDRL is read, the register value is returned regardless of
the pin state.
When a pin function is general input, if PBDRH or PBDRL is read, the pin state, not the register
value, is returned directly. If a value is written to PBDRH or PBDRL, although that value is
written into PBDRH or PBDRL, it does not affect the pin state. Table 28.3 summarizes
PBDRH/PBDRL read/write operation.
(1) Port B Data Register H (PBDRH)
Bit: 15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0
-
-
-
-
-
-
-
-
-
-
-
-
-
PB18 PB17 PB16
DR DR DR
Initial value: 0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
R/W: R
R
R
R
R
R
R
R
R
R
R
R
R R/W R/W R/W
Initial
Bit
Bit Name Value R/W Description
15 to 3 —
All 0
R
Reserved
These bits are always read as 0. The write value should
always be 0.
2
PB18DR 0
R/W See table 28.3.
1
PB17DR 0
R/W
0
PB16DR 0
R/W
Rev. 1.00 Mar. 25, 2008 Page 1512 of 1868
REJ09B0372-0100