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

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.3
Port 3 is an 8-bit I/O port that also has other functions. The port 3 has the following registers.
• Port 3 data direction register (P3DDR)
• Port 3 data register (P3DR)
• Port 3 register (PORT3)
8.3.1
The individual bits of P3DDR specify input or output for the pins of port 3. P3DDR cannot be
read; if it is, an undefined value will be read.
8.3.2
P3DR stores output data for the port 3 pins.
Rev. 2.00, 03/04, page 230 of 534
Bit
7
6
5
4
3
2
1
0
Bit
7
6
5
4
3
2
1
0
Bit Name
P37DDR
P36DDR
P35DDR
P34DDR
P33DDR
P32DDR
P31DDR
P30DDR
Bit Name
P37DR
P36DR
P35DR
P34DR
P33DR
P32DR
P31DR
P30DR
Port 3
Port 3 Data Direction Register (P3DDR)
Port 3 Data Register (P3DR)
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 3
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