English
Language : 

SH7125_08 Datasheet, PDF (580/774 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperH™ RISC engine Family
Section 16 I/O Ports
16.2.2 Port B Data Registers H and L (PBDRH and PBDRL)
PBDRH and PBDRL are 16-bit readable/writable registers that store port B data. Bits PB16DR,
PB5DR, and PB3DR to PB1DR correspond to pins PB16, PB5, and PB3 to PB1, respectively
(multiplexed functions omitted here) in the SH7125. Bits PB5DR, PB3DR, and PB1DR
correspond to pins PB5, PB3, and PB1, respectively (multiplexed functions omitted here) in the
SH7124.
When a pin function is general output, if a value is written to PBDRH or PBDRL, that value is
output directly from the pin, and if PBDRH or PBDRL is read, the register value is returned
directly 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 16.4 summarizes port B data
register read/write operations.
• PBDRH (SH7125)
Bit: 15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
PB16
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
R R/W
Initial
Bit
Bit Name Value R/W Description
15 to 1 —
All 0
R
Reserved
These bits are always read as 0. The write value should
always be 0.
0
PB16DR 0
R/W See table 16.4.
Rev. 4.00 Jul. 25, 2008 Page 560 of 750
REJ09B0243-0400