SLAU847D October 2022 – May 2024 MSPM0L1105 , MSPM0L1106 , MSPM0L1227 , MSPM0L1228 , MSPM0L1228-Q1 , MSPM0L1303 , MSPM0L1304 , MSPM0L1304-Q1 , MSPM0L1305 , MSPM0L1305-Q1 , MSPM0L1306 , MSPM0L1306-Q1 , MSPM0L1343 , MSPM0L1344 , MSPM0L1345 , MSPM0L1346 , MSPM0L2227 , MSPM0L2228 , MSPM0L2228-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 28-506.
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 7.2.5 for guidance on configuring the Event registers for CPU interrupts.