Datasheet

Chapter 24 DG128 Port Integration Module (S12XDG128PIMV2)
MC9S12XDP512 Data Sheet, Rev. 2.21
1010 Freescale Semiconductor
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.
24.0.5.31 Port M Polarity Select Register (PPSM)
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.
24.0.5.32 Port M Wired-OR Mode Register (WOMM)
Read: Anytime.
Write: Anytime.
Table 24-31. PERM Field Descriptions
Field Description
7–0
PERM[7:0]
Pull Device Enable Port M
0 Pull-up or pull-down device is disabled.
1 Either a pull-up or pull-down device is enabled.
76543210
R
PPSM7 PPSM6 PPSM5 PPSM4 PPSM3 PPSM2 PPSM1 PPSM0
W
Reset 00000000
Figure 24-33. Port M Polarity Select Register (PPSM)
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.
76543210
R
WOMM7 WOMM6 WOMM5 WOMM4 WOMM3 WOMM2 WOMM1 WOMM0
W
Reset 00000000
Figure 24-34. Port M Wired-OR Mode Register (WOMM)