|
void | AONEventMcuWakeUpSet (uint32_t ui32MCUWUEvent, uint32_t ui32EventSrc) |
| Select event source for the specified MCU wakeup programmable event. More...
|
|
uint32_t | AONEventMcuWakeUpGet (uint32_t ui32MCUWUEvent) |
| Get event source for the specified MCU wakeup programmable event. More...
|
|
void | AONEventAuxWakeUpSet (uint32_t ui32AUXWUEvent, uint32_t ui32EventSrc) |
| Select event source for the specified AUX wakeup programmable event. More...
|
|
uint32_t | AONEventAuxWakeUpGet (uint32_t ui32AUXWUEvent) |
| Get event source for the specified AUX wakeup programmable event. More...
|
|
void | AONEventMcuSet (uint32_t ui32MCUEvent, uint32_t ui32EventSrc) |
| Select event source for the specified programmable event forwarded to the MCU event fabric. More...
|
|
uint32_t | AONEventMcuGet (uint32_t ui32MCUEvent) |
| Get source for the specified programmable event forwarded to the MCU event fabric. More...
|
|
static void | AONEventRtcSet (uint32_t ui32EventSrc) |
| Select event source forwarded to AON Real Time Clock (RTC). More...
|
|
static uint32_t | AONEventRtcGet (void) |
| Get event source forwarded to AON Real Time Clock (RTC). More...
|
|
Introduction
The event fabric consists of two event modules. One in the MCU power domain (MCU event fabric) and the other in the AON power domain (AON event fabric). The MCU event fabric is one of the subscribers to the AON event fabric. For more information on MCU event fabric, see MCU event API.
The AON event fabric is a configurable combinatorial router between AON event sources and event subscribers in both AON and MCU domains. The AON event fabric has three main event subscribers: AON WUC, AON RTC, and MCU event fabric. The API to control the AON event fabric configuration can be grouped based on the event subscriber to configure:
- AON WUC receives two programmable event lines from AON event fabric. One for MCU wake-up events and one for AUX wake-up events. For more information, see AON WUC API.
- MCU wake-up event
- AUX wake-up event
- AON RTC receives a single programmable event line from the AON event fabric. For more information, see AON RTC API.
- MCU event fabric receives a number of programmable event lines from the AON event fabric. For more information, see MCU event API.
uint32_t AONEventAuxWakeUpGet |
( |
uint32_t |
ui32AUXWUEvent | ) |
|
Get event source for the specified AUX wakeup programmable event.
The AON event fabric has a total of three programmable events that can wake-up the AUX domain. The events are forwarded to the wakeup controller (WUC).
- Parameters
-
ui32AUXWUEvent | is one of three programmable AUX wakeup event sources.
|
- Returns
- Returns an event source for the event AON fabric, i.e. one of the following:
- See also
- AONEventAuxWakeUpSet()
194 uint32_t ui32EventSrc;
#define AON_EVENT_AUX_WU2
Definition: aon_event.h:150
#define AON_EVENT_AUX_WU1
Definition: aon_event.h:149
#define AON_EVENT_AUX_WU0
Definition: aon_event.h:148
#define ASSERT(expr)
Definition: debug.h:74
void AONEventAuxWakeUpSet |
( |
uint32_t |
ui32AUXWUEvent, |
|
|
uint32_t |
ui32EventSrc |
|
) |
| |
Select event source for the specified AUX wakeup programmable event.
The AON event fabric has a total of three programmable events that can wake-up the AUX domain. The events are forwarded to the wakeup controller (WUC).
- Note
- The three programmable event sources are effectively OR'ed together to form a single wake-up event forwarded to the WUC.
- Parameters
-
ui32AUXWUEvent | is one of three programmable AUX wakeup event sources.
|
ui32EventSrc | is an event sources for the event AON fabric.
|
- Returns
- None
- See also
- AONEventAuxWakeUpGet()
#define AON_EVENT_AUX_WU2
Definition: aon_event.h:150
#define AON_EVENT_AUX_WU1
Definition: aon_event.h:149
#define AON_EVENT_NONE
Definition: aon_event.h:127
#define AON_EVENT_AUX_WU0
Definition: aon_event.h:148
#define ASSERT(expr)
Definition: debug.h:74
uint32_t AONEventMcuGet |
( |
uint32_t |
ui32MCUEvent | ) |
|
Get source for the specified programmable event forwarded to the MCU event fabric.
The AON event fabric has a total of three programmable events that can be forwarded to the MCU event fabric.
- Parameters
-
ui32MCUEvent | is one of three programmable events forwarded to the MCU event fabric.
|
- Returns
- Returns an event source for the event AON fabric, i.e. one of the following:
- See also
- AONEventMcuSet()
Get source for the specified programmable event forwarded to the MCU event fabric.
271 uint32_t ui32EventSrc;
#define AON_EVENT_MCU_EVENT2
Definition: aon_event.h:159
#define AON_EVENT_MCU_EVENT0
Definition: aon_event.h:157
#define ASSERT(expr)
Definition: debug.h:74
#define AON_EVENT_MCU_EVENT1
Definition: aon_event.h:158
void AONEventMcuSet |
( |
uint32_t |
ui32MCUEvent, |
|
|
uint32_t |
ui32EventSrc |
|
) |
| |
Select event source for the specified programmable event forwarded to the MCU event fabric.
The AON event fabric has a total of three programmable events that can be forwarded to the MCU event fabric.
- Note
- The three programmable event sources are forwarded to the MCU Event Fabric as:
- AON_PROG0
- AON_PROG1
- AON_PROG2
- Parameters
-
ui32MCUEvent | is one of three programmable events forwarded to the MCU event fabric.
|
ui32EventSrc | is event sources for the event AON fabric.
|
- Returns
- None
- See also
- AONEventMcuGet()
Select event source for the specified programmable event forwarded to the MCU event fabric
#define AON_EVENT_NONE
Definition: aon_event.h:127
#define AON_EVENT_MCU_EVENT2
Definition: aon_event.h:159
#define AON_EVENT_MCU_EVENT0
Definition: aon_event.h:157
#define ASSERT(expr)
Definition: debug.h:74
#define AON_EVENT_MCU_EVENT1
Definition: aon_event.h:158
uint32_t AONEventMcuWakeUpGet |
( |
uint32_t |
ui32MCUWUEvent | ) |
|
Get event source for the specified MCU wakeup programmable event.
The AON event fabric has a total of four programmable events that can wake-up the MCU. The events are forwarded to the wakeup controller (WUC).
- Parameters
-
ui32MCUWUEvent | is one of four programmable MCU wakeup event sources.
|
- Returns
- Returns an event source for the event AON fabric, i.e. one of the following:
- See also
- AONEventMcuWakeUpSet()
113 uint32_t ui32EventSrc;
#define AON_EVENT_MCU_WU3
Definition: aon_event.h:141
#define AON_EVENT_MCU_WU0
Definition: aon_event.h:138
#define ASSERT(expr)
Definition: debug.h:74
#define AON_EVENT_MCU_WU1
Definition: aon_event.h:139
#define AON_EVENT_MCU_WU2
Definition: aon_event.h:140
void AONEventMcuWakeUpSet |
( |
uint32_t |
ui32MCUWUEvent, |
|
|
uint32_t |
ui32EventSrc |
|
) |
| |
Select event source for the specified MCU wakeup programmable event.
The AON event fabric has a total of four programmable events that can wake-up the MCU. The events are forwarded to the wakeup controller (WUC).
- Note
- The four programmable event sources are effectively OR'ed together to form a single wake-up event forwarded to the WUC.
- Parameters
-
ui32MCUWUEvent | is one of four programmable MCU wakeup event sources.
|
ui32EventSrc | is an event source for the event AON fabric.
|
- Returns
- None
- See also
- AONEventMcuWakeUpGet()
#define AON_EVENT_MCU_WU3
Definition: aon_event.h:141
#define AON_EVENT_MCU_WU0
Definition: aon_event.h:138
#define AON_EVENT_NONE
Definition: aon_event.h:127
#define ASSERT(expr)
Definition: debug.h:74
#define AON_EVENT_MCU_WU1
Definition: aon_event.h:139
#define AON_EVENT_MCU_WU2
Definition: aon_event.h:140
static uint32_t AONEventRtcGet |
( |
void |
| ) |
|
|
inlinestatic |
Get event source forwarded to AON Real Time Clock (RTC).
A programmable event can be forwarded to the AON real time clock for triggering a capture event on RTC channel 1.
- Returns
- Returns an event source to the event AON fabric, i.e. one of the following:
- See also
- AONEventRtcSet()
567 uint32_t ui32EventSrc;
static void AONEventRtcSet |
( |
uint32_t |
ui32EventSrc | ) |
|
|
inlinestatic |
Select event source forwarded to AON Real Time Clock (RTC).
A programmable event can be forwarded to the AON real time clock for triggering a capture event on RTC channel 1.
- Parameters
-
ui32EventSrc | is the event sources for the event AON fabric.
|
- Returns
- None
- See also
- AONEventRtcGet()
#define AON_EVENT_NONE
Definition: aon_event.h:127
#define ASSERT(expr)
Definition: debug.h:74
#define AON_EVENT_AUX_ADC_DONE 49 |
#define AON_EVENT_AUX_COMPA 47 |
#define AON_EVENT_AUX_COMPB 48 |
#define AON_EVENT_AUX_COMPB_ASYNC 55 |
#define AON_EVENT_AUX_COMPB_ASYNC_N 56 |
#define AON_EVENT_AUX_SWEV0 44 |
#define AON_EVENT_AUX_SWEV1 45 |
#define AON_EVENT_AUX_SWEV2 46 |
#define AON_EVENT_AUX_TDC_DONE 50 |
#define AON_EVENT_AUX_TIMER0_EV 51 |
#define AON_EVENT_AUX_TIMER1_EV 52 |
#define AON_EVENT_AUX_WU0 0 |
#define AON_EVENT_AUX_WU1 1 |
#define AON_EVENT_AUX_WU2 2 |
#define AON_EVENT_BATMON_TEMP 53 |
#define AON_EVENT_BATMON_VOLT 54 |
#define AON_EVENT_JTAG 43 |
#define AON_EVENT_MCU_EVENT0 0 |
#define AON_EVENT_MCU_EVENT1 1 |
#define AON_EVENT_MCU_EVENT2 2 |
#define AON_EVENT_MCU_WU0 0 |
#define AON_EVENT_MCU_WU1 1 |
#define AON_EVENT_MCU_WU2 2 |
#define AON_EVENT_MCU_WU3 3 |
#define AON_EVENT_NONE 63 |
#define AON_EVENT_RTC_CH0 35 |
#define AON_EVENT_RTC_CH0_DLY 38 |
#define AON_EVENT_RTC_CH1 36 |
#define AON_EVENT_RTC_CH1_DLY 39 |
#define AON_EVENT_RTC_CH2 37 |
#define AON_EVENT_RTC_CH2_DLY 40 |
#define AON_EVENT_RTC_COMB_DLY 41 |
#define AON_EVENT_RTC_UPD 42 |