SWCU185G January 2018 – June 2024 CC1312PSIP , CC1312R , CC1352P , CC1352R , CC2642R , CC2642R-Q1 , CC2652P , CC2652PSIP , CC2652R , CC2652RB , CC2652RSIP , CC2662R-Q1
AUX_EVCTL:EVTOAONFLAGS holds nine event flags that connect to the AON event fabric. The event flag name is identical to the event on the synchronous event bus it derives from. Table 20-37 lists the event flags and their sensitivity type.
Index | Event Flag Name | Sensitivity | Description |
---|---|---|---|
0 | SWEV0 | NA | Maps directly to AUX_EVCTL:SWEVSET.SWEV0 |
1 | SWEV1 | NA | Maps directly to AUX_EVCTL:SWEVSET.SWEV1 |
2 | SWEV2 | NA | Maps directly to AUX_EVCTL:SWEVSET.SWEV2 |
3 | AUX_COMPA | Edge | Comparator A event |
4 | AUX_COMPB | Edge | Comparator B event |
5 | AUX_ADC_DONE | Level | ADC conversion is done |
6 | AUX_TDC_DONE | Level | TDC conversion done or time-out |
7 | AUX_TIMER0_EV | Level | AUX Timer0 has reached its target value |
8 | AUX_TIMER1_EV | Level | AUX Timer1 has reached its target value |
An event flag sets when the level or edge configured in AUX_EVCTL:EVTOAONPOL occurs for that event. The level of SWEV0 through SWEV2 event flags is controlled by register. 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:EVTOAONFLAGSCLR to clear a level- or edge-sensitive flag.
The event flags SWEV0 and SWEV1 also connect directly to the System CPU.
The event flags are useful for:
The AUX_TIMER2_EV* events are also routed directly to AON_EVENT without intermediate synchronization to the AUX clock.