DocID13284 Rev 2 173/564
UM0404 Parallel ports
XPWMPORT and XS1PORT registers (mapped on XBUS) which again allows the user to
program pin P8.0-P8.3 and P8.6-P8.7 respectively, according to the XPWM an XASC
configurations.
P8 (FFD4h / EAh) SFR Reset Value: - - 00h
DP8 (FFD6h / EBh) SFR Reset Value: - - 00h
ODP8 (F1D6h / EBh) ESFR Reset Value: - - 00h
XPWMPORT (EC80h) XBUS Reset Value: 0000h
This register is enabled and visible only when bit XPEN of SYSCON is set, and bit
XPWMEN in XPERCON is set as well. On the contrary, the standard P8, DP8 and ODP8
registers must be used to configure pins P8.0, P8.1, P8.2 and P8.3 when XPWM is
disabled.
1514131211109876543210
- - - - - - - - P8.7 P8.6 P8.5 P8.4 P8.3 P8.2 P8.1 P8.0
RW RW RW RW RW RW RW RW
Bit Function
P8.y Port data register P8 bit y
1514131211109876543210
- - - - - - - - DP8.7 DP8.6 DP8.5 DP8.4 DP8.3 DP8.2 DP8.1 DP8.0
RW RW RW RW RW RW RW RW
Bit Function
DP8.y
Port direction register DP8 bit y
’0’: Port line P8.y is an input (high-impedance).
’1’: Port line P8.y is an output.
1514131211109876543210
--------
ODP8
.7
ODP8
.6
ODP8
.5
ODP8
.4
ODP8
.3
ODP8
.2
ODP8
.1
ODP8
.0
RW RW RW RW RW RW RW RW
Bit Function
ODP8.y
Port Open Drain control register ODP8 bit y
’0’: Port line P8.y output driver in push-pull mode.
’1’: Port line P8.y output driver in open drain mode.
1514131211109876543210
-
XOD
P8.3
XP8
.3
XDP8
.3
XOD
P8.2
XP8
.2
XDP8
.2
XOD
P8.1
XP8
.1
XDP8
.1
XOD
P8.0
XP8
.0
XDP8
.0
- RWRWRWRWRWRWRWRWRWRWRWRW