Datasheet
12 - PARALLEL PORTS ST10F269
86/184
12.10 - Port 7
If this 8-bit port 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: --00h
DP7 (FFD2h / E9h) SFR Reset Value: --00h
ODP7 (F1D2h / E9h) ESFR Reset Value: --00h
1514131211109876543210
- - - - - - - - P7.7 P7.6 P7.5 P7.4 P7.3 P7.2 P7.1 P7.0
RW RW RW RW RW RW RW RW
P7.y Port Data Register P7 Bit y
1514131211109876543210
--------DP7.7DP7.6DP7.5DP7.4DP7.3DP7.2DP7.1DP7.0
RW RW RW RW RW RW RW RW
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
1514131211109876543210
--------ODP7.7ODP7.6ODP7.5ODP7.4ODP7.3ODP7.2ODP7.1ODP7.0
RW RW RW RW RW RW RW RW
ODP7.y Port 7 Open 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