English
Language : 

HD6432351 Datasheet, PDF (384/989 Pages) Renesas Technology Corp – The H8S/2000 CPU has an internal 32-bit architecture, is provided with sixteen 16-bit general registers and a concise
9.9.2 Register Configuration [H8S/2351 Only]
Table 9-15 shows the port B register configuration.
Table 9-15 Port B Registers
Name
Abbreviation R/W
Port B data direction register
PBDDR
W
Port B data register
PBDR
R/W
Port B register
PORTB
R
Port B MOS pull-up control register PBPCR
R/W
Note: * Lower 16 bits of the address.
Initial Value
H'00
H'00
Undefined
H'00
Address *
H'FEBA
H'FF6A
H'FF5A
H'FF71
Port B Data Direction Register (PBDDR) [H8S/2351 Only]
Bit
:
Initial value :
R/W
:
7
6
5
4
3
2
1
0
PB7DDR PB6DDR PB5DDR PB4DDR PB3DDR PB2DDR PB1DDR PB0DDR
0
0
0
0
0
0
0
0
W
W
W
W
W
W
W
W
PBDDR is an 8-bit write-only register, the individual bits of which specify input or output for the
pins of port B. PBDDR cannot be read; if it is, an undefined value will be read.
PBDDR is initialized to H'00 by a power-on reset and in hardware standby mode. 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 address output pins retain their output state or become high-impedance when a
transition is made to software standby mode.
• Modes 1, 4, and 5
The corresponding port B pins are address outputs irrespective of the value of the PBDDR bits.
• Modes 2 and 6
Setting a PBDDR bit to 1 makes the corresponding port B pin an address output, while
clearing the bit to 0 makes the pin an input port.
• Modes 3 and 7
Setting a PBDDR bit to 1 makes the corresponding port B pin an output port, while clearing
the bit to 0 makes the pin an input port.
364