English
Language : 

S912XHZ512F1VAG Datasheet, PDF (99/978 Pages) Freescale Semiconductor, Inc – Covers MC9S12XHZ384, MC9S12XHZ256
2.3.9.5
Chapter 2 Port Integration Module (S12XHZPIMV1)
Port P Pull Device Enable Register (PERP)
Module Base + 0x001C
R
W
Reset
7
PERP7
0
6
PERP6
5
PERP5
4
PERP4
3
PERP3
2
PERP2
1
PERP1
0
0
0
0
0
0
Figure 2-46. Port P Pull Device Enable Register (PERP)
0
PERP0
0
Read: Anytime. Write: Anytime.
This register configures whether a pull-up or a pull-down device is activated on configured input or
wired-or (open drain) output pins. If a pin is configured as push-pull output, the corresponding Pull Device
Enable Register bit has no effect.
Table 2-34. PERP Field Descriptions
Field
7:0
Pull Device Enable Port P
PERP[7:0] 0 Pull-up or pull-down device is disabled.
1 Pull-up or pull-down device is enabled.
Description
2.3.9.6 Port P Polarity Select Register (PPSP)
Module Base + 0x001D
7
R
PPSP7
W
6
PPSP6
5
PPSP5
4
PPSP4
3
PPSP3
2
PPSP2
1
PPSP1
0
PPSP0
Reset
0
0
0
0
0
0
0
0
Figure 2-47. 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.
If an IIC module is enabled, a pull-up device can be activated on either the SCL or SDA pins. Pull-down
devices can not be activated on IIC pins.
Table 2-35. PPSP Field Descriptions
Field
Description
7:0
Polarity Select Port P
PPSP[7:0] 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.
MC9S12XHZ512 Data Sheet, Rev. 1.06
Freescale Semiconductor
99