Hitachi H8/3022 Hardware Manual page 163

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

Advertisement

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
When a bit in P6DDR is set to 1, if port 6 is read the value of the corresponding P6DR bit is
returned directly. When a bit in P6DDR is cleared to 0, if port 6 is read the corresponding pin level
is read. Bits 7, 6, 2, and 1 are reserved. Bit 7 cannot be modified and always reads 1. Bits 6, 2, and
1 can be written and read, but cannot be used as ports. If bit 6, 2, or 1 in P6DDR is read while its
value is 1, the value of the corresponding bit in P6DR will be read. If bit 6, 2, or 1 in P6DDR is
read while its value is 0, it will always read 1.
P6DR is initialized to H'80 by a reset and in hardware standby mode. In software standby mode it
retains its previous setting.
7
6
1
0
R/W
Reserved bits
5
4
P6
P6
4
5
0
0
R/W
R/W
3
2
P6
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
0
0
0
R/W
R/W
151

Advertisement

Table of Contents
loading

This manual is also suitable for:

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

Table of Contents