Datasheet

Chapter 3 Port Integration Module (PIM9E128V1)
MC9S12E128 Data Sheet, Rev. 1.07
144 Freescale Semiconductor
3.3.3.5 Port P Pull Device Enable Register (PERP)
Read: Anytime. Write: Anytime.
This register configures whether a pull-up or a pull-down device is activated on configured input pins. If
a pin is configured as output, the corresponding Pull Device Enable Register bit has no effect.
3.3.3.6 Port P Polarity Select Register (PPSP)
Read: Anytime. Write: Anytime.
The Port P Polarity Select Register selects whether a pull-down or a pull-up device is connected to the pin.
The Port P 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
R0 0
PERP5 PERP4 PERP3 PERP2 PERP1 PERP0
W
Reset 0 0 0 00000
= Reserved or Unimplemented
Figure 3-21. Port P Pull Device Enable Register (PERP)
Table 3-16. PERP Field Descriptions
Field Description
5:0
PERP[5:0]
Pull Device Enable Port P
0 Pull-up or pull-down device is disabled.
1 Pull-up or pull-down device is enabled.
76543210
R0 0
PPSP5 PPSP4 PPSP3 PPSP2 PPSP1 PPSP0
W
Reset 0 0 0 00000
= Reserved or Unimplemented
Figure 3-22. Port P Polarity Select Register (PPSP)
Table 3-17. PPSP Field Descriptions
Field Description
5:0
PPSP[5:0]
Polarity Select Port P
0 A pull-up device is connected to the associated port P pin.
1 A pull-down device is connected to the associated port P pin.