SWCU191 February 2022 CC1311P3 , CC1311R3 , CC2651P3 , CC2651R3 , CC2651R3SIPA
AUX_EVCTL:EVTOMCUFLAGS holds 16 event flags that connect to the MCU event fabric and System CPU. The event flag name is identical to the event on the synchronous event bus it derives from. Table 20-19 lists the event flags and their sensitivity type.
An event flag sets when the level or edge configured in AUX_EVCTL:EVTOMCUPOL occurs for that event. In order to clear a level-sensitive flag, the corresponding event must be cleared before the user clears the event flag. Write 1 to an event index in AUX_EVCTL:EVTOMCUFLAGSCLR to clear a level- or edge-sensitive flag.
Index | Event Flag Name | Sensitivity | Description |
---|---|---|---|
0 | AUX_WU_EV | Level | AUX wakeup event(1) |
1 | AUX_COMPA | Edge | Comparator A event |
2 | AUX_COMPB | Edge | Comparator B event |
3 | AUX_TDC_DONE | Level | TDC conversion done or time-out |
4 | AUX_TIMER0_EV | Level | AUX Timer0 has reached its target value |
5 | AUX_TIMER1_EV | Level | AUX Timer1 has reached its target value |
6 |
AUX_SMPH_AUTOTAKE_DONE |
Level |
A user-specified semaphore has been released |
7 | AUX_ADC_DONE | Level | ADC conversion is done |
8 | AUX_ADC_FIFO_ALMOST_FULL | Level | ADC FIFO almost full |
9 | MCU_OBSMUX0 | Level | MCU observable event. |
10 | AUX_ADC_IRQ | Level | ADC IRQ(2) |
The user can optionally enable the AUX_COMB event as a function of the 16 event flags in AUX_EVCTL:EVTOMCUFLAGS. The AUX_EVCTL:COMBEVTOMCUMASK configuration determines if a set event flag will set the AUX_COMB event. The AUX_COMB event is high as long as one or more of the event flags selected by AUX_EVCTL:COMBEVTOMCUMASK are set.
The MCU event fabric connects the 16 event flags and the AUX_COMB event as:
See EVENT:* in Chapter 5 for all the possible connections.