Port Integration Module (S12XHYPIMV1)
MC9S12XHY-Family Reference Manual, Rev. 1.01
132
Freescale Semiconductor
2.3.70
Port R Polarity Select Register (PPSR)
2.3.71
Port R Wired-Or Mode Register (WOMR)
1
Read: Anytime.
Write: Anytime.
Table 2-55. PERR Register Field Descriptions
Field
Description
7-0
PERR
Port R 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 all pull devices are enabled.
1 Pull device enabled.
0 Pull device disabled.
Address 0x0285
Access: User read/write
1
1
Read: Anytime.
Write: Anytime.
7
6
5
4
3
2
1
0
R
PPSR7
PPSR6
PPSR5
PPSR4
PPSR3
PPSR2
PPSR1
PPSR0
W
Reset
1
1
1
1
1
1
1
1
Figure 2-67. Port R Polarity Select Register (PPSR)
Table 2-56. PPSR Register Field Descriptions
Field
Description
7-0
PPSR
Port R pull device select—Determine pull device polarity on input pins
This register selects whether a pull-down or a pull-up device is connected to the pin.
1 A rising edge on the associated Port R pin sets the associated flag bit in the PIFS register. A pull-down device is
connected to the associated pin, if enabled and if the pin is used as input.
0 A falling edge on the associated Port R pin sets the associated flag bit in the PIFS register. A pull-up device is
connected to the associated pin, if enabled and if the pin is used as input.
Address 0x0286
Access: User read/write
1
1
Read: Anytime.
Write: Anytime.
7
6
5
4
3
2
1
0
R
WOMR7
WOMR6
WOMR5
WOMR4
WOMR3
WOMR2
WOMR1
WOMR0
W
Reset
0
0
0
0
0
0
0
0
Figure 2-68. Port R Wired-Or Mode Register (WOMR)
electronic components distributor