English
Language : 

MC9S12KG128 Datasheet, PDF (170/600 Pages) Freescale Semiconductor, Inc – Microcontrollers
Chapter 4 Port Integration Module (PIM9KG128V1)
4.3.6.7 Port J Interrupt Enable Register (PIEJ)
Module Base + 0x002E
7
6
5
4
3
2
R
0
0
0
0
PIEJ7
PIEJ6
W
Reset
0
0
—
—
—
—
= Unimplemented or Reserved
Figure 4-45. Port J Interrupt Enable Register (PIEJ)
Read: Anytime. Write: Anytime.
1
PIEJ1
0
0
PIEJ0
0
This register disables or enables on a per pin basis the edge sensitive external interrupt associated with
port J.
Table 4-40. PIEJ Field Descriptions
Field
7, 6, 1, 0
PIEJ[7:6]
PIEJ[1:0]
Description
Interrupt Enable Port J
0 Interrupt is disabled (interrupt flag masked).
1 Interrupt is enabled.
4.3.6.8 Port J Interrupt Flag Register (PIFJ)
Module Base + 0x002F
7
6
5
4
3
2
1
0
R
0
0
0
0
PIFJ7
PIFJ6
PIFJ1
PIFJ0
W
Reset
0
0
—
—
—
—
0
0
= Unimplemented or Reserved
Figure 4-46. Port J Interrupt Flag Register (PIFJ)
Read: Anytime. Write: Anytime.
Each flag is set by an active edge on the associated input pin. This could be a rising or a falling edge based
on the state of the PPSJ register. To clear this flag, write “1” to the corresponding bit in the PIFJ register.
Writing a “0” has no effect.
Table 4-41. PIFJ Field Descriptions
Field
Description
7, 6, 1, 0
PIFJ[7:6]
PIFJ[1:0]
Interrupt Flags Port J
0 No active edge pending. Writing a “0” has no effect.
1 Active edge on the associated bit has occurred (an interrupt will occur if the associated enable bit is set).
Writing a “1” clears the associated flag.
MC9S12KG128 Data Sheet, Rev. 1.15
170
Freescale Semiconductor