Chapter 10 Analog-to-Digital Converter (ADC12B_LBA_V1)
S12ZVHY/S12ZVHL Family Reference Manual Rev. 1.05
376
Freescale Semiconductor
10.4.2.9
ADC Error Interrupt Flag Register (ADCEIF)
If one of the following error flags is set the ADC ceases operation:
•
IA_EIF
•
CMD_EIF
•
EOL_EIF
•
TRIG_EIF
In order to make the ADC operational again an ADC Soft-Reset must be issued which clears above listed
error interrupt flags.
The error interrupt flags RSTAR_EIF and LDOK_EIF do not cause the ADC to cease operation. If set the
ADC continues operation. Each of the two bits can be cleared by writing a value of 1’b1. Both bits are also
cleared if an ADC Soft-Reset is issued.
All bits are cleared if bit ADC_EN is clear. Writing any flag with value 1’b0 does not clear a flag. Writing
any flag with value 1’b1 does not set the flag.
Read: Anytime
Write:
•
Bits RSTAR_EIF and LDOK_EIF are writable anytime
•
Bits IA_EIF, CMD_EIF, EOL_EIF and TRIG_EIF are not writable
Module Base + 0x0008
7
6
5
4
3
2
1
0
R
IA_EIF
CMD_EIF
EOL_EIF
Reserved
TRIG_EIF
RSTAR_EIF
LDOK_EIF
0
W
Reset
0
0
0
0
0
0
0
0
= Unimplemented or Reserved
Figure 10-12. ADC Error Interrupt Flag Register (ADCEIF)
Table 10-13. ADCEIF Field Descriptions
Field
Description
7
IA_EIF
Illegal Access Error Interrupt Flag
— This flag indicates that storing the conversion result caused an illegal
access error or conversion command loading from outside system RAM or NVM area occurred.
The ADC ceases operation if this error flag is set (issue of type severe).
0 No illegal access error occurred.
1 An illegal access error occurred.
6
CMD_EIF
Command Value Error Interrupt Flag
— This flag indicates that an invalid command is loaded (Any command
that contains reserved bit settings) or illegal format setting selected (reserved SRES[2:0] bit settings).
The ADC ceases operation if this error flag is set (issue of type severe).
0 Valid conversion command loaded.
1 Invalid conversion command loaded.
5
EOL_EIF
“End Of List” Error Interrupt Flag
— This flag indicates a missing “End Of List” command type in current
executed CSL.
The ADC ceases operation if this error flag is set (issue of type severe).
0 No “End Of List” error.
1 “End Of List” command type missing in current executed CSL.