SLAU846A June 2023 – October 2023 MSPM0G1105 , MSPM0G1106 , MSPM0G1107 , MSPM0G1505 , MSPM0G1506 , MSPM0G1507 , MSPM0G3105 , MSPM0G3105-Q1 , MSPM0G3106 , MSPM0G3106-Q1 , MSPM0G3107 , MSPM0G3107-Q1 , MSPM0G3505 , MSPM0G3505-Q1 , MSPM0G3506 , MSPM0G3506-Q1 , MSPM0G3507 , MSPM0G3507-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-341.
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.