|
MC9S12XHZ512_10 Datasheet, PDF (86/978 Pages) Freescale Semiconductor, Inc – HCS12X Microcontrollers | |||
|
◁ |
Chapter 2 Port Integration Module (S12XHZPIMV1)
2.3.6.8 Port AD Interrupt Flag Register (PIFAD)
Module Base + 0x005F
R
W
Reset
7
PIFAD7
0
6
PIFAD6
5
PIFAD5
4
PIFAD4
3
PIFAD3
2
PIFAD2
0
0
0
0
0
Figure 2-26. Port AD Interrupt Flag Register (PIFAD)
1
PIFAD1
0
0
PIFAD0
0
Read: Anytime. Write: Anytime.
Each flag is set by an active edge on the associated input pin. The active edge could be rising or falling
based on the state of the corresponding PPSADx bit. To clear each flag, write â1â to the corresponding
PIFADx bit. Writing a â0â has no effect.
NOTE
If the ATDDIEN1 bit of the associated pin is set to 0 (digital input buffer is
disabled), active edges can not be detected.
Table 2-20. PIFAD Field Descriptions
Field
Description
7:0
PIFAD[7:0]
Interrupt Flags Port AD
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 ï¬ag.
MC9S12XHZ512 Data Sheet, Rev. 1.06
86
Freescale Semiconductor
|
▷ |