Freescale Semiconductor Tower System Eval Kit for MC9S12GN32 TWR-S12GN32-KIT TWR-S12GN32-KIT Datenbogen

Produktcode
TWR-S12GN32-KIT
Seite von 1292
Port Integration Module (S12GPIMV1)
MC9S12G Family Reference Manual,
Rev.1.23
238
Freescale Semiconductor
2.4.3.48
Port J Interrupt Flag Register (PIFJ)
1
Read: Anytime
Write: Anytime
Table 2-73. PIEJ Register Field Descriptions
Field
Description
7-0
PIEJ
Port J interrupt enable
This bit enables or disables the edge sensitive pin interrupt on the associated pin. An interrupt can be generated if
the pin is operating in input or output mode when in use with the general-purpose or related peripheral function.
1 Interrupt is enabled
0 Interrupt is disabled (interrupt flag masked)
 Address 0x026F (
Access: User read/write
1
1
Read: Anytime
Write: Anytime, write 1 to clear
7
6
5
4
3
2
1
0
 R
PIFJ7
PIFJ6
PIFJ5
PIFJ4
PIFJ3
PIFJ2
PIFJ1
PIFJ0
 W
Reset
0
0
0
0
0
0
0
0
 Address 0x026F (
Access: User read/write
7
6
5
4
3
2
1
0
 
R
0
0
0
0
PIFJ3
PIFJ2
PIFJ1
PIFJ0
 W
Reset
0
0
0
0
0
0
0
0
Figure 2-48. Port J Interrupt Flag Register (PIFJ)
Table 2-74. PIFJ Register Field Descriptions
Field
Description
7-0
PIFJ
Port J interrupt flag
This flag asserts after a valid active edge was detected on the related pin (see
”). This can be a rising or a falling edge based on the state of the polarity select register. An interrupt will
occur if the associated interrupt enable bit is set.
Writing a logic “1” to the corresponding bit field clears the flag.
1 Active edge on the associated bit has occurred
0 No active edge occurred