Port 3 Data Direction Register (P3Ddr); Port 3 Data Register (P3Dr) - Hitachi H8S/2215 Series Hardware Manual

Hitachi single-chip microcomputer
Table of Contents

Advertisement

• Port 3 register (PORT3)
• Port 3 open-drain control register (P3ODR)
9.2.1

Port 3 Data Direction Register (P3DDR)

The individual bits of P3DDR specify input or output for the pins of port 3.
Bit
Bit Name Initial Value
7
Undefined
6
P36DDR
0
5
P35DDR
0
4
P34DDR
0
3
P33DDR
0
2
P32DDR
0
1
P31DDR
0
0
P30DDR
0
9.2.2

Port 3 Data Register (P3DR)

P3DR stores output data for the port 3 pins (P36 to P30).
Bit
Bit Name Initial Value
7
Undefined
6
P36DR
0
5
P35DR
0
4
P34DR
0
3
P33DR
0
2
P32DR
0
1
P31DR
0
0
P30DR
0
R/W
Description
Reserved
This bit is undefined and cannot be modified.
W
Setting a P3DDR bit to 1 makes the corresponding port 3
pin an output pin, while clearing the bit to 0 makes the pin
W
an input pin.
W
W
W
W
W
R/W
Description
Reserved
This bit is undefined and cannot be modified.
R/W
An output data for a pin is stored when the pin function is
specified to a general purpose output port.
R/W
R/W
R/W
R/W
R/W
R/W
Rev. 3.0, 10/02, page 225 of 686

Advertisement

Table of Contents
loading

Table of Contents