Datasheet

Chapter 3 Port Integration Module (PIM9E128V1)
MC9S12E128 Data Sheet, Rev. 1.07
140 Freescale Semiconductor
3.3.2.5 Port M Pull Device Enable Register (PERM)
Read: Anytime. Write: Anytime.
This register configures whether a pull-up or a pull-down device is activated on configured input or
wired-or output pins. If a pin is configured as push-pull output, the corresponding Pull Device Enable
Register bit has no effect.
3.3.2.6 Port M Polarity Select Register (PPSM)
Read: Anytime. Write: Anytime.
The Port M Polarity Select Register selects whether a pull-down or a pull-up device is connected to the
pin. The Port M Polarity Select Register is effective only when the corresponding Data Direction Register
bit is set to 0 (input) and the corresponding Pull Device Enable Register bit is set to 1.
76543210
R
PERM7 PERM6 PERM5 PERM4 PERM3
0
PERM1 PERM0
W
Reset 0 0 0 00000
= Reserved or Unimplemented
Figure 3-14. Port M Pull Device Enable Register (PERM)
Table 3-11. PERM Field Descriptions
Field Description
7:3, 1:0
PERM[7:3,
1:0]
Pull Device Enable Port M
0 Pull-up or pull-down device is disabled.
1 Pull-up or pull-down device is enabled.
76543210
R
PPSM7 PPSM6 PPSM5 PPSM4 PPSM3
0
PPSM1 PPSM0
W
Reset 0 0 0 00000
= Reserved or Unimplemented
Figure 3-15. Port M Polarity Select Register (PPSM)
Table 3-12. PPSM Field Descriptions
Field Description
7:3, 1:0
PPSM[7:3,
1:0]
Pull Select Port M
0 A pull-up device is connected to the associated port M pin.
1 A pull-down device is connected to the associated port M pin.