English
Language : 

MC9S12XD256MAL Datasheet, PDF (1008/1348 Pages) Freescale Semiconductor, Inc – Freescale’s Scalable Controller Area Network
Chapter 24 DG128 Port Integration Module (S12XDG128PIMV2)
This register configures whether a pull-up or a pull-down device is activated, if the port is used as input or
wired-OR output. This bit has no effect if the port is used as push-pull output. Out of reset no pull device
is enabled.
Table 24-31. PERM Field Descriptions
Field
Description
7–0
Pull Device Enable Port M
PERM[7:0] 0 Pull-up or pull-down device is disabled.
1 Either a pull-up or pull-down device is enabled.
24.0.5.31 Port M Polarity Select Register (PPSM)
R
W
Reset
7
PPSM7
0
6
PPSM6
5
PPSM5
4
PPSM4
3
PPSM3
2
PPSM2
0
0
0
0
0
Figure 24-33. Port M Polarity Select Register (PPSM)
1
PPSM1
0
0
PPSM0
0
Read: Anytime.
Write: Anytime.
This register selects whether a pull-down or a pull-up device is connected to the pin. If CAN is active, a
pull-up device can be activated on the related RXCAN inputs, but not a pull-down.
Table 24-32. PPSM Field Descriptions
Field
Description
7–0
PPSM[7:0]
Pull Select Port M
0 A pull-up device is connected to the associated port M pin, if enabled by the associated bit in register PERM
and if the port is used as general purpose or RXCAN input.
1 A pull-down device is connected to the associated port M pin, if enabled by the associated bit in register PERM
and if the port is used as a general purpose but not as RXCAN.
24.0.5.32 Port M Wired-OR Mode Register (WOMM)
R
W
Reset
7
WOMM7
0
Read: Anytime.
Write: Anytime.
6
WOMM6
5
WOMM5
4
WOMM4
3
WOMM3
2
WOMM2
1
WOMM1
0
0
0
0
0
0
Figure 24-34. Port M Wired-OR Mode Register (WOMM)
0
WOMM0
0
1010
MC9S12XDP512 Data Sheet, Rev. 2.21
Freescale Semiconductor