Hitachi H8S/2678 Series Reference Manual page 294

16-bit single-chip microcomputer
Table of Contents

Advertisement

Port F Register (PORTF)
Bit
7
PF7
Initial value
—*
Read/Write
R
Note: * Determined by the state of pins PF7 to PF0.
PORTF is an 8-bit read-only register that shows the pin states. PORTF cannot be written to;
writing of output data for the port F pins (PF7 to PF0) must always be performed on PFDR.
If a port F read is performed while PFDDR bits are set to 1, the PFDR values are read. If a port F
read is performed while PFDDR bits are cleared to 0, the pin states are read.
After a reset and in hardware standby mode, PORTF contents are determined by the pin states, as
PFDDR and PFDR are initialized. PORTF retains its prior state in software standby mode.
Port Function Control Register 2 (PFCR2)
Bit
7
Initial value
0
Read/Write
PFCR2 is an 8-bit readable/writable register that performs I/O port control. PFCR2 is initialized to
H'0E by a reset and in hardware standby mode. It retains its prior state in software standby mode.
Bits 7 to 4—Reserved: These bits are always read as 0, and should only be written with 0.
Bit 3—AS Output Enable (ASOE): Enables or disables AS output.
Bit 3
ASOE
Description
PF6 is designated as I/O port and does not function as AS output pin
0
PF6 is designated as AS output pin
1
6
5
PF6
PF5
—*
—*
R
R
6
5
0
0
4
3
PF4
PF3
—*
—*
R
R
4
3
ASOE
LWROE
0
1
R/W
2
1
PF2
PF1
—*
—*
R
R
2
1
OES
DMACS
1
1
R/W
R/W
(Initial value)
0
PF0
—*
R
0
0
R/W
277

Advertisement

Table of Contents
loading

Table of Contents