h8s-2635 Renesas Electronics Corporation., h8s-2635 Datasheet - Page 351

no-image

h8s-2635

Manufacturer Part Number
h8s-2635
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2600 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
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.
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
As shown in table 9-22, 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-22 Port H Pin Functions
0E1A to 0E1H
PHDDR
Pin function
Bit
Initial value :
R/W
Pin Functions
:
:
PH7
— *
R
7
1
PWM output
PH6
— *
R
6
PH5
— *
R
5
0
0
PH7 to PH0 input
PH4
— *
R
4
Rev. 6.00 Feb 22, 2005 page 291 of 1484
PH3
— *
R
3
PH2
— *
R
2
1
PH7 to PH0 output
Section 9 I/O Ports
REJ09B0103-0600
PH1
— *
R
1
PH0
— *
R
0

Related parts for h8s-2635