HD6412340 HITACHI [Hitachi Semiconductor], HD6412340 Datasheet - Page 290

no-image

HD6412340

Manufacturer Part Number
HD6412340
Description
H8S/2345 F-ZTAT Hardware Manual
Manufacturer
HITACHI [Hitachi Semiconductor]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
HD6412340TE20
Manufacturer:
SANYO
Quantity:
20 000
Part Number:
HD6412340TE20
Manufacturer:
HITACHI/日立
Quantity:
20 000
Port G Data Direction Register (PGDDR)
PGDDR is an 8-bit write-only register, the individual bits of which specify input or output for the
pins of port G. PGDDR cannot be read, and bits 7 to 5 are reserved. If PGDDR is read, an
undefined value will be read.
The PGDDR is initialized by a power-on reset and in hardware standby mode, to H'10 (bits 4 to 0)
in modes 1, 4, and 5*, and to H'00 (bits 4 to 0) in modes 2, 3, 6, and 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: * Modes 1 to 3 are not available on the F-ZTAT version.
Bit
Modes 1, 4, 5*
Initial value
R/W
Modes 2, 3, 6, 7*
Initial value
R/W
Modes 1 and 2*
Pin PG
to 1, and as an input port when the bit is cleared to 0.
For pins PG
while clearing the bit to 0 makes the pin an input port.
Modes 3 and 7*
Setting a PGDDR bit to 1 makes the corresponding port G pin an output port, while clearing
the bit to 0 makes the pin an input port.
Modes 4, 5, and 6*
Pins PG
PGDDR bits are set to 1, and as input ports when the bits are cleared to 0.
Modes 2, 3, 6, and 7 are not available on the ROMless version.
4
4
functions as a bus control output pin (CS0) when the corresponding PGDDR bit is set
to PG
:
:
:
:
:
3
to PG
Undefined
Undefined
1
function as bus control output pins (CS0 to CS3) when the corresponding
7
0
, setting the corresponding PGDDR bit to 1 makes the pin an output port,
Undefined
Undefined
6
Undefined
Undefined
5
PG4DDR
W
W
4
1
0
PG3DDR
W
W
3
0
0
PG2DDR
W
W
2
0
0
PG1DDR
W
W
1
0
0
PG0DDR
W
W
0
0
0
273

Related parts for HD6412340