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

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.8
Port 8 is an 8-bit I/O port that also has other functions. The port 8 has the following registers.
• Port 8 data direction register (P8DDR)
• Port 8 data register (P8DR)
• Port 8 register (PORT8)
8.8.1
The individual bits of P8DDR specify input or output for the pins of port 8. P8DDR cannot be
read; if it is, an undefined value will be read.
8.8.2
P8DR stores output data for the port 8 pins.
Bit
7
6
5
4
3
2
1
0
Bit
7
6
5
4
3
2
1
0
Bit Name
P87DDR
P86DDR
P85DDR
P84DDR
P83DDR
P82DDR
P81DDR
P80DDR
Bit Name
P87DR
P86DR
P85DR
P84DR
P83DR
P82DR
P81DR
P80DR
Port 8
Port 8 Data Direction Register (P8DDR)
Port 8 Data Register (P8DR)
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 8
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 251 of 534

Related parts for h8s-2172