Datasheet
Chapter 2 Port Integration Module (S12XEPIMV1)
MC9S12XE-Family Reference Manual Rev. 1.25
Freescale Semiconductor 147
2.3.57 Port H Pull Device Enable Register (PERH)
2.3.58 Port H Polarity Select Register (PPSH)
Address 0x0264 Access: User read/write
(1)
1. Read: Anytime.
Write: Anytime.
76543210
R
PERH7 PERH6 PERH5 PERH4 PERH3 PERH2 PERH1 PERH0
W
Reset 00000000
Figure 2-55. Port H Pull Device Enable Register (PERH)
Table 2-53. PERH Register Field Descriptions
Field Description
7-0
PERH
Port H pull device enable—Enable pull devices on input pins
These bits configure whether a pull device is activated, if the associated pin is used as an input. This bit has no effect
if the pin is used as an output. Out of reset no pull device is enabled.
1 Pull device enabled.
0 Pull device disabled.
Address 0x0265 Access: User read/write
(1)
1. Read: Anytime.
Write: Anytime.
76543210
R
PPSH7 PPSH6 PPSH5 PPSH4 PPSH3 PPSH2 PPSH1 PPSH0
W
Reset 00000000
Figure 2-56. Port H Polarity Select Register (PPSH)
Table 2-54. PPSH Register Field Descriptions
Field Description
7-0
PPSH
Port H pull device select—Determine pull device polarity on input pins
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.
1 A 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.
0 A 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.
