
Parallel ports
UM0404
DocID13284 Rev 2
6.8 Port6
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 DP6. Each port line can be switched into push-pull
or open-drain mode via the open-drain control register ODP6.
Since in ST10F276 the XSSC is implemented on P6.5...P6.7, when the module is enabled
through the XPERCON register, the corresponding bits of P6, DP6 and ODP6 are
overwritten by the new XSSCPORT register (mapped on XBUS), which again allows the
user to program pin P6.5...P6.7 according to the XSSC configuration.
P6 (FFCCh / E6h)
SFR
Reset Value: - - 00h
DP6 (FFCEh / E7h)
SFR
Reset Value: - - 00h
ODP6 (F1CEh / E7h)
ESFR
Reset Value: - - 00h
Bit
Function
P5DIDIS.y
Port5 Digital Disable register bit y
’0’: Port line P5.y digital input is enabled (Schmitt trigger enabled).
’1’: Port line P5.y digital input is disabled (Schmitt trigger disabled, necessary for
input leakage current reduction).
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
-
-
-
-
-
-
-
-
P6.7 P6.6 P6.5 P6.4 P6.3 P6.2 P6.1 P6.0
RW
RW
RW
RW
RW
RW
RW
RW
Bit
Function
P6.y
Port data register P6 bit y
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
-
-
-
-
-
-
-
-
DP6.7 DP6.6 DP6.5 DP6.4 DP6.3 DP6.2 DP6.1 DP6.0
RW
RW
RW
RW
RW
RW
RW
RW
Bit
Function
DP6.y
Port direction register DP6 bit y
’0’: Port line P6.y is an input (high-impedance).
’1’: Port line P6.y is an output.
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
-
-
-
-
-
-
-
-
ODP6
.7
ODP6
.6
ODP6
.5
ODP6
.4
ODP6
.3
ODP6
.2
ODP6
.1
ODP6
.0
RW
RW
RW
RW
RW
RW
RW
RW