English
Language : 

MC9S12C128V1 Datasheet, PDF (95/690 Pages) Freescale Semiconductor, Inc – MC9S12C Family MC9S12GC Family Reference Manual
2.3.2.4.5
Chapter 2 Port Integration Module (PIM9C32) Block Description
Port P Pull Device Enable Register (PERP)
Module Base + 0x001C
R
W
Reset
7
PERP7
0
Read: Anytime.
Write: Anytime.
6
PERP6
5
PERP5
4
PERP4
3
PERP3
2
PERP2
1
PERP1
0
0
0
0
0
0
Figure 2-28. Port P Pull Device Enable Register (PERP)
Table 2-24. PERP Field Descriptions
0
PERP0
0
Field
Description
7–0
PERP[7:0]
Pull Device Enable Port P — This register configures whether a pull-up or a pull-down device is activated, if the
port is used as input. This bit has no effect if the port is used as output. Out of reset no pull device is enabled.
0 Pull-up or pull-down device is disabled.
1 Either a pull-up or pull-down device is enabled.
2.3.2.4.6 Port P Polarity Select Register (PPSP)
Module Base + 0x001D
R
W
Reset
7
PPSP7
0
Read: Anytime.
Write: Anytime.
6
PPSP6
5
PPSP5
4
PPSP4
3
PPSP3
2
PPSP2
0
0
0
0
0
Figure 2-29. Port P Polarity Select Register (PPSP)
Table 2-25. PPSP Field Descriptions
1
PPSP1
0
0
PPSP0
0
Field
Description
7–0
PPSP[7:0]
Pull Select Port P — This register serves a dual purpose by selecting the polarity of the active interrupt edge
as well as selecting a pull-up or pull-down device if enabled.
0 Falling edge on the associated port P pin sets the associated flag bit in the PIFP register.A pull-up device is
connected to the associated port P pin, if enabled by the associated bit in register PERP and if the port is used
as input.
1 Rising edge on the associated port P pin sets the associated flag bit in the PIFP register.A pull-down device
is connected to the associated port P pin, if enabled by the associated bit in register PERP and if the port is
used as input.
Freescale Semiconductor
MC9S12C-Family / MC9S12GC-Family
95
Rev 01.24