Section 16 I/O Ports
Rev. 3.00 Sep. 27, 2007 Page 558 of 758
REJ09B0243-0300
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:
Initial value:
R/W:
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
0
0
0
0
0
0
0
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R/W
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
PB16
DR
Bit Bit
Name
Initial
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.
Содержание SH7124 R5F7124
Страница 2: ...Rev 3 00 Sep 27 2007 Page ii of xx ...
Страница 8: ...Rev 3 00 Sep 27 2007 Page viii of xx ...
Страница 36: ...Section 1 Overview Rev 3 00 Sep 27 2007 Page 16 of 758 REJ09B0243 0300 ...
Страница 68: ...Section 2 CPU Rev 3 00 Sep 27 2007 Page 48 of 758 REJ09B0243 0300 ...
Страница 108: ...Section 5 Exception Handling Rev 3 00 Sep 27 2007 Page 88 of 758 REJ09B0243 0300 ...
Страница 166: ...Section 7 User Break Controller UBC Rev 3 00 Sep 27 2007 Page 146 of 758 REJ09B0243 0300 ...
Страница 400: ...Section 9 Multi Function Timer Pulse Unit 2 MTU2 Rev 3 00 Sep 27 2007 Page 380 of 758 REJ09B0243 0300 ...
Страница 724: ...Section 20 List of Registers Rev 3 00 Sep 27 2007 Page 704 of 758 REJ09B0243 0300 ...
Страница 772: ...Rev 3 00 Sep 27 2007 Page 752 of 758 REJ09B0243 0300 ...
Страница 778: ...Rev 3 00 Sep 27 2007 Page 758 of 758 REJ09B0243 0300 ...
Страница 781: ......
Страница 782: ...SH7125 Group SH7124 Group Hardware Manual ...