English
Language : 

MC9S12Q128_10 Datasheet, PDF (98/644 Pages) Freescale Semiconductor, Inc – HCS12 Microcontrollers
Chapter 2 Port Integration Module (PIM9C32) Block Description
2.3.2.5.5 Port J Pull Device Enable Register (PERJ)
Module Base + 0x002C
7
6
5
4
3
2
1
0
R
0
0
0
0
0
0
PERJ7
PERJ6
W
Reset
0
0
—
—
—
—
—
—
= Unimplemented or Reserved
Figure 2-36. Port J Pull Device Enable Register (PERJ)
Read: Anytime.
Write: Anytime.
Table 2-30. PERJ Field Descriptions
Field
Description
7–6
PERJ[7:6]
Reduced Drive Port J — This register configures whether a pull-up or a pull-down device is activated, if the port
is used as input or as wired-or output. This bit has no effect if the port is used as push-pull output.
0 Pull-up or pull-down device is disabled.
1 Either a pull-up or pull-down device is enabled.
2.3.2.5.6 Port J Polarity Select Register (PPSJ)
Module Base + 0x002D
7
6
5
4
3
2
1
0
R
0
0
0
0
0
0
PPSJ7
PPSJ6
W
Reset
0
0
—
—
—
—
—
—
= Unimplemented or Reserved
Figure 2-37. Port J Polarity Select Register (PPSJ)
Read: Anytime.
Write: Anytime.
Table 2-31. PPSJ Field Descriptions
Field
Description
7–6
PPSJ[7:6]
Reduced Drive Port J — 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.
0 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 general purpose input.
1 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.
98
MC9S12Q128
Freescale Semiconductor
Rev 1.10