h8s-2158 Renesas Electronics Corporation., h8s-2158 Datasheet - Page 285

no-image

h8s-2158

Manufacturer Part Number
h8s-2158
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
9.6.1
The individual bits of P6DDR specify input or output for the pins of port 6.
9.6.2
P6DR stores output data for the port 6 pins.
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 Data Direction Register (P6DDR)
Port 6 Data Register (P6DR)
Initial Value
Initial Value
0
0
0
0
0
0
0
0
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
Extended mode (16-bit data bus):
The port functions as the data bus regardless of
the values in these bits.
Single-chip mode/extended mode (8-bit data bus):
If port 6 pins are specified for use as the general
I/O port, the corresponding port 6 pins are output
ports when the P6DDR bits are set to 1, and input
ports when cleared to 0.
Extended mode (16-bit data bus):
If a port 6 read is performed while the P6DDR bits
are set to 1, the P6DR values are read. If a port 6
read is performed while the P6DDR bits are
cleared to 0, 1 is read.
Single-chip mode/extended mode (8-bit data bus):
P6DR stores output data for the port 6 pins that
are used as the general output port.
If a port 6 read is performed while the P6DDR bits
are set to 1, the P6DR values are read. If a port 6
read is performed while the P6DDR bits are
cleared to 0, the pin states are read.
Description
Description
Rev. 3.00 Jan 25, 2006 page 233 of 872
Section 9 I/O Ports
REJ09B0286-0300

Related parts for h8s-2158