Chapter 10 Analog-to-Digital Converter (ADC12B_LBA_V1)
S12ZVHY/S12ZVHL Family Reference Manual Rev. 1.05
378
Freescale Semiconductor
10.4.2.10 ADC Interrupt Flag Register (ADCIF)
After being set any of these bits can be cleared by writing a value of 1’b1 or via ADC soft-reset (bit
ADC_SR). All bits are cleared if bit ADC_EN is clear. Writing any flag with value 1’b0 does not clear the
flag. Writing any flag with value 1’b1 does not set the flag.
Read: Anytime
Write: Anytime
NOTE
In RVL double buffer mode a conversion interrupt flag (CON_IF[15:1]) or
End Of List interrupt flag (EOL_IF) overrun is detected if one of these bits
is set when it should be set again due to conversion command execution.
In RVL single buffer mode a conversion interrupt flag (CON_IF[15:1])
overrun is detected only. The overrun is detected if any of the conversion
interrupt flags (CON_IF[15:1]) is set while the first conversion result of a
CSL is stored (result of first conversion from top of CSL is stored).
Module Base + 0x0009
7
6
5
4
3
2
1
0
R
SEQAD_IF
CONIF_OIF
Reserved
0
0
0
0
0
W
Reset
0
0
0
0
0
0
0
0
= Unimplemented or Reserved
Figure 10-13. ADC Interrupt Flag Register (ADCIF)
Table 10-14. ADCIF Field Descriptions
Field
Description
7
SEQAD_IF
Conversion Sequence Abort Done Interrupt Flag
— This flag is set when the Sequence Abort Event has been
executed except the Sequence Abort Event occurred by hardware in order to be able to enter MCU Stop Mode
or Wait Mode with bit SWAI set.This flag is also not set if the Sequence Abort request occurs during execution
of the last conversion command of a CSL and bit STR_SEQA being set.
0 No conversion sequence abort request occurred.
1 A conversion sequence abort request occurred.
6
CONIF_OIF
ADCCONIF Register Flags Overrun Interrupt Flag
— This flag indicates if an overrun situation occurred for
one of the CON_IF[15:1] flags or for the EOL_IF flag. In RVL single buffer mode (RVL_BMOD clear) an overrun
of the EOL_IF flag is not indicated (For more information please see Note below).
0 No ADCCONIF Register Flag overrun occurred.
1 ADCCONIF Register Flag overrun occurred.