Download Print this page

Hitachi H8S/2633 Hardware Manual page 388

Advertisement

10.7.2
Register Configuration
Table 10-10 shows the port A register configuration.
Table 10-10 Port A Registers
Name
Port A data direction register
Port A data register
Port A register
Port A MOS pull-up control register
Port A open-drain control register
Notes: 1. Lower 16 bits of the address.
2. Value of bits 3 to 0.
Port A Data Direction Register (PADDR)
Bit
:
Initial value :
Undefined Undefined Undefined Undefined
R/W
:
PADDR is an 8-bit write-only register, the individual bits of which specify input or output for the
pins of port A. PADDR cannot be read; if it is, an undefined value will be read.
Bits 7 and 6 are reserved; they return an undetermined value if read.
PADDR is initialized to H'0 (bits 3 to 0) by a power-on reset, and in hardware standby mode. It
retains its prior state by a manual reset or in software standby mode. The OPE bit in SBYCR is
used to select whether the address output pins retain their output state or become high-impedance
when a transition is made to software standby mode.
• Modes 4 to 6
The corresponding port A pins become address outputs in accordance with the setting of bits
AE3 to AE0 in PFCR, irrespective of the value of bits PA4DDR to PA0DDR. When pins are
not used as address outputs, setting a PADDR bit to 1 makes the corresponding port A pin an
output port, while clearing the bit to 0 makes the pin an input port.
• Mode 7
Setting a PADDR bit to 1 makes the corresponding port A pin an output port, while clearing
the bit to 0 makes the pin an input port.
364
Abbreviation
PADDR
PADR
PORTA
PAPCR
PAODR
7
6
R/W
W
R/W
R
R/W
R/W
5
4
PA3DDR PA2DDR PA1DDR PA0DDR
2
Initial Value*
H'0
H'0
Undefined
H'0
H'0
3
2
0
0
W
W
1
Address*
H'FE39
H'FF09
H'FFB9
H'FE40
H'FE47
1
0
0
0
W
W

Advertisement

loading

This manual is also suitable for:

Hd6432633Hd6432631Hd64f2633H8s/2632Hd6432632H8s/2631