
11.7.3 Early Interrupt Configuration Mode
Enabling early interrupt mode can allow the application to enter the ADC interrupt service routine before the ADC
results are ready. This allows the application to do any necessary pre-work so that the application can act on
the ADC results immediately when the ADC results become available. If the timing of the early interrupt is too
early, then the application needs to waste time until the updated ADC results become available. To prevent this
situation, the time the ADC interrupt is entered in early interrupt mode is configurable by way of the DELAY field
in the ADCINTCYCLE register.
- To use the configurable interrupt time, the ADC must be in early interrupt mode. To achieve this, clear the bit
INTPULSEPOS to 0 in ADCCTL1.
- The DELAY value in the ADCINTCYCLE register sets the number of additional SYSCLK cycles after the
falling edge of the SOC pulse before the ADCINT flag is set.
- If the value of DELAY goes beyond EOC, the ADC interrupt is generated along with EOC.
- Writing values to DELAY when INTPULSEPOS is set to 1 does not have any effect on the interrupt
generation.