Freescale Semiconductor Tower System Eval Kit for MC9S12GN32 TWR-S12GN32-KIT TWR-S12GN32-KIT Hoja De Datos

Los códigos de productos
TWR-S12GN32-KIT
Descargar
Página de 1292
Port Integration Module (S12GPIMV1)
MC9S12G Family Reference Manual, Rev.1.23
Freescale Semiconductor
247
2.4.3.63
Port AD Interrupt Flag Register (PIF0AD)
Table 2-88. PIE1AD Register Field Descriptions
Field
Description
7-0
PIE1AD
Port AD 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 0x027E (
)
Access: User read/write
1
1
Read: Anytime
Write: Anytime, write 1 to clear
7
6
5
4
3
2
1
0
 R
PIF0AD7
PIF0AD6
PIF0AD5
PIF0AD4
PIF0AD3
PIF0AD2
PIF0AD1
PIF0AD0
 W
Reset
0
0
0
0
0
0
0
0
 Address 0x027E (
Access: User read/write
7
6
5
4
3
2
1
0
 
R
0
0
0
0
PIF0AD3
PIF0AD2
PIF0AD1
PIF0AD0
 W
Reset
0
0
0
0
0
0
0
0
Figure 2-62. Port AD Interrupt Flag Register (PIF0AD)
Table 2-89. PIF0AD Register Field Descriptions
Field
Description
7-0
PIF0AD
Port AD 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