Hitachi H8/3022 Hardware Manual page 162

H8/3022 series hitachi single-chip microcomputer
Table of Contents

Advertisement

Table 7-8 Port 6 Registers
Address*
Name
H'FFC9
Port 6 data
direction
register
H'FFCB
Port 6 data
register
Note: * Lower 16 bits of the address.
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.
150
Abbreviation
P6DDR
P6DR
7
6
P6 DDR
5
1
0
W
Reserved bits
Initial Value
R/W
Modes 1, 3, 5, and 6
W
H'F8
R/W
H'80
5
4
P6 DDR
P6 DDR
4
3
0
0
W
W
Port 6 data direction 5 to 3, 0
These bits select input or output for port 6 pins
3
2
0
0
W
W
Mode 7
H'80
H'80
1
0
P6 DDR
0
0
0
W
W

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8/3021H8/3020H8/3022 f-ztat

Table of Contents