Functions | |
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... | |
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:
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).
ui32AUXWUEvent | is one of three programmable AUX wakeup event sources. |
Definition at line 200 of file aon_event.c.
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).
ui32AUXWUEvent | is one of three programmable AUX wakeup event sources. |
ui32EventSrc | is an event sources for the event AON fabric.
|
Definition at line 161 of file aon_event.c.
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.
ui32MCUEvent | is one of three programmable events forwarded to the MCU event fabric. |
Get source for the specified programmable event forwarded to the MCU event fabric.
Definition at line 283 of file aon_event.c.
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.
ui32MCUEvent | is one of three programmable events forwarded to the MCU event fabric. |
ui32EventSrc | is event sources for the event AON fabric.
|
Select event source for the specified programmable event forwarded to the MCU event fabric
Definition at line 243 of file aon_event.c.
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).
ui32MCUWUEvent | is one of four programmable MCU wakeup event sources. |
Definition at line 113 of file aon_event.c.
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).
ui32MCUWUEvent | is one of four programmable MCU wakeup event sources. |
ui32EventSrc | is an event source for the event AON fabric.
|
Definition at line 68 of file aon_event.c.
|
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.
Definition at line 569 of file aon_event.h.
|
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.
ui32EventSrc | is the event sources for the event AON fabric.
|
Definition at line 513 of file aon_event.h.
#define AON_EVENT_AUX_ADC_DONE 49 |
Definition at line 118 of file aon_event.h.
#define AON_EVENT_AUX_COMPA 47 |
Definition at line 116 of file aon_event.h.
#define AON_EVENT_AUX_COMPB 48 |
Definition at line 117 of file aon_event.h.
#define AON_EVENT_AUX_COMPB_ASYNC 55 |
Definition at line 124 of file aon_event.h.
#define AON_EVENT_AUX_COMPB_ASYNC_N 56 |
Definition at line 125 of file aon_event.h.
#define AON_EVENT_AUX_SWEV0 44 |
Definition at line 113 of file aon_event.h.
#define AON_EVENT_AUX_SWEV1 45 |
Definition at line 114 of file aon_event.h.
#define AON_EVENT_AUX_SWEV2 46 |
Definition at line 115 of file aon_event.h.
#define AON_EVENT_AUX_TDC_DONE 50 |
Definition at line 119 of file aon_event.h.
#define AON_EVENT_AUX_TIMER0_EV 51 |
Definition at line 120 of file aon_event.h.
#define AON_EVENT_AUX_TIMER1_EV 52 |
Definition at line 121 of file aon_event.h.
#define AON_EVENT_AUX_WU0 0 |
Definition at line 150 of file aon_event.h.
Referenced by AONEventAuxWakeUpGet(), and AONEventAuxWakeUpSet().
#define AON_EVENT_AUX_WU1 1 |
Definition at line 151 of file aon_event.h.
Referenced by AONEventAuxWakeUpGet(), and AONEventAuxWakeUpSet().
#define AON_EVENT_AUX_WU2 2 |
Definition at line 152 of file aon_event.h.
Referenced by AONEventAuxWakeUpGet(), and AONEventAuxWakeUpSet().
#define AON_EVENT_BATMON_TEMP 53 |
Definition at line 122 of file aon_event.h.
#define AON_EVENT_BATMON_VOLT 54 |
Definition at line 123 of file aon_event.h.
#define AON_EVENT_IO 32 |
Definition at line 101 of file aon_event.h.
#define AON_EVENT_JTAG 43 |
Definition at line 112 of file aon_event.h.
#define AON_EVENT_MCU_EVENT0 0 |
Definition at line 159 of file aon_event.h.
Referenced by AONEventMcuGet(), and AONEventMcuSet().
#define AON_EVENT_MCU_EVENT1 1 |
Definition at line 160 of file aon_event.h.
Referenced by AONEventMcuGet(), and AONEventMcuSet().
#define AON_EVENT_MCU_EVENT2 2 |
Definition at line 161 of file aon_event.h.
Referenced by AONEventMcuGet(), and AONEventMcuSet().
#define AON_EVENT_MCU_WU0 0 |
Definition at line 140 of file aon_event.h.
Referenced by AONEventMcuWakeUpGet(), and AONEventMcuWakeUpSet().
#define AON_EVENT_MCU_WU1 1 |
Definition at line 141 of file aon_event.h.
Referenced by AONEventMcuWakeUpGet(), and AONEventMcuWakeUpSet().
#define AON_EVENT_MCU_WU2 2 |
Definition at line 142 of file aon_event.h.
Referenced by AONEventMcuWakeUpGet(), and AONEventMcuWakeUpSet().
#define AON_EVENT_MCU_WU3 3 |
Definition at line 143 of file aon_event.h.
Referenced by AONEventMcuWakeUpGet(), and AONEventMcuWakeUpSet().
#define AON_EVENT_NONE 63 |
Definition at line 127 of file aon_event.h.
Referenced by AONEventAuxWakeUpSet(), AONEventMcuSet(), AONEventMcuWakeUpSet(), and AONEventRtcSet().
#define AON_EVENT_RTC0 ( AON_EVENT_RTC_CH0 ) |
Definition at line 132 of file aon_event.h.
#define AON_EVENT_RTC_CH0 35 |
Definition at line 104 of file aon_event.h.
#define AON_EVENT_RTC_CH0_DLY 38 |
Definition at line 107 of file aon_event.h.
#define AON_EVENT_RTC_CH1 36 |
Definition at line 105 of file aon_event.h.
#define AON_EVENT_RTC_CH1_DLY 39 |
Definition at line 108 of file aon_event.h.
#define AON_EVENT_RTC_CH2 37 |
Definition at line 106 of file aon_event.h.
#define AON_EVENT_RTC_CH2_DLY 40 |
Definition at line 109 of file aon_event.h.
#define AON_EVENT_RTC_COMB_DLY 41 |
Definition at line 110 of file aon_event.h.
#define AON_EVENT_RTC_UPD 42 |
Definition at line 111 of file aon_event.h.