English
Language : 

HD64F2638F20J Datasheet, PDF (350/1512 Pages) Renesas Technology Corp – Renesas 16-Bit Single-Chip Microcomputer H8S Family/H8S/2600 Series
Section 9 I/O Ports
H8S/2639, H8S/2638, H8S/2636,
H8S/2630, H8S/2635 Group
Port H Register (PORTH)
Bit
:
7
6
5
4
3
2
1
0
PH7
PH6
PH5
PH4
PH3
PH2
PH1
PH0
Initial value : —*
—*
—*
—*
—*
—*
—*
—*
R/W
:R
R
R
R
R
R
R
R
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.
After a reset and in hardware standby mode, PORTH contents are determined by the pin states, as
PHDDR and PHDR are initialized. PORTH retains its prior state in software standby mode.
9.12.3 Pin Functions
As shown in table 9-23, the port H pin functions can be switched, bit by bit, by changing the
values of OE1A to OE1H of motor control PWM timer PWOCR1 and PHDDR.
Table 9-23 Port H Pin Functions
0E1A to 0E1H
PHDDR
Pin function
1
—
PWM output
0
0
PH7 to PH0 input
1
PH7 to PH0 output
Page 300 of 1458
REJ09B0103-0800 Rev. 8.00
May 28, 2010