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 4 interrupt sources, one of which can be configured to publish an event to a generic event route channel. Table 28-341 lists these interrupt sources.
Index | Name | Description |
---|---|---|
0x0 | NO_INTR | No bit set means there is no pending interrupt request |
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 |
0x9 | MEMRESIFG0 | Memory register interrupt flag is set when MEMRES0 is loaded with a new conversion result |
The generic event publisher configuration is managed with the GEN_EVENT event management registers. Interrupt (RIS) flags are cleared based on acknowledgment (ACK) signal from the subscriber module received over the event fabric. See Section 7.2.5 for guidance on configuring the Event registers for generic event publishers.
The generic event channel which GEN_EVENT is to publish to must be selected by writing the target generic channel ID to the FPUB_0 register in the ADC. See Section 7.1.3.3 for guidance on configuring generic event routes.
If this publisher is not used in an application, the FPUB_0 register can be left in a disconnected state (set equal to zero) and no events should be unmasked through the MIS register in the ADC GEN_EVENT register set.