Register Configuration - Renesas H8S Series Hardware Manual

16-bit single-chip microcomputer
Hide thumbs Also See for H8S Series:
Table of Contents

Advertisement

9.13.2

Register Configuration

Table 9-23 shows the port F register configuration.
Table 9-23 Port F Registers
Name
Port F data direction register
Port F data register
Port F register
Notes: 1. Lower 16 bits of the address.
2. Initial value depends on the mode.
Port F Data Direction Register (PFDDR)
Bit
:
7
PF7DDR PF6DDR PF5DDR PF4DDR PF3DDR PF2DDR PF1DDR PF0DDR
Mode 7
Initial value :
0
R/W
:
W
Modes 4 to 6
Initial value :
1
R/W
:
W
PFDDR is an 8-bit write-only register, the individual bits of which specify input or output for the pins of port F. PFDDR
cannot be read; if it is, an undefined value will be read.
PFDDR is initialized by a power-on reset, and in hardware standby mode, to H'80 in modes 4 to 6, and to H'00 in mode 7.
It retains its prior state after a manual reset*, and in software standby mode. The OPE bit in SBYCR is used to select
whether the bus control output pins retain their output state or become high-impedance when a transition is made to
software standby mode.
Note: * Manual reset is only supported in the H8S/2357 ZTAT.
• Mode 7*
Setting a PFDDR bit to 1 makes the corresponding port F pin PF
output pin. Clearing the bit to 0 makes the pin an input port.
Note: * Modes 6 and 7 are provided in the on-chip ROM version only.
• Modes 4 to 6*
Pin PF
functions as the ø output pin when the corresponding PFDDR bit is set to 1, and as an input port when the bit is
7
cleared to 0.
The input/output direction specified by PFDDR is ignored for pins PF
bus control outputs (AS, RD, HWR, and LWR).
are designated as bus control input/output pins (LCAS, WAIT, BREQO, BACK, and BREQ) by means
Pins PF
to PF
2
0
of bus controller settings. At other times, setting a PFDDR bit to 1 makes the corresponding port F pin an output port,
while clearing the bit to 0 makes the pin an input port.
Rev.6.00 Oct.28.2004 page 328 of 1016
REJ09B0138-0600H
Abbreviation
PFDDR
PFDR
PORTF
6
5
4
0
0
0
W
W
W
0
0
0
W
W
W
R/W
Initial Value
W
H'80/H'00*
R/W
H'00
R
Undefined
3
2
1
0
0
0
W
W
W
0
0
0
W
W
W
to PF
an output port, or in the case of pin PF
6
0
to PF
, which are automatically designated as
6
3
1
Address *
2
H'FEBE
H'FF6E
H'FF5E
0
0
W
0
W
, the ø
7

Advertisement

Table of Contents
loading

Table of Contents