![Hitachi H8/3008 Скачать руководство пользователя страница 162](http://html.mh-extra.com/html/hitachi/h8-3008/h8-3008_hardware-manual_140473162.webp)
146
Bit 7 is reserved. It is fixed at 1, and cannot be modified.
Bit
Initial value
Read/Write
7
—
1
—
6
P6 DDR
0
W
6
5
P6 DDR
0
W
5
4
P6 DDR
0
W
4
3
P6 DDR
0
W
3
2
P6 DDR
0
W
2
1
P6 DDR
0
W
1
0
P6 DDR
0
W
0
Port 6 data direction 6 to 0
These bits select input or output for port 6 pins
Reserved bit
•
Modes 1 to 4 (Expanded Modes)
P6
7
functions as the clock output pin (
φ
) or an input port. P6
7
is the clock output pin (ø) if the
PSTOP bit in MSTRCH is cleared to 0 (initial value), and an input port if this bit is set to 1.
P6
6
to P6
3
function as bus control output pins (
LWR
,
HWR
,
RD
, and
AS
), regardless of the
settings of bits P6
6
DDR to P6
3
DDR.
P6
2
to P6
0
function as bus control input/output pins (
BACK
,
BREQ
, and
WAIT
) or
input/output ports. For the method of selecting the pin functions, see table 7.7.
When P6
2
to P6
0
function as input/output ports, the pin becomes an output port if the
corresponding P6DDR bit is set to 1, and an input port if this bit is cleared to 0.
Port 6 Data Register (P6DR): P6DR is an 8-bit readable/writable register that stores output data
for port 6. When port 6 functions as an output port, the value of this register is output. For bit 7, a
value of 1 is returned if the bit is read while the PSTOP bit in MSTCRH is cleared to 0, and the
P67 pin logic level is returned if the bit is read while the PSTOP bit is set to 1. Bit 7 cannot be
modified. For bits 6 to 0, the pin logic level is returned if the bit is read while the corresponding
bit in P6DDR is cleared to 0, and the P6DR value is returned if the bit is read while the
corresponding bit in P6DDR is set to 1.
Bit
Initial value
Read/Write
7
P6
7
1
R
6
P6
0
R/W
6
5
P6
0
R/W
5
4
P6
0
R/W
4
3
P6
0
R/W
3
2
P6
0
R/W
2
1
P6
0
R/W
1
0
P6
0
R/W
0
Port 6 data 7 to 0
These bits store data for port 6 pins
P6DR is initialized to H'80 by a reset and in hardware standby mode. In software standby mode it
retains its previous setting.
Содержание H8/3008
Страница 1: ...Hitachi 16 Bit Microcomputer H8 3008 Hardware Manual ADE 602 221 Rev 1 0 9 14 00 Hitachi Ltd ...
Страница 4: ......
Страница 17: ...xii ...
Страница 70: ...54 ...
Страница 114: ...98 ...
Страница 154: ...138 ...
Страница 314: ...298 ...
Страница 412: ...396 ...
Страница 496: ...480 ...