Datasheet

Chapter 3 Port Integration Module (PIM9E128V1)
MC9S12E128 Data Sheet, Rev. 1.07
Freescale Semiconductor 147
3.3.4.5 Port Q Pull Device Enable Register (PERQ)
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.4.6 Port Q Polarity Select Register (PPSQ)
Read: Anytime. Write: Anytime.
The Port Q Polarity Select Register selects whether a pull-down or a pull-up device is connected to the pin.
The Port Q 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
PERQ6 PERQ5 PERQ4 PERQ3 PERQ2 PERQ1 PERQ0
W
Reset 0 0 0 00000
= Reserved or Unimplemented
Figure 3-27. Port Q Pull Device Enable Register (PERQ)
Table 3-20. PERP Field Descriptions
Field Description
6:0
PERQ[6: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
PPSQ6 PPSQ5 PPSQ4 PPSQ3 PPSQ2 PPSQ1 PPSQ0
W
Reset 0 0 0 00000
= Reserved or Unimplemented
Figure 3-28. Port Q Polarity Select Register (PPSQ)
Table 3-21. PPSP Field Descriptions
Field Description
6:0
PPSQ[6:0]
Polarity Select Port Q
0 A pull-up device is connected to the associated port Q pin.
1 A pull-down device is connected to the associated port Q pin.