41.3.5 Interrupts

Table 41-7. Available Interrupt Vectors and Sources
Vector NameSource NameConditionDependency
ADCn_ERRORTRIGOVRA new conversion is triggered while another is in progress
SAMPOVRA new conversion overwrites an unread sample in the Sample (ADCn.SAMPLE) register
RESOVRA new conversion or accumulation overwrites an unread result in the Result (ADCn.RESULT) register
ADCn_RESRDYRESRDYA new result is available in the Result (ADCn.RESULT) register
WCMPA conversion or accumulation matches the conditions set by the window comparatorThe Window Source (WINSRC) bit in the Control D (ADCn.CTRLD) register is ‘0
ADCn_SAMPRDYSAMPRDYA new sample is available in the Sample (ADCn.SAMPLE) register
WCMPA sample matches the conditions set by the window comparatorThe WINSRC bit in ADCn.CTRLD is ‘1

When an interrupt condition occurs, the corresponding interrupt flag is set in the peripheral’s Interrupt Flags (peripheral.INTFLAGS) register.

An interrupt source is enabled or disabled by writing to the corresponding enable bit in the peripheral’s Interrupt Control (peripheral.INTCTRL) register.

An interrupt request is generated when the corresponding interrupt source is enabled, and the interrupt flag is set. The interrupt request remains active until the interrupt flag is cleared. See the peripheral’s INTFLAGS register for details on how to clear interrupt flags.