English
Language : 

MC9S12HZ256 Datasheet, PDF (141/692 Pages) Freescale Semiconductor, Inc – HCS12 Microcontrollers
4.3.4.5
Chapter 4 Port Integration Module (PIM9HZ256V2)
Port P Pull Device Enable Register (PERP)
7
R
0
W
6
5
4
3
2
1
0
0
PERP5
PERP4
PERP3
PERP2
PERP1
PERP0
Reset
0
0
0
0
0
0
0
0
= Reserved or Unimplemented
Figure 4-27. 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.
Table 4-20. PERP Field Descriptions
Field
5:0
Pull Device Enable Port P
PERP[5:0] 0 Pull-up or pull-down device is disabled.
1 Pull-up or pull-down device is enabled.
Description
4.3.4.6 Port P Polarity Select Register (PPSP)
7
R
0
W
6
5
4
3
2
1
0
0
PPSP5
PPSP4
PPSP3
PPSP2
PPSP1
PPSP0
Reset
0
0
0
0
0
0
0
0
= Reserved or Unimplemented
Figure 4-28. 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.
Table 4-21. PPSP Field Descriptions
Field
Description
5:0
Polarity Select Port P
PPSP[5: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.
MC9S12HZ256 Data Sheet, Rev. 2.04
Freescale Semiconductor
141