English
Language : 

S912XEG384J3VA Datasheet, PDF (147/1324 Pages) Freescale Semiconductor, Inc – MC9S12XEP100 Reference Manual Covers MC9S12XE Family
2.3.57
Chapter 2 Port Integration Module (S12XEPIMV1)
Port H Pull Device Enable Register (PERH)
Address 0x0264
R
W
Reset
7
PERH7
0
1. Read: Anytime.
Write: Anytime.
6
PERH6
5
PERH5
4
PERH4
3
PERH3
2
PERH2
Access: User read/write(1)
1
0
PERH1
PERH0
0
0
0
0
0
0
0
Figure 2-55. Port H Pull Device Enable Register (PERH)
Table 2-53. PERH Register Field Descriptions
Field
7-0
PERH
Description
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.
2.3.58 Port H Polarity Select Register (PPSH)
Address 0x0265
R
W
Reset
7
PPSH7
0
1. Read: Anytime.
Write: Anytime.
6
PPSH6
5
PPSH5
4
PPSH4
3
PPSH3
2
PPSH2
0
0
0
0
0
Figure 2-56. Port H Polarity Select Register (PPSH)
Access: User read/write(1)
1
0
PPSH1
PPSH0
0
0
Table 2-54. PPSH Register Field Descriptions
Field
7-0
PPSH
Description
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.
MC9S12XE-Family Reference Manual Rev. 1.25
Freescale Semiconductor
147