English
Language : 

S912XEG128J2MAA Datasheet, PDF (153/1324 Pages) Freescale Semiconductor, Inc – Microcontrollers
2.3.65
Chapter 2 Port Integration Module (S12XEPIMV1)
Port J Pull Device Enable Register (PERJ)
Address 0x026C
R
W
Reset
7
PERJ7
1
1. Read: Anytime.
Write: Anytime.
6
PERJ6
5
PERJ5
4
PERJ4
3
PERJ3
2
PERJ2
Access: User read/write(1)
1
0
PERJ1
PERJ0
1
1
1
1
1
1
1
Figure 2-63. Port J Pull Device Enable Register (PERJ)
Table 2-61. PERJ Register Field Descriptions
Field
7-0
PERJ
Description
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.
2.3.66 Port J Polarity Select Register (PPSJ)
Address 0x026D
R
W
Reset
7
PPSJ7
0
1. Read: Anytime.
Write: Anytime.
6
PPSJ6
5
PPSJ5
4
PPSJ4
3
PPSJ3
2
PPSJ2
0
0
0
0
0
Figure 2-64. Port J Polarity Select Register (PPSJ)
Access: User read/write(1)
1
0
PPSJ1
PPSJ0
0
0
Table 2-62. PPSJ Register Field Descriptions
Field
7-0
PPSJ
Description
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.
MC9S12XE-Family Reference Manual Rev. 1.25
Freescale Semiconductor
153