SWCU185G January 2018 – June 2024 CC1312PSIP , CC1312R , CC1352P , CC1352R , CC2642R , CC2642R-Q1 , CC2652P , CC2652PSIP , CC2652R , CC2652RB , CC2652RSIP , CC2662R-Q1
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-36 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) |
11 | AUX_TIMER2_EV0 | Level | AUX Timer2 Event 0 |
12 | AUX_TIMER2_EV1 | Level | AUX Timer2 Event 1 |
13 | AUX_TIMER2_EV2 | Level | AUX Timer2 Event 2 |
14 | AUX_TIMER2_EV3 | Level | AUX Timer2 Event 3 |
15 | AUX_TIMER2_PULSE | Level | AUX Timer2 single clock pulse |
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 6 for all the possible connections.