English
Language : 

MC3S12RG128 Datasheet, PDF (101/546 Pages) Freescale Semiconductor, Inc – Microcontrollers
Chapter 2 Port Integration Module (PIM3RG128V1) Block Description
2.3.2.6.6 Port H Polarity Select Register (PPSH)
Module Base + 0x_0025
R
W
Reset
7
PPSH7
0
Read: Anytime.
6
PPSH6
5
PPSH5
4
PPSH4
3
PPSH3
2
PPSH2
0
0
0
0
0
Figure 2-37. Port H Polarity Select Register (PPSH)
1
PPSH1
0
0
PPSH0
0
Write: Anytime.
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.
Table 2-32. PPSH Field Descriptions
Field
Description
7–0
PPSH[7:0]
Polarity Select Port H Bits
0 Falling edge on the associated port H pin sets the associated flag bit in the PIFH register. A pull-up device is
connected to the associated port H pin, if enabled by the associated bit in register PERH and if the port is used
as input.
1 Rising edge on the associated port H pin sets the associated flag bit in the PIFH register. A pull-down device
is connected to the associated port H pin, if enabled by the associated bit in register PERH and if the port is
used as input.
2.3.2.6.7 Port H Interrupt Enable Register (PIEH)
Module Base + 0x_0026
7
R
PIEH7
W
6
PIEH6
5
PIEH5
4
PIEH4
3
PIEH3
2
PIEH2
1
PIEH1
0
PIEH0
Reset
0
0
0
0
0
0
0
0
Read: Anytime.
Figure 2-38. Port H Interrupt Enable Register (PIEH)
Write: Anytime.
This register disables or enables on a per pin basis the edge sensitive external interrupt associated with
port H.
Table 2-33. PIEH Field Descriptions
Field
Description
7–0
PIEH[7:0]
Interrupt Enable Port H Bits
0 Interrupt is disabled (interrupt flag masked).
1 Interrupt is enabled.
MC3S12RG128 Data Sheet, Rev. 1.05
Freescale Semiconductor
101