h8s-2649 Renesas Electronics Corporation., h8s-2649 Datasheet - Page 216

no-image

h8s-2649

Manufacturer Part Number
h8s-2649
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2600 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 9 I/O Ports
9.2
Port 2 is an 8-bit I/O port. Port 2 pins also function as TPU I/O pins. The pin functions of port 2
change with the operating mode.
• Port 2 data direction register (P2DDR)
• Port 2 data register (P2DR)
• Port 2 register (PORT2)
9.2.1
P2DDR is a write-only register, the individual bits of which specify input or output for the pins of
port 2. P2DDR cannot be read; if it is, an undefined value will be read.
Rev. 2.00 Dec. 05, 2005 Page 178 of 724
REJ09B0200-0200
Bit
7
6
5
4
3
2
1
0
Port 2
Port 2 Data Direction Register (P2DDR)
Bit Name
P27DDR
P26DDR
P25DDR
P24DDR
P23DDR
P22DDR
P21DDR
P20DDR
Initial
Value
0
0
0
0
0
0
0
0
R/W
W
W
W
W
W
W
W
W
Description
Setting a P2DDR bit to 1 makes the corresponding port
2 pin an output pin, while clearing the bit to 0 makes the
pin an input pin.

Related parts for h8s-2649