HD6432670 Hitachi, HD6432670 Datasheet - Page 543

no-image

HD6432670

Manufacturer Part Number
HD6432670
Description
(HD64F267x Series) 16-Bit Microcomputer
Manufacturer
Hitachi
Datasheet
10.16.1 Port H Data Direction Register (PHDDR)
The individual bits of PHDDR specify input or output for the pins of port H.
PHDDR cannot be read; if it is, an undefined value will be read.
Bit
7
to
4
3
2
1
0
Note: Only in H8S/2678R Series.
Port Function Control Register 0 (PFCR0)
Port Function Control Register 2 (PFCR2)
Bit Name
PH3DDR
PH2DDR
PH1DDR
PH0DDR
Initial Value
All 0
0
0
0
0
R/W
W
W
W
W
Description
Reserved
If these bits are read, they will return an undefined
value.
When the
select bit (OES) are set to 1, pin PH3 functions as the
pin PH3 functions as a
corresponding PHDDR bit is set to 1, and as an input
port when the bit is cleared to 0. When bit CS7E is
cleared to 0, pin PH3 is an I/O port, and its function
can be switched with PHDDR.
When the
set to 1, pins PH2 to PH0 function as
when the corresponding PHDDR bit is set to 1, and
as I/O ports when the bit is cleared to 0. When CS6E
to CS4E are cleared to 0, pins PH2 to PH0 are I/O
ports, and their functions can be switched with
PHDDR.
Pins PH3 to PH0 are I/O ports, and their functions
can be switched with PHDDR.

Modes 1, 2, 3 * (when EXPE = 1), 4, 5, 6, and 7
(when EXPE = 1)
Mode3* (EXPE = 0) and Mode 7 (when EXPE =
0)
output pin. Otherwise, when bit CS7E is set to 1,
$

output enable bits (CS6E to CS4E) are
output enable bit (OEE) and
Rev. 2.0, 04/02, page 497 of 906
$
output pin when the
$
output pins

output

Related parts for HD6432670