289
Port H Data Register (PHDR)
Bit
7
6
5
4
3
2
1
0
—
—
—
—
PH3DR
PH2DR
PH1DR
PH0DR
Initial value
0
0
0
0
0
0
0
0
Read/Write
—
—
—
—
R/W
R/W
R/W
R/W
PHDR is a 4-bit readable/writable register that stores output data for the port H pins (PH3 to PH0).
Bits 7 to 4 are reserved; they are always read as 0 and cannot be modified.
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)
Bit
7
6
5
4
3
2
1
0
—
—
—
—
PH3
PH2
PH1
PH0
Initial value
Undefined Undefined Undefined Undefined
—
*
—
*
—
*
—
*
Read/Write
—
—
—
—
R
R
R
R
Note:
*
Determined by the state of pins PH3 to PH0.
PORTH is a 4-bit read-only register that shows the pin states. PORTH cannot be written to;
writing of output data for the port H pins (PH3 to PH0) must always be performed on PHDR.
Bits 7 to 4 are reserved; if read they will return an undefined value.
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.
Port Function Control Register 0 (PFCR0)
Bit
7
6
5
4
3
2
1
0
CS7E
CS6E
CS5E
CS4E
CS3E
CS2E
CS1E
CS0E
Initial value
1
1
1
1
1
1
1
1
Read/Write
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
PFCR0 is an 8-bit readable/writable register that performs I/O port control. PFCR0 is initialized to
H'FF by a reset and in hardware standby mode. It retains its prior state in software standby mode.
Summary of Contents for H8S/2670
Page 5: ......
Page 9: ......
Page 199: ...182 ...
Page 361: ...344 ...
Page 393: ...376 ...
Page 647: ...630 ...