HD643303x Hitachi, HD643303x Datasheet - Page 139

no-image

HD643303x

Manufacturer Part Number
HD643303x
Description
Hitachi Microcomputer
Manufacturer
Hitachi
Datasheet
Port 1 Data Register (P1DR): P1DR is an 8-bit readable/writable register that stores data for pins
P1
When a bit in P1DDR is set to 1, if port 1 is read the value of the corresponding P1DR bit is
returned directly, regardless of the actual state of the pin. When a bit in P1DDR is cleared to 0, if
port 1 is read the corresponding pin level is read.
P1DR is initialized to H'00 by a reset and in hardware standby mode. In software standby mode it
retains its previous setting.
7.2.3 Pin Functions in Each Mode
The pin functions of port 1 differ between mode 1 and modes 2 and 3 (single-chip modes). The pin
functions in each mode are described below.
Bit
Initial value
Read/Write
7
to P1
0
.
R/W
P1
7
0
7
R/W
P1
6
0
6
R/W
P1
5
0
Port 1 data 7 to 0
These bits store data for port 1 pins
5
124
R/W
P1
4
0
4
R/W
P1
3
0
3
R/W
P1
2
0
2
R/W
P1
1
0
1
R/W
P1
0
0
0

Related parts for HD643303x