h8s-2646 Renesas Electronics Corporation., h8s-2646 Datasheet - Page 278

no-image

h8s-2646

Manufacturer Part Number
h8s-2646
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2600 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 9 I/O Ports
9.6.2
Table 9.9 shows the port 5 register configuration.
Table 9.9
Notes: 1. Lower 16 bits of the address.
Port 5 Data Direction Register (P5DDR)
P5DDR is an 8-bit write-only register that specifies whether individual bits are input or output for
each of each of the pins in port 5. It is not possible to read it. An undefined value is returned if an
attempt is made to read it.
Setting one of the bits of P5DDR to 1 sets the corresponding pin in port 5 to output, and clearing
the bit to 0 sets the corresponding pin to input.
P5DDR is initialized to H'0 (bits 2 to 0) if a reset occurs and in the hardware standby mode. The
previous values are retained by P5DDR in the software standby mode. Since SCI is initialized in
the H8S/2648, H8S/2648R, and H8S/2647, the pin states are determined by the by the P5DDR and
P5DR settings.
Rev. 5.00 Sep 22, 2005 page 252 of 1136
REJ09B0257-0500
Name
Port 5 data direction register
Port 5 data register
Port 5 register
Bit
Initial value :
R/W
2. Value of bits 2 to 0.
Register Configuration
Port 5 Register Configuration
:
:
Undefined Undefined Undefined Undefined Undefined
7
6
Abbreviation
P5DDR
P5DR
PORT5
5
4
R/W
W
R/W
R
3
Initial Value *
H'0
H'0
H'0
P52DDR P51DDR P50DDR
W
2
0
2
W
1
0
Address *
H'FE34
H'FF04
H'FFB4
W
0
0
1

Related parts for h8s-2646