ST10R272L - PARALLEL PORTS
140/320
7.8
Port 7
Port7 is a 4-bit port. If Port 7 is used for general purpose I/O, the direction of each line can be
configured via the corresponding direction register DP7. Each port line can be switched into
push/pull or open drain mode via the open drain control register ODP7.
P7 (FFD0h / E8h)
SFR
Reset Value: - - -0h
DP7 (FFD2h / E9h)
SFR
Reset Value: - - -0h
ODP7 (F1D2h / E9h)
ESFR
Reset Value: - - -0h
Bit
Function
P7.y
Port data register P7 bit y
Bit
Function
DP7.y
Port direction register DP7 bit y
DP7.y = 0: Port line P7.y is an input (high-impedance)
DP7.y = 1: Port line P7.y is an output
Bit
Function
ODP7.y
Port 7Open Drain control register bit y
ODP7.y = 0: Port line P7.y output driver in push/pull mode
ODP7.y = 1: Port line P7.y output driver in open drain mode
5
4
3
2
1
0
11
10
9
8
7
6
15
14
13
12
-
-
rw
rw
rw
rw
-
-
-
-
-
-
-
-
-
-
P7.0
P7.1
P7.2
P7.3
-
-
-
-
5
4
3
2
1
0
11
10
9
8
7
6
15
14
13
12
rw
rw
rw
rw
DP7.0
DP7.1
DP7.2
DP7.3
-
-
-
-
5
4
3
2
1
0
11
10
9
8
7
6
15
14
13
12
-
-
rw
rw
rw
rw
-
-
-
-
-
-
-
-
-
-
ODP7
.0
ODP7
.1
ODP7
.2
ODP7
.3
-
-
-
-