Hitachi H8/3062 Hardware Manual page 202

Single-chip microcomputer
Hide thumbs Also See for H8/3062:
Table of Contents

Advertisement

Port 6
7.7.2 Register Descriptions
Table 7.10 summarizes the registers of port 6.
Table 7.10 Port 6 Registers
Address*
Name
H'EE005
Port 6 data direction register
H'FFFD5
Port 6 data register
Note: * Lower 20 bits of the address in advanced mode.
Port 6 Data Direction Register (P6DDR): P6DDR is an 8-bit write-only register that can select
input or output for each pin in port 6.
Bit 7 is reserved. It is fixed at 1, and cannot be modified.
Bit
Initial value
Read/Write
Reserved bit
Port 6 pins
Modes 1 to 5
(expanded modes)
φ
P6 /
7
LWR
P6 /
6
HWR
P6 /
5
RD
P6 /
4
AS
P6 /
3
BACK
P6 /
P6
2
BREQ
P6 /
P6
1
WAIT
P6 /
P6
0
Figure 7.6 Port 6 Pin Configuration
7
6
P6 DDR
P6 DDR
6
1
0
W
φ
P6
(input)/
7
LWR
HWR
RD
AS
BACK
(input/output)
2
BREQ
(input/output)/
1
WAIT
(input/output)/
0
Abbreviation
P6DDR
P6DR
5
4
P6 DDR
P6 DDR
5
4
0
0
W
W
Port 6 data direction 6 to 0
These bits select input or output for port 6 pins
Modes 6 and 7
(single-chip mode)
(input) / φ(output)
(output)
P6
7
(output)
P6
(input/output)
6
(output)
P6
(input/output)
5
(output)
P6
(input/output)
4
(output)
P6
(input/output)
3
(output)
P6
(input/output)
2
(input)
P6
(input/output)
1
(input)
P6
(input/output)
0
R/W
Initial Value
W
H'80
R/W
H'80
3
2
P6 DDR
P6 DDR
3
2
0
0
W
W
1
0
P6 DDR
1
0
0
0
W
W
181

Advertisement

Table of Contents
loading

Table of Contents