Datasheet
Section 10 I/O Ports
R01UH0309EJ0500 Rev. 5.00 Page 677 of 1408
Sep 24, 2012
H8S/2456, H8S/2456R, H8S/2454 Group
10.16.2 Port H Data Register (PHDR)
PHDR stores output data for the port H pins.
Bit Bit Name Initial Value R/W Description
7 to 4 ⎯ All 0 ⎯ Reserved
These bits are always read as 0 and cannot be
modified.
3 PH3DR 0 R/W
2 PH2DR 0 R/W
1 PH1DR 0 R/W
0 PH0DR 0 R/W
Output data for a pin is stored when the pin function
is specified as a general purpose I/O.
10.16.3 Port H Register (PORTH)
PORTH shows the pin states of port H. PORTH cannot be modified.
Bit Bit Name Initial Value R/W Description
7 to 4 ⎯ Undefined ⎯ Reserved
If these bits are read, they will return an undefined
value.
3 PH3 ⎯* R
2 PH2 ⎯* R
1 PH1 ⎯* R
0 PH0 ⎯* R
If this register is read while a PHDDR bit is set to 1,
the corresponding PHDR value is read. If this
register is read while a PHDDR bit is cleared to 0,
the corresponding pin state is read.
Note: * Determined by the states of pins PH3 to PH0.