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 4 interrupt sources, one of which can be configured to publish an event to a generic event route channel. Table 28-506 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.