Hitachi H8S/2678 Series Reference Manual page 233

16-bit single-chip microcomputer
Table of Contents

Advertisement

Port 3 Data Register (P3DR)
Bit
7
Initial value
0
Read/Write
P3DR is a 6-bit readable/writable register that stores output data for the port 3 pins (P35 to P30).
Bits 7 and 6 are reserved; they are always read as 0 and cannot be modified.
P3DR is initialized to H'00 (bits 5 to 0) by a reset and in hardware standby mode. It retains its
prior state in software standby mode.
Port 3 Register (PORT3)
Bit
7
Initial value
Undefined Undefined
Read/Write
Note: * Determined by the state of pins P35 to P30.
PORT3 is a 6-bit read-only register that shows the pin states. PORT3 cannot be written to; writing
of output data for the port 3 pins (P35 to P30) must always be performed on P3DR.
Bits 7 and 6 are reserved; if read they will return an undefined value.
If a port 3 read is performed while P3DDR bits are set to 1, the P3DR values are read. If a port 3
read is performed while P3DDR bits are cleared to 0, the pin states are read.
After a reset and in hardware standby mode, PORT3 contents are determined by the pin states, as
P3DDR and P3DR are initialized. PORT3 retains its prior state in software standby mode.
Port 3 Open Drain Control Register (P3ODR)
Bit
7
Initial value
0
Read/Write
216
6
5
P35DR
P34DR
0
0
R/W
6
5
P35
—*
R
6
5
P35ODR P34ODR P33ODR P32ODR P31ODR P30ODR
0
0
R/W
4
3
P33DR
P32DR
0
0
R/W
R/W
4
3
P34
P33
—*
—*
R
R
4
3
0
0
R/W
R/W
2
1
P31DR
P30DR
0
0
R/W
R/W
2
1
P32
P31
—*
—*
R
R
2
1
0
0
R/W
R/W
0
0
R/W
0
P30
—*
R
0
0
R/W

Advertisement

Table of Contents
loading

Table of Contents