English
Language : 

HD6432345 Datasheet, PDF (249/907 Pages) Hitachi Semiconductor – H8S/2345 F-ZTAT Hardware Manual
Port 3 Register (PORT3)
Bit
:
7
6
5
4
3
2
1
0
—
—
P35
P34
P33
P32
P31
P30
Initial value : Undefined Undefined —*
—*
—*
—*
—*
—*
R/W
:
—
—
R
R
R
R
R
R
Note: * Determined by state of pins P35 to P30.
PORT3 is an 8-bit read-only register that shows the pin states. Writing of output data for the port 3
pins (P35 to P30) must always be performed on P3DR.
Bits 7 and 6 are reserved; they return an undetermined value if read, and cannot be modified.
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 power-on 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 after a manual reset, and
in software standby mode.
Port 3 Open Drain Control Register (P3ODR)
Bit
:
Initial value :
R/W
:
7
6
5
4
3
2
1
0
—
— P35ODR P34ODR P33ODR P32ODR P31ODR P30ODR
Undefined Undefined 0
0
0
0
0
0
—
—
R/W R/W R/W R/W R/W R/W
P3ODR is an 8-bit readable/writable register that controls the PMOS on/off status for each port 3
pin (P35 to P30).
Bits 7 and 6 are reserved; they return an undetermined value if read, and cannot be modified.
Setting a P3ODR bit to 1 makes the corresponding port 3 pin an NMOS open-drain output pin,
while clearing the bit to 0 makes the pin a CMOS output pin.
P3ODR is initialized to H'00 (bits 5 to 0) by a power-on reset, and in hardware standby mode. It
retains its prior state after a manual reset, and in software standby mode.
232