Chapter 2 Port Integration Module (PIM9C32) Block Description
Freescale Semiconductor
MC9S12C-Family / MC9S12GC-Family
99
Rev 01.24
2.3.2.5.5
Port J Pull Device Enable Register (PERJ)
Read: Anytime.
Write: Anytime.
2.3.2.5.6
Port J Polarity Select Register (PPSJ)
Read: Anytime.
Write: Anytime.
Module Base + 0x002C
7
6
5
4
3
2
1
0
R
PERJ7
PERJ6
0
0
0
0
0
0
W
Reset
0
0
—
—
—
—
—
—
= Unimplemented or Reserved
Figure 2-36. Port J Pull Device Enable Register (PERJ)
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.
Module Base + 0x002D
7
6
5
4
3
2
1
0
R
PPSJ7
PPSJ6
0
0
0
0
0
0
W
Reset
0
0
—
—
—
—
—
—
= Unimplemented or Reserved
Figure 2-37. Port J Polarity Select Register (PPSJ)
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.
Summary of Contents for MC9S12C Family
Page 689: ......