Port Integration Module (S12XHYPIMV1)
MC9S12XHY-Family Reference Manual, Rev. 1.01
140
Freescale Semiconductor
2.3.85
Port U Pull Device Enable Register (PERU)
2.3.86
Port U Polarity Select Register (PPSU)
Address 0x0294
Access: User read/write
1
1
Read: Anytime.
Write: Anytime.
7
6
5
4
3
2
1
0
R
PERU7
PERU6
PERU5
PERU4
PERU3
PERU2
PERU1
PERU0
W
Reset
0
0
0
0
0
0
0
0
Figure 2-82. Port U Pull Device Enable Register (PERU)
Table 2-69. PERU Register Field Descriptions
Field
Description
7-0
PERU
Port U 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 0x0295
Access: User read/write
1
1
Read: Anytime.
Write: Anytime.
7
6
5
4
3
2
1
0
R
PPSU7
PPSU6
PPSU5
PPSU4
PPSU3
PPSU2
PPSU1
PPSU0
W
Reset
0
0
0
0
0
0
0
0
Figure 2-83. Port U Polarity Select Register (PPSU)
Table 2-70. PPSU Register Field Descriptions
Field
Description
7-0
PPSU
Port U 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 pull-down device is connected to the associated Port U pin, if enabled by the associated bit in register PERU and
if the port is used as input.
0 A pull-up device is connected to the associated Port U pin, if enabled by the associated bit in register PERU and
if the port is used as input.
electronic components distributor