Hitachi F-ZTAT H8/3039 Series Hardware Manual page 165

Single-chip microcomputer
Table of Contents

Advertisement

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
Initial value
Read/Write
Bits 7, 6, 2, and 1 are reserved.
P6DDR is a write-only register. Its value cannot be read. All bits return 1 when read.
P6DDR is initialized to H'80 by a reset and in hardware standby mode. In software standby mode
it retains its previous setting. If a P6DDR bit is set to 1, the corresponding pin maintains its output
state in software standby mode.
Port 6 Data Register (P6DR): P6DR is an 8-bit readable/writable register that stores data for pins
P6
to P6
and P6
.
5
3
0
Bit
Initial value
Read/Write
Reserved bits
154
7
6
P6 DDR
5
1
0
W
Reserved bits
7
6
P6
1
0
R/W
R/W
5
4
P6 DDR
P6 DDR
4
3
0
0
W
W
W
Port 6 data direction 5 to 3, 0
These bits select input or output for port 6 pins
5
4
P6
P6
4
5
0
0
R/W
R/W
3
2
0
0
W
W
3
2
3
0
0
R/W
R/W
Port 6 data 5 to 3, 0
These bits store data for port 6 pins
1
0
P6 DDR
0
0
0
W
1
0
P6
0
0
0
R/W

Advertisement

Table of Contents
loading

This manual is also suitable for:

F-ztat h8/3039F-ztat h8/3038F-ztat h8/3037F-ztat h8/3036

Table of Contents