h8s-2646 Renesas Electronics Corporation., h8s-2646 Datasheet - Page 319

no-image

h8s-2646

Manufacturer Part Number
h8s-2646
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2600 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Port H Data Direction Register (PHDDR)
PHDDR is an 8-bit write-only register, the individual bits of which specify input or output for the
pins of port H. PHDDR cannot be read. If it is, an undefined value will be read.
PHDDR is initialized to H'00 by a reset and in hardware standby mode. It retains its prior state in
software standby mode.
Port H Data Register (PHDR)
PHDR is an 8-bit readable/writeable register that stores output data for the port H pins (PH7 to
PH0).
PHDR is initialized to H'00 by a reset and in hardware standby mode. It retains its prior state in
software standby mode.
Port H Register (PORTH)
Note: * Determined by the state of PH7 to PH0
PORTH is an 8-bit read-only register that shows the pin states. It cannot be written to. Writing of
output data for the port H pins (PH7 to PH0) must always be performed on PHDR.
If a port H read is performed while PHDDR bits are set to 1, the PHDR values are read. If a port H
read is performed while PHDDR bits are cleared to 0, the pin states are read.
Bit
Initial value :
R/W
Bit
Initial value :
R/W
Bit
Initial value :
R/W
:
:
:
:
:
:
PH7DDR PH6DDR PH5DDR PH4DDR PH3DDR PH2DDR PH1DDR PH0DDR
PH7DR
R/W
PH7
— *
W
R
7
0
7
0
7
PH6DR
R/W
PH6
— *
W
R
6
0
6
0
6
PH5DR
R/W
PH5
— *
W
R
5
0
5
0
5
PH4DR
R/W
PH4
— *
W
R
4
0
4
0
4
Rev. 5.00 Sep 22, 2005 page 293 of 1136
PH3DR
R/W
PH3
— *
W
R
3
0
3
0
3
PH2DR
R/W
PH2
— *
W
R
2
0
2
0
2
Section 9 I/O Ports
PH1DR
REJ09B0257-0500
R/W
PH1
— *
W
R
1
0
1
0
1
PH0DR
R/W
PH0
— *
W
R
0
0
0
0
0

Related parts for h8s-2646