Hitachi H8S/2646 Hardware Manual page 255

Hitachi 16-bit single-chip microcomputer h8s/2646 series
Table of Contents

Advertisement

Port 1 Register (PORT1)
Bit
:
7
P17
Initial value :
—*
R/W
:
R
Note: * Determined by state of pins P17 to P10.
PORT1 is an 8-bit read-only register that shows the pin states. It cannot be written to. Writing of
output data for the port 1 pins (P17 to P10) must always be performed on P1DR.
If a port 1 read is performed while P1DDR bits are set to 1, the P1DR values are read. If a port 1
read is performed while P1DDR bits are cleared to 0, the pin states are read.
After a reset and in hardware standby mode, PORT1 contents are determined by the pin states, as
P1DDR and P1DR are initialized. PORT1 retains its prior state in software standby mode.
6
5
P16
P15
P14
—*
—*
—*
R
R
4
3
2
P13
P12
—*
—*
R
R
R
1
0
P11
P10
—*
—*
R
R
223

Advertisement

Table of Contents
loading

Table of Contents