CC13xx Driver Library
[aon_event] AON Event

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...
 

Detailed Description

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:

Function Documentation

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
ui32AUXWUEventis 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()

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).

Note
The three programmable event sources are effectively OR'ed together to form a single wake-up event forwarded to the WUC.
Parameters
ui32AUXWUEventis one of three programmable AUX wakeup event sources.
ui32EventSrcis an event sources for the event AON fabric.
Returns
None
See also
AONEventAuxWakeUpGet()

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.

Parameters
ui32MCUEventis 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.

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.

Note
The three programmable event sources are forwarded to the MCU Event Fabric as:
  • AON_PROG0
  • AON_PROG1
  • AON_PROG2
Parameters
ui32MCUEventis one of three programmable events forwarded to the MCU event fabric.
ui32EventSrcis 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

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).

Parameters
ui32MCUWUEventis 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()

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).

Note
The four programmable event sources are effectively OR'ed together to form a single wake-up event forwarded to the WUC.
Parameters
ui32MCUWUEventis one of four programmable MCU wakeup event sources.
ui32EventSrcis an event source for the event AON fabric.
Returns
None
See also
AONEventMcuWakeUpGet()

Definition at line 68 of file aon_event.c.

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()

Definition at line 569 of file aon_event.h.

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
ui32EventSrcis the event sources for the event AON fabric.
Returns
None
See also
AONEventRtcGet()

Definition at line 513 of file aon_event.h.

Macro Definition Documentation

#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
#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.