h8s-2172 Renesas Electronics Corporation., h8s-2172 Datasheet - Page 269

no-image

h8s-2172

Manufacturer Part Number
h8s-2172
Description
Renesas 16-bit Single-chip Microcomputer H8s Family H8s-2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
8.5
Port 5 is an 8-bit I/O port that also has other functions. The port 5 has the following registers.
• Port 5 data direction register (P5DDR)
• Port 5 data register (P5DR)
• Port 5 register (PORT5)
8.5.1
The individual bits of P5DDR specify input or output for the pins of port 5. P5DDR cannot be
read; if it is, an undefined value will be read.
8.5.2
P5DR stores output data for the port 5 pins.
Bit
7
6
5
4
3
2
1
0
Bit
7
6
5
4
3
2
1
0
Bit Name
P57DDR
P56DDR
P55DDR
P54DDR
P53DDR
P52DDR
P51DDR
P50DDR
Bit Name
P57DR
P56DR
P55DR
P54DR
P53DR
P52DR
P51DR
P50DR
Port 5
Port 5 Data Direction Register (P5DDR)
Port 5 Data Register (P5DR)
Initial
Value
0
0
0
0
0
0
0
0
Initial
Value
0
0
0
0
0
0
0
0
R/W
W
W
W
W
W
W
W
W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
When a pin function is specified to a general purpose
I/O, setting this bit to 1 makes the corresponding port 5
pin an output pin, while clearing this bit to 0 makes the
pin an input pin.
Output data for a pin is stored when the pin function is
specified to a general purpose output.
Description
Description
Rev. 2.00, 03/04, page 237 of 534

Related parts for h8s-2172