English
Language : 

ST10F269-T3 Datasheet, PDF (73/160 Pages) STMicroelectronics – 16-BIT MCU WITH MAC UNIT, 256K BYTE FLASH MEMORY AND 12K BYTE RAM
ST10F269-T3
12.7 - Port 4
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 DP4.
P4 (FFC8h / E4h)
SFR
Reset Value: --00h
15 14 13 12 11 10 9
-
-
-
-
-
-
-
8
7
6
5
4
3
2
1
0
- P4.7 P4.6 P4.5 P4.4 P4.3 P4.2 P4.1 P4.0
RW RW RW RW RW RW RW RW
P4.y
Port Data Register P4 Bit y
DP4 (FFCAh / E5h)
15 14 13 12 11 10 9
-
-
-
-
-
-
-
SFR
Reset Value: --00h
8
7
6
5
4
3
2
1
0
- DP4.7 DP4.6 DP4.5 DP4.4 DP4.3 DP4.2 DP4.1 DP4.0
RW RW RW RW RW RW RW RW
DP4.y
Port Direction Register DP4 Bit y
DP4.y = 0: Port line P4.y is an input (high-impedance)
DP4.y = 1: Port line P4.y is an output
For CAN configuration support (see section 15), Port 4 has an open drain function, controlled with the
ODP4 register:
ODP4 (F1CAh / E5h)
ESFR
Reset Value: --00h
15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0
-
-
-
-
-
-
-
- ODP4.7 ODP4.6 -
-
-
-
-
-
RW
RW
ODP4.y
Port 4 Open Drain Control Register Bit y
ODP4.y = 0: Port line P4.y output driver in push/pull mode
ODP4.y = 1: Port line P4.y output driver in open drain mode if P4.y is not a segment
address line output
Note: Only bit 6 and 7 are implemented, all other bit will be read as “0”.
73/160