Datasheet
Chapter 2 Port Integration Module (S12XEPIMV1)
MC9S12XE-Family Reference Manual Rev. 1.25
Freescale Semiconductor 153
2.3.65 Port J Pull Device Enable Register (PERJ)
2.3.66 Port J Polarity Select Register (PPSJ)
Address 0x026C Access: User read/write
(1)
1. Read: Anytime.
Write: Anytime.
76543210
R
PERJ7 PERJ6 PERJ5 PERJ4 PERJ3 PERJ2 PERJ1 PERJ0
W
Reset 11111111
Figure 2-63. Port J Pull Device Enable Register (PERJ)
Table 2-61. PERJ Register Field Descriptions
Field Description
7-0
PERJ
Port J 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 device are enabled.
1 Pull device enabled.
0 Pull device disabled.
Address 0x026D Access: User read/write
(1)
1. Read: Anytime.
Write: Anytime.
76543210
R
PPSJ7 PPSJ6 PPSJ5 PPSJ4 PPSJ3 PPSJ2 PPSJ1 PPSJ0
W
Reset 00000000
Figure 2-64. Port J Polarity Select Register (PPSJ)
Table 2-62. PPSJ Register Field Descriptions
Field Description
7-0
PPSJ
Port J 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 J pin sets the associated flag bit in the PIFJ register. A pull-down device is
connected to the associated Port J pin, if enabled by the associated bit in register PERJ and if the port is used as
input.
0 A falling edge on the associated Port J pin sets the associated flag bit in the PIFJ register.A pull-up device is
connected to the associated Port J pin, if enabled by the associated bit in register PERJ and if the port is used as
input.
