Chapter 10 Analog-to-Digital Converter (ADC12B_LBA_V1)
S12ZVHY/S12ZVHL Family Reference Manual Rev. 1.05
Freescale Semiconductor
377
3
TRIG_EIF
Trigger Error Interrupt Flag
— This flag indicates that a trigger error occurred.
This flag is set in “Restart” Mode when a conversion sequence got aborted and no Restart Event occurred before
the Trigger Event or if the Trigger Event occurred before the Restart Event was finished (conversion command
has been loaded).
This flag is set in “Trigger” Mode when a Trigger Event occurs before the Restart Event is issued to start
conversion of the initial Command Sequence List. In “Trigger” Mode only a Restart Event is required to start
conversion of the initial Command Sequence List.
This flag is set when a Trigger Event occurs before a conversion sequence got finished.
This flag is also set if a Trigger occurs while a Trigger Event is just processed - first conversion command of a
sequence is beginning to sample (see also
Section 10.5.3.2.6, “Conversion flow control in case of conversion
sequence control bit overrun scenarios
).
This flag is also set if the Trigger Event occurs automatically generated by hardware in “Trigger Mode” due to a
Restart Event and simultaneously a Trigger Event is generated via data bus or internal interface.
The ADC ceases operation if this error flag is set (issue of type severe).
0 No trigger error occurred.
1 A trigger error occurred.
2
RSTAR_EIF
Restart Request Error Interrupt Flag
— This flag indicates a flow control issue. It is set when a Restart Request
occurs after a Trigger Event and before one of the following conditions was reached:
- The “End Of List” command type has been executed
- Depending on bit STR_SEQA if the “End Of List” command type is about to be executed
- The current CSL has been aborted or is about to be aborted due to a Sequence Abort Request.
The ADC continues operation if this error flag is set.
This flag is not set for Restart Request overrun scenarios (see also
Section 10.5.3.2.6, “Conversion flow control
in case of conversion sequence control bit overrun scenarios
0 No Restart request error situation occurred.
1 Restart request error situation occurred.
1
LDOK_EIF
Load OK Error Interrupt Flag
— This flag can only be set in “Restart Mode”. It indicates that a Restart Request
occurred without LDOK. This flag is not set if a Sequence Abort Event is already in process (bit SEQA set) when
the Restart Request occurs or a Sequence Abort Request occurs simultaneously with the Restart Request.
The LDOK_EIF error flag is also not set in “Restart Mode” if the first Restart Event occurs after:
- ADC got enabled
- Exit from Stop Mode
- ADC Soft-Reset
- ADC used in CSL single buffer mode
The ADC continues operation if this error flag is set.
0 No Load OK error situation occurred.
1 Load OK error situation occurred.
Table 10-13. ADCEIF Field Descriptions (continued)
Field
Description