276
Pin PF3 functions as the
LWR
output pin when LWROE is set to 1. When LWROE is cleared
to 0, pin PF3 is an I/O port and its function can be switched with PF3DDR.
Pins PF2 to PF0 function as bus control input/output pins (
LCAS
,
UCAS
, and
WAIT
) when
the appropriate bus controller settings are made. Otherwise, these pins are output ports when
the corresponding PFDDR bit is set to 1, and input ports when the bit is cleared to 0.
•
Mode 7 (when bit EXPE is set to 1 in SYSCR)
Pin PF7 functions as the ø output pin when the corresponding PFDDR bit is set to 1, and as an
input port when the bit is cleared to 0.
Pin PF6 functions as the
AS
output pin when ASOE is set to 1. When ASOE is cleared to 0,
pin PF6 is an I/O port and its function can be switched with PF6DDR.
The input/output direction specification in PFDDR is ignored for pins PF5 and PF4, which are
automatically designated as bus control outputs (
RD
and
HWR
).
Pin PF3 functions as the
LWR
output pin when LWROE is set to 1. When LWROE is cleared
to 0, pin PF3 is an I/O port and its function can be switched with PF3DDR.
Pins PF2 to PF0 function as bus control input/output pins (
LCAS
,
UCAS
, and
WAIT
) when
the appropriate PFCR2 settings are made. Otherwise, these pins are I/O ports, and their
functions can be switched with PFDDR.
•
Mode 7 (when bit EXPE is cleared to 0 in SYSCR)
Pin PF7 functions as the ø output pin when the corresponding PFDDR bit is set to 1, and as an
input port when the bit is cleared to 0.
Pins PF6 to PF0 are I/O ports, and their functions can be switched with PFDDR.
Port F Data Register (PFDR)
Bit
7
6
5
4
3
2
1
0
PF7DR
PF6DR
PF5DR
PF4DR
PF3DR
PF2DR
PF1DR
PF0DR
Initial value
0
0
0
0
0
0
0
0
Read/Write
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
PFDR is an 8-bit readable/writable register that stores output data for the port F pins (PF7 to PF0).
PFDR is initialized to H'00 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 ...