EasyManua.ls Logo

ST ST10F276E - Port6

ST ST10F276E
564 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Parallel ports UM0404
164/564 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).
1514131211109876543210
- - - - - - - - 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
1514131211109876543210
- - - - - - - - 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.
1514131211109876543210
--------
ODP6
.7
ODP6
.6
ODP6
.5
ODP6
.4
ODP6
.3
ODP6
.2
ODP6
.1
ODP6
.0
RW RW RW RW RW RW RW RW

Table of Contents

Related product manuals