SLAU893B October 2023 – July 2024 MSPM0C1103 , MSPM0C1103-Q1 , MSPM0C1104 , MSPM0C1104-Q1
The ADC peripheral provides many interrupt sources which can be configured to source a CPU interrupt event. In order of decreasing interrupt priority, the CPU interrupt events from the ADC are given in Table 17-198.
Index (IIDX) | Name | Description |
---|---|---|
0x0 | NO_INTR | No bit set (IIDX.STAT = 0) means there is no pending interrupt request |
0x1 | OVIFG | Conversion overflow interrupt flag is set when the ADC updates MEMRESx before the previous sample is read by the CPU or DMA |
0x2 | TOVIFG | Sequence conversion time overflow interrupt flag is set when the ADC receives a new sampling trigger while the previous sample+conversion is still in progress |
0x3 | HIGHIFG | High threshold compare interrupt flag is set when the MEMRESx result register is higher than the WCHIGH threshold of the window comparator |
0x4 | LOWIFG | Low threshold compare interrupt flag is set when the MEMRESx result register is lower than the WCLOW threshold of the window comparator |
0x5 | INIFG | In-range comparator interrupt flag is set when the MEMRESx result register is within the range of WCLOW and WCHIGH of the window comparator |
0x6 | DMADONE | DMA done interrupt flag is set when the DMA data transfer of programmed block size is completed |
0x7 | UVIFG | Conversion underflow interrupt flag, the UVIFG flag is set when the CPU or DMA reads the MEMRESx register before the next conversion result is available |
0x9 up to 0x20 | MEMRESIFG[0 up to 24](1) | Memory register interrupt flag is set when MEMRESx is loaded with a new conversion result |
The CPU interrupt event configuration is managed with the CPU_INT event management registers. Interrupt (RIS) flags are cleared upon software reading the IIDX register or writing to the respective ICLR register bits. See Section 6.2.5 for guidance on configuring the Event registers for CPU interrupts.