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

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.6
Port 6 is an 8-bit I/O port that also has other functions. The port 6 has the following registers.
• Port 6 data direction register (P6DDR)
• Port 6 data register (P6DR)
• Port 6 register (PORT6)
8.6.1
The individual bits of P6DDR specify input or output for the pins of port 6. P6DDR cannot be
read; if it is, an undefined value will be read.
8.6.2
P6DR stores output data for the port 6 pins.
Rev. 2.00, 03/04, page 242 of 534
Bit
7
6
5
4
3
2
1
0
Bit
7
6
5
4
3
2
1
0
Bit Name
P67DDR
P66DDR
P65DDR
P64DDR
P63DDR
P62DDR
P61DDR
P60DDR
Bit Name
P67DR
P66DR
P65DR
P64DR
P63DR
P62DR
P61DR
P60DR
Port 6
Port 6 Data Direction Register (P6DDR)
Port 6 Data Register (P6DR)
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
Description
When a pin function is specified to a general purpose
I/O, setting this bit to 1 makes the corresponding port 6
pin an output pin, while clearing this bit to 0 makes the
pin an input pin.
Description
Output data for a pin is stored when the pin function is
specified to a general purpose output.

Related parts for h8s-2172