/****************************************************************************** * Filename: hw_aon_event_h * Revised: 2018-05-14 12:24:52 +0200 (Mon, 14 May 2018) * Revision: 51990 * * Copyright (c) 2015 - 2017, Texas Instruments Incorporated * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1) Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * * 2) Redistributions in binary form must reproduce the above copyright notice, * this list of conditions and the following disclaimer in the documentation * and/or other materials provided with the distribution. * * 3) Neither the name of the ORGANIZATION nor the names of its contributors may * be used to endorse or promote products derived from this software without * specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * ******************************************************************************/ #ifndef __HW_AON_EVENT_H__ #define __HW_AON_EVENT_H__ //***************************************************************************** // // This section defines the register offsets of // AON_EVENT component // //***************************************************************************** // Wake-up Selector For MCU #define AON_EVENT_O_MCUWUSEL 0x00000000 // Wake-up Selector For MCU #define AON_EVENT_O_MCUWUSEL1 0x00000004 // Event Selector For MCU Event Fabric #define AON_EVENT_O_EVTOMCUSEL 0x00000008 // RTC Capture Event Selector For AON_RTC #define AON_EVENT_O_RTCSEL 0x0000000C //***************************************************************************** // // Register: AON_EVENT_O_MCUWUSEL // //***************************************************************************** // Field: [29:24] WU3_EV // // MCU Wakeup Source #3 // // AON Event Source selecting 1 of 8 events routed to AON_PMCTRL for waking up // the MCU domain from Power Off or Power Down. // Note: // ENUMs: // NONE No event, always low // AUX_COMPB_ASYNC_N Comparator B not triggered. Asynchronous signal // directly from AUX Comparator B (inverted) as // opposed to AUX_COMPB which is synchronized in // AUX // AUX_COMPB_ASYNC Comparator B triggered. Asynchronous signal // directly from the AUX Comparator B as opposed // to AUX_COMPB which is synchronized in AUX // BATMON_VOLT BATMON voltage update event // BATMON_TEMP BATMON temperature update event // AUX_TIMER1_EV AUX Timer 1 Event // AUX_TIMER0_EV AUX Timer 0 Event // AUX_TDC_DONE TDC completed or timed out // AUX_ADC_DONE ADC conversion completed // AUX_COMPB Comparator B triggered // AUX_COMPA Comparator A triggered // AUX_SWEV2 AUX Software triggered event #2. Triggered by // AUX_EVCTL:SWEVSET.SWEV2 // AUX_SWEV1 AUX Software triggered event #1. Triggered by // AUX_EVCTL:SWEVSET.SWEV1 // AUX_SWEV0 AUX Software triggered event #0. Triggered by // AUX_EVCTL:SWEVSET.SWEV0 // JTAG JTAG generated event // RTC_UPD RTC Update Tick (16 kHz signal, i.e. event line // toggles value every 32 kHz clock period) // RTC_COMB_DLY RTC combined delayed event // RTC_CH2_DLY RTC channel 2 - delayed event // RTC_CH1_DLY RTC channel 1 - delayed event // RTC_CH0_DLY RTC channel 0 - delayed event // RTC_CH2 RTC channel 2 event // RTC_CH1 RTC channel 1 event // RTC_CH0 RTC channel 0 event // PAD Edge detect on any PAD // BATMON_COMBINED Combined event from BATMON // BATMON_TEMP_LL BATMON event: Temperature level below lower limit // BATMON_TEMP_UL BATMON event: Temperature level above upper limit // BATMON_BATT_LL BATMON event: Battery level below lower limit // BATMON_BATT_UL BATMON event: Battery level above upper limit // AUX_TIMER2_EV3 Event 3 from AUX TImer2 // AUX_TIMER2_EV2 Event 2 from AUX TImer2 // AUX_TIMER2_EV1 Event 1 from AUX TImer2 // AUX_TIMER2_EV0 Event 0 from AUX TImer2 // IOEV_MCU_WU Edge detect IO event from the DIO(s) which have // enabled contribution to IOEV_MCU_WU in // [MCU_IOC:IOCFGx.IOEV_MCU_WU_EN] #define AON_EVENT_MCUWUSEL_WU3_EV_W 6 #define AON_EVENT_MCUWUSEL_WU3_EV_M 0x3F000000 #define AON_EVENT_MCUWUSEL_WU3_EV_S 24 #define AON_EVENT_MCUWUSEL_WU3_EV_NONE 0x3F000000 #define AON_EVENT_MCUWUSEL_WU3_EV_AUX_COMPB_ASYNC_N 0x38000000 #define AON_EVENT_MCUWUSEL_WU3_EV_AUX_COMPB_ASYNC 0x37000000 #define AON_EVENT_MCUWUSEL_WU3_EV_BATMON_VOLT 0x36000000 #define AON_EVENT_MCUWUSEL_WU3_EV_BATMON_TEMP 0x35000000 #define AON_EVENT_MCUWUSEL_WU3_EV_AUX_TIMER1_EV 0x34000000 #define AON_EVENT_MCUWUSEL_WU3_EV_AUX_TIMER0_EV 0x33000000 #define AON_EVENT_MCUWUSEL_WU3_EV_AUX_TDC_DONE 0x32000000 #define AON_EVENT_MCUWUSEL_WU3_EV_AUX_ADC_DONE 0x31000000 #define AON_EVENT_MCUWUSEL_WU3_EV_AUX_COMPB 0x30000000 #define AON_EVENT_MCUWUSEL_WU3_EV_AUX_COMPA 0x2F000000 #define AON_EVENT_MCUWUSEL_WU3_EV_AUX_SWEV2 0x2E000000 #define AON_EVENT_MCUWUSEL_WU3_EV_AUX_SWEV1 0x2D000000 #define AON_EVENT_MCUWUSEL_WU3_EV_AUX_SWEV0 0x2C000000 #define AON_EVENT_MCUWUSEL_WU3_EV_JTAG 0x2B000000 #define AON_EVENT_MCUWUSEL_WU3_EV_RTC_UPD 0x2A000000 #define AON_EVENT_MCUWUSEL_WU3_EV_RTC_COMB_DLY 0x29000000 #define AON_EVENT_MCUWUSEL_WU3_EV_RTC_CH2_DLY 0x28000000 #define AON_EVENT_MCUWUSEL_WU3_EV_RTC_CH1_DLY 0x27000000 #define AON_EVENT_MCUWUSEL_WU3_EV_RTC_CH0_DLY 0x26000000 #define AON_EVENT_MCUWUSEL_WU3_EV_RTC_CH2 0x25000000 #define AON_EVENT_MCUWUSEL_WU3_EV_RTC_CH1 0x24000000 #define AON_EVENT_MCUWUSEL_WU3_EV_RTC_CH0 0x23000000 #define AON_EVENT_MCUWUSEL_WU3_EV_PAD 0x20000000 #define AON_EVENT_MCUWUSEL_WU3_EV_BATMON_COMBINED 0x09000000 #define AON_EVENT_MCUWUSEL_WU3_EV_BATMON_TEMP_LL 0x08000000 #define AON_EVENT_MCUWUSEL_WU3_EV_BATMON_TEMP_UL 0x07000000 #define AON_EVENT_MCUWUSEL_WU3_EV_BATMON_BATT_LL 0x06000000 #define AON_EVENT_MCUWUSEL_WU3_EV_BATMON_BATT_UL 0x05000000 #define AON_EVENT_MCUWUSEL_WU3_EV_AUX_TIMER2_EV3 0x04000000 #define AON_EVENT_MCUWUSEL_WU3_EV_AUX_TIMER2_EV2 0x03000000 #define AON_EVENT_MCUWUSEL_WU3_EV_AUX_TIMER2_EV1 0x02000000 #define AON_EVENT_MCUWUSEL_WU3_EV_AUX_TIMER2_EV0 0x01000000 #define AON_EVENT_MCUWUSEL_WU3_EV_IOEV_MCU_WU 0x00000000 // Field: [21:16] WU2_EV // // MCU Wakeup Source #2 // // AON Event Source selecting 1 of 8 events routed to AON_PMCTRL for waking up // the MCU domain from Power Off or Power Down. // Note: // ENUMs: // NONE No event, always low // AUX_COMPB_ASYNC_N Comparator B not triggered. Asynchronous signal // directly from AUX Comparator B (inverted) as // opposed to AUX_COMPB which is synchronized in // AUX // AUX_COMPB_ASYNC Comparator B triggered. Asynchronous signal // directly from the AUX Comparator B as opposed // to AUX_COMPB which is synchronized in AUX // BATMON_VOLT BATMON voltage update event // BATMON_TEMP BATMON temperature update event // AUX_TIMER1_EV AUX Timer 1 Event // AUX_TIMER0_EV AUX Timer 0 Event // AUX_TDC_DONE TDC completed or timed out // AUX_ADC_DONE ADC conversion completed // AUX_COMPB Comparator B triggered // AUX_COMPA Comparator A triggered // AUX_SWEV2 AUX Software triggered event #2. Triggered by // AUX_EVCTL:SWEVSET.SWEV2 // AUX_SWEV1 AUX Software triggered event #1. Triggered by // AUX_EVCTL:SWEVSET.SWEV1 // AUX_SWEV0 AUX Software triggered event #0. Triggered by // AUX_EVCTL:SWEVSET.SWEV0 // JTAG JTAG generated event // RTC_UPD RTC Update Tick (16 kHz signal, i.e. event line // toggles value every 32 kHz clock period) // RTC_COMB_DLY RTC combined delayed event // RTC_CH2_DLY RTC channel 2 - delayed event // RTC_CH1_DLY RTC channel 1 - delayed event // RTC_CH0_DLY RTC channel 0 - delayed event // RTC_CH2 RTC channel 2 event // RTC_CH1 RTC channel 1 event // RTC_CH0 RTC channel 0 event // PAD Edge detect on any PAD // BATMON_COMBINED Combined event from BATMON // BATMON_TEMP_LL BATMON event: Temperature level below lower limit // BATMON_TEMP_UL BATMON event: Temperature level above upper limit // BATMON_BATT_LL BATMON event: Battery level below lower limit // BATMON_BATT_UL BATMON event: Battery level above upper limit // AUX_TIMER2_EV3 Event 3 from AUX TImer2 // AUX_TIMER2_EV2 Event 2 from AUX TImer2 // AUX_TIMER2_EV1 Event 1 from AUX TImer2 // AUX_TIMER2_EV0 Event 0 from AUX TImer2 // IOEV_MCU_WU Edge detect IO event from the DIO(s) which have // enabled contribution to IOEV_MCU_WU in // [MCU_IOC:IOCFGx.IOEV_MCU_WU_EN] #define AON_EVENT_MCUWUSEL_WU2_EV_W 6 #define AON_EVENT_MCUWUSEL_WU2_EV_M 0x003F0000 #define AON_EVENT_MCUWUSEL_WU2_EV_S 16 #define AON_EVENT_MCUWUSEL_WU2_EV_NONE 0x003F0000 #define AON_EVENT_MCUWUSEL_WU2_EV_AUX_COMPB_ASYNC_N 0x00380000 #define AON_EVENT_MCUWUSEL_WU2_EV_AUX_COMPB_ASYNC 0x00370000 #define AON_EVENT_MCUWUSEL_WU2_EV_BATMON_VOLT 0x00360000 #define AON_EVENT_MCUWUSEL_WU2_EV_BATMON_TEMP 0x00350000 #define AON_EVENT_MCUWUSEL_WU2_EV_AUX_TIMER1_EV 0x00340000 #define AON_EVENT_MCUWUSEL_WU2_EV_AUX_TIMER0_EV 0x00330000 #define AON_EVENT_MCUWUSEL_WU2_EV_AUX_TDC_DONE 0x00320000 #define AON_EVENT_MCUWUSEL_WU2_EV_AUX_ADC_DONE 0x00310000 #define AON_EVENT_MCUWUSEL_WU2_EV_AUX_COMPB 0x00300000 #define AON_EVENT_MCUWUSEL_WU2_EV_AUX_COMPA 0x002F0000 #define AON_EVENT_MCUWUSEL_WU2_EV_AUX_SWEV2 0x002E0000 #define AON_EVENT_MCUWUSEL_WU2_EV_AUX_SWEV1 0x002D0000 #define AON_EVENT_MCUWUSEL_WU2_EV_AUX_SWEV0 0x002C0000 #define AON_EVENT_MCUWUSEL_WU2_EV_JTAG 0x002B0000 #define AON_EVENT_MCUWUSEL_WU2_EV_RTC_UPD 0x002A0000 #define AON_EVENT_MCUWUSEL_WU2_EV_RTC_COMB_DLY 0x00290000 #define AON_EVENT_MCUWUSEL_WU2_EV_RTC_CH2_DLY 0x00280000 #define AON_EVENT_MCUWUSEL_WU2_EV_RTC_CH1_DLY 0x00270000 #define AON_EVENT_MCUWUSEL_WU2_EV_RTC_CH0_DLY 0x00260000 #define AON_EVENT_MCUWUSEL_WU2_EV_RTC_CH2 0x00250000 #define AON_EVENT_MCUWUSEL_WU2_EV_RTC_CH1 0x00240000 #define AON_EVENT_MCUWUSEL_WU2_EV_RTC_CH0 0x00230000 #define AON_EVENT_MCUWUSEL_WU2_EV_PAD 0x00200000 #define AON_EVENT_MCUWUSEL_WU2_EV_BATMON_COMBINED 0x00090000 #define AON_EVENT_MCUWUSEL_WU2_EV_BATMON_TEMP_LL 0x00080000 #define AON_EVENT_MCUWUSEL_WU2_EV_BATMON_TEMP_UL 0x00070000 #define AON_EVENT_MCUWUSEL_WU2_EV_BATMON_BATT_LL 0x00060000 #define AON_EVENT_MCUWUSEL_WU2_EV_BATMON_BATT_UL 0x00050000 #define AON_EVENT_MCUWUSEL_WU2_EV_AUX_TIMER2_EV3 0x00040000 #define AON_EVENT_MCUWUSEL_WU2_EV_AUX_TIMER2_EV2 0x00030000 #define AON_EVENT_MCUWUSEL_WU2_EV_AUX_TIMER2_EV1 0x00020000 #define AON_EVENT_MCUWUSEL_WU2_EV_AUX_TIMER2_EV0 0x00010000 #define AON_EVENT_MCUWUSEL_WU2_EV_IOEV_MCU_WU 0x00000000 // Field: [13:8] WU1_EV // // MCU Wakeup Source #1 // // AON Event Source selecting 1 of 8 events routed to AON_PMCTRL for waking up // the MCU domain from Power Off or Power Down. // Note: // ENUMs: // NONE No event, always low // AUX_COMPB_ASYNC_N Comparator B not triggered. Asynchronous signal // directly from AUX Comparator B (inverted) as // opposed to AUX_COMPB which is synchronized in // AUX // AUX_COMPB_ASYNC Comparator B triggered. Asynchronous signal // directly from the AUX Comparator B as opposed // to AUX_COMPB which is synchronized in AUX // BATMON_VOLT BATMON voltage update event // BATMON_TEMP BATMON temperature update event // AUX_TIMER1_EV AUX Timer 1 Event // AUX_TIMER0_EV AUX Timer 0 Event // AUX_TDC_DONE TDC completed or timed out // AUX_ADC_DONE ADC conversion completed // AUX_COMPB Comparator B triggered // AUX_COMPA Comparator A triggered // AUX_SWEV2 AUX Software triggered event #2. Triggered by // AUX_EVCTL:SWEVSET.SWEV2 // AUX_SWEV1 AUX Software triggered event #1. Triggered by // AUX_EVCTL:SWEVSET.SWEV1 // AUX_SWEV0 AUX Software triggered event #0. Triggered by // AUX_EVCTL:SWEVSET.SWEV0 // JTAG JTAG generated event // RTC_UPD RTC Update Tick (16 kHz signal, i.e. event line // toggles value every 32 kHz clock period) // RTC_COMB_DLY RTC combined delayed event // RTC_CH2_DLY RTC channel 2 - delayed event // RTC_CH1_DLY RTC channel 1 - delayed event // RTC_CH0_DLY RTC channel 0 - delayed event // RTC_CH2 RTC channel 2 event // RTC_CH1 RTC channel 1 event // RTC_CH0 RTC channel 0 event // PAD Edge detect on any PAD // BATMON_COMBINED Combined event from BATMON // BATMON_TEMP_LL BATMON event: Temperature level below lower limit // BATMON_TEMP_UL BATMON event: Temperature level above upper limit // BATMON_BATT_LL BATMON event: Battery level below lower limit // BATMON_BATT_UL BATMON event: Battery level above upper limit // AUX_TIMER2_EV3 Event 3 from AUX TImer2 // AUX_TIMER2_EV2 Event 2 from AUX TImer2 // AUX_TIMER2_EV1 Event 1 from AUX TImer2 // AUX_TIMER2_EV0 Event 0 from AUX TImer2 // IOEV_MCU_WU Edge detect IO event from the DIO(s) which have // enabled contribution to IOEV_MCU_WU in // [MCU_IOC:IOCFGx.IOEV_MCU_WU_EN] #define AON_EVENT_MCUWUSEL_WU1_EV_W 6 #define AON_EVENT_MCUWUSEL_WU1_EV_M 0x00003F00 #define AON_EVENT_MCUWUSEL_WU1_EV_S 8 #define AON_EVENT_MCUWUSEL_WU1_EV_NONE 0x00003F00 #define AON_EVENT_MCUWUSEL_WU1_EV_AUX_COMPB_ASYNC_N 0x00003800 #define AON_EVENT_MCUWUSEL_WU1_EV_AUX_COMPB_ASYNC 0x00003700 #define AON_EVENT_MCUWUSEL_WU1_EV_BATMON_VOLT 0x00003600 #define AON_EVENT_MCUWUSEL_WU1_EV_BATMON_TEMP 0x00003500 #define AON_EVENT_MCUWUSEL_WU1_EV_AUX_TIMER1_EV 0x00003400 #define AON_EVENT_MCUWUSEL_WU1_EV_AUX_TIMER0_EV 0x00003300 #define AON_EVENT_MCUWUSEL_WU1_EV_AUX_TDC_DONE 0x00003200 #define AON_EVENT_MCUWUSEL_WU1_EV_AUX_ADC_DONE 0x00003100 #define AON_EVENT_MCUWUSEL_WU1_EV_AUX_COMPB 0x00003000 #define AON_EVENT_MCUWUSEL_WU1_EV_AUX_COMPA 0x00002F00 #define AON_EVENT_MCUWUSEL_WU1_EV_AUX_SWEV2 0x00002E00 #define AON_EVENT_MCUWUSEL_WU1_EV_AUX_SWEV1 0x00002D00 #define AON_EVENT_MCUWUSEL_WU1_EV_AUX_SWEV0 0x00002C00 #define AON_EVENT_MCUWUSEL_WU1_EV_JTAG 0x00002B00 #define AON_EVENT_MCUWUSEL_WU1_EV_RTC_UPD 0x00002A00 #define AON_EVENT_MCUWUSEL_WU1_EV_RTC_COMB_DLY 0x00002900 #define AON_EVENT_MCUWUSEL_WU1_EV_RTC_CH2_DLY 0x00002800 #define AON_EVENT_MCUWUSEL_WU1_EV_RTC_CH1_DLY 0x00002700 #define AON_EVENT_MCUWUSEL_WU1_EV_RTC_CH0_DLY 0x00002600 #define AON_EVENT_MCUWUSEL_WU1_EV_RTC_CH2 0x00002500 #define AON_EVENT_MCUWUSEL_WU1_EV_RTC_CH1 0x00002400 #define AON_EVENT_MCUWUSEL_WU1_EV_RTC_CH0 0x00002300 #define AON_EVENT_MCUWUSEL_WU1_EV_PAD 0x00002000 #define AON_EVENT_MCUWUSEL_WU1_EV_BATMON_COMBINED 0x00000900 #define AON_EVENT_MCUWUSEL_WU1_EV_BATMON_TEMP_LL 0x00000800 #define AON_EVENT_MCUWUSEL_WU1_EV_BATMON_TEMP_UL 0x00000700 #define AON_EVENT_MCUWUSEL_WU1_EV_BATMON_BATT_LL 0x00000600 #define AON_EVENT_MCUWUSEL_WU1_EV_BATMON_BATT_UL 0x00000500 #define AON_EVENT_MCUWUSEL_WU1_EV_AUX_TIMER2_EV3 0x00000400 #define AON_EVENT_MCUWUSEL_WU1_EV_AUX_TIMER2_EV2 0x00000300 #define AON_EVENT_MCUWUSEL_WU1_EV_AUX_TIMER2_EV1 0x00000200 #define AON_EVENT_MCUWUSEL_WU1_EV_AUX_TIMER2_EV0 0x00000100 #define AON_EVENT_MCUWUSEL_WU1_EV_IOEV_MCU_WU 0x00000000 // Field: [5:0] WU0_EV // // MCU Wakeup Source #0 // // AON Event Source selecting 1 of 8 events routed to AON_PMCTRL for waking up // the MCU domain from Power Off or Power Down. // Note: // ENUMs: // NONE No event, always low // AUX_COMPB_ASYNC_N Comparator B not triggered. Asynchronous signal // directly from AUX Comparator B (inverted) as // opposed to AUX_COMPB which is synchronized in // AUX // AUX_COMPB_ASYNC Comparator B triggered. Asynchronous signal // directly from the AUX Comparator B as opposed // to AUX_COMPB which is synchronized in AUX // BATMON_VOLT BATMON voltage update event // BATMON_TEMP BATMON temperature update event // AUX_TIMER1_EV AUX Timer 1 Event // AUX_TIMER0_EV AUX Timer 0 Event // AUX_TDC_DONE TDC completed or timed out // AUX_ADC_DONE ADC conversion completed // AUX_COMPB Comparator B triggered // AUX_COMPA Comparator A triggered // AUX_SWEV2 AUX Software triggered event #2. Triggered by // AUX_EVCTL:SWEVSET.SWEV2 // AUX_SWEV1 AUX Software triggered event #1. Triggered by // AUX_EVCTL:SWEVSET.SWEV1 // AUX_SWEV0 AUX Software triggered event #0. Triggered by // AUX_EVCTL:SWEVSET.SWEV0 // JTAG JTAG generated event // RTC_UPD RTC Update Tick (16 kHz signal, i.e. event line // toggles value every 32 kHz clock period) // RTC_COMB_DLY RTC combined delayed event // RTC_CH2_DLY RTC channel 2 - delayed event // RTC_CH1_DLY RTC channel 1 - delayed event // RTC_CH0_DLY RTC channel 0 - delayed event // RTC_CH2 RTC channel 2 event // RTC_CH1 RTC channel 1 event // RTC_CH0 RTC channel 0 event // PAD Edge detect on any PAD // BATMON_COMBINED Combined event from BATMON // BATMON_TEMP_LL BATMON event: Temperature level below lower limit // BATMON_TEMP_UL BATMON event: Temperature level above upper limit // BATMON_BATT_LL BATMON event: Battery level below lower limit // BATMON_BATT_UL BATMON event: Battery level above upper limit // AUX_TIMER2_EV3 Event 3 from AUX TImer2 // AUX_TIMER2_EV2 Event 2 from AUX TImer2 // AUX_TIMER2_EV1 Event 1 from AUX TImer2 // AUX_TIMER2_EV0 Event 0 from AUX TImer2 // IOEV_MCU_WU Edge detect IO event from the DIO(s) which have // enabled contribution to IOEV_MCU_WU in // [MCU_IOC:IOCFGx.IOEV_MCU_WU_EN] #define AON_EVENT_MCUWUSEL_WU0_EV_W 6 #define AON_EVENT_MCUWUSEL_WU0_EV_M 0x0000003F #define AON_EVENT_MCUWUSEL_WU0_EV_S 0 #define AON_EVENT_MCUWUSEL_WU0_EV_NONE 0x0000003F #define AON_EVENT_MCUWUSEL_WU0_EV_AUX_COMPB_ASYNC_N 0x00000038 #define AON_EVENT_MCUWUSEL_WU0_EV_AUX_COMPB_ASYNC 0x00000037 #define AON_EVENT_MCUWUSEL_WU0_EV_BATMON_VOLT 0x00000036 #define AON_EVENT_MCUWUSEL_WU0_EV_BATMON_TEMP 0x00000035 #define AON_EVENT_MCUWUSEL_WU0_EV_AUX_TIMER1_EV 0x00000034 #define AON_EVENT_MCUWUSEL_WU0_EV_AUX_TIMER0_EV 0x00000033 #define AON_EVENT_MCUWUSEL_WU0_EV_AUX_TDC_DONE 0x00000032 #define AON_EVENT_MCUWUSEL_WU0_EV_AUX_ADC_DONE 0x00000031 #define AON_EVENT_MCUWUSEL_WU0_EV_AUX_COMPB 0x00000030 #define AON_EVENT_MCUWUSEL_WU0_EV_AUX_COMPA 0x0000002F #define AON_EVENT_MCUWUSEL_WU0_EV_AUX_SWEV2 0x0000002E #define AON_EVENT_MCUWUSEL_WU0_EV_AUX_SWEV1 0x0000002D #define AON_EVENT_MCUWUSEL_WU0_EV_AUX_SWEV0 0x0000002C #define AON_EVENT_MCUWUSEL_WU0_EV_JTAG 0x0000002B #define AON_EVENT_MCUWUSEL_WU0_EV_RTC_UPD 0x0000002A #define AON_EVENT_MCUWUSEL_WU0_EV_RTC_COMB_DLY 0x00000029 #define AON_EVENT_MCUWUSEL_WU0_EV_RTC_CH2_DLY 0x00000028 #define AON_EVENT_MCUWUSEL_WU0_EV_RTC_CH1_DLY 0x00000027 #define AON_EVENT_MCUWUSEL_WU0_EV_RTC_CH0_DLY 0x00000026 #define AON_EVENT_MCUWUSEL_WU0_EV_RTC_CH2 0x00000025 #define AON_EVENT_MCUWUSEL_WU0_EV_RTC_CH1 0x00000024 #define AON_EVENT_MCUWUSEL_WU0_EV_RTC_CH0 0x00000023 #define AON_EVENT_MCUWUSEL_WU0_EV_PAD 0x00000020 #define AON_EVENT_MCUWUSEL_WU0_EV_BATMON_COMBINED 0x00000009 #define AON_EVENT_MCUWUSEL_WU0_EV_BATMON_TEMP_LL 0x00000008 #define AON_EVENT_MCUWUSEL_WU0_EV_BATMON_TEMP_UL 0x00000007 #define AON_EVENT_MCUWUSEL_WU0_EV_BATMON_BATT_LL 0x00000006 #define AON_EVENT_MCUWUSEL_WU0_EV_BATMON_BATT_UL 0x00000005 #define AON_EVENT_MCUWUSEL_WU0_EV_AUX_TIMER2_EV3 0x00000004 #define AON_EVENT_MCUWUSEL_WU0_EV_AUX_TIMER2_EV2 0x00000003 #define AON_EVENT_MCUWUSEL_WU0_EV_AUX_TIMER2_EV1 0x00000002 #define AON_EVENT_MCUWUSEL_WU0_EV_AUX_TIMER2_EV0 0x00000001 #define AON_EVENT_MCUWUSEL_WU0_EV_IOEV_MCU_WU 0x00000000 //***************************************************************************** // // Register: AON_EVENT_O_MCUWUSEL1 // //***************************************************************************** // Field: [29:24] WU7_EV // // MCU Wakeup Source #7 // // AON Event Source selecting 1 of 8 events routed to AON_PMCTRL for waking up // the MCU domain from Power Off or Power Down. // Note: // ENUMs: // NONE No event, always low // AUX_COMPB_ASYNC_N Comparator B not triggered. Asynchronous signal // directly from AUX Comparator B (inverted) as // opposed to AUX_COMPB which is synchronized in // AUX // AUX_COMPB_ASYNC Comparator B triggered. Asynchronous signal // directly from the AUX Comparator B as opposed // to AUX_COMPB which is synchronized in AUX // BATMON_VOLT BATMON voltage update event // BATMON_TEMP BATMON temperature update event // AUX_TIMER1_EV AUX Timer 1 Event // AUX_TIMER0_EV AUX Timer 0 Event // AUX_TDC_DONE TDC completed or timed out // AUX_ADC_DONE ADC conversion completed // AUX_COMPB Comparator B triggered // AUX_COMPA Comparator A triggered // AUX_SWEV2 AUX Software triggered event #2. Triggered by // AUX_EVCTL:SWEVSET.SWEV2 // AUX_SWEV1 AUX Software triggered event #1. Triggered by // AUX_EVCTL:SWEVSET.SWEV1 // AUX_SWEV0 AUX Software triggered event #0. Triggered by // AUX_EVCTL:SWEVSET.SWEV0 // JTAG JTAG generated event // RTC_UPD RTC Update Tick (16 kHz signal, i.e. event line // toggles value every 32 kHz clock period) // RTC_COMB_DLY RTC combined delayed event // RTC_CH2_DLY RTC channel 2 - delayed event // RTC_CH1_DLY RTC channel 1 - delayed event // RTC_CH0_DLY RTC channel 0 - delayed event // RTC_CH2 RTC channel 2 event // RTC_CH1 RTC channel 1 event // RTC_CH0 RTC channel 0 event // PAD Edge detect on any PAD // BATMON_COMBINED Combined event from BATMON // BATMON_TEMP_LL BATMON event: Temperature level below lower limit // BATMON_TEMP_UL BATMON event: Temperature level above upper limit // BATMON_BATT_LL BATMON event: Battery level below lower limit // BATMON_BATT_UL BATMON event: Battery level above upper limit // AUX_TIMER2_EV3 Event 3 from AUX TImer2 // AUX_TIMER2_EV2 Event 2 from AUX TImer2 // AUX_TIMER2_EV1 Event 1 from AUX TImer2 // AUX_TIMER2_EV0 Event 0 from AUX TImer2 // IOEV_MCU_WU Edge detect IO event from the DIO(s) which have // enabled contribution to IOEV_MCU_WU in // [MCU_IOC:IOCFGx.IOEV_MCU_WU_EN] #define AON_EVENT_MCUWUSEL1_WU7_EV_W 6 #define AON_EVENT_MCUWUSEL1_WU7_EV_M 0x3F000000 #define AON_EVENT_MCUWUSEL1_WU7_EV_S 24 #define AON_EVENT_MCUWUSEL1_WU7_EV_NONE 0x3F000000 #define AON_EVENT_MCUWUSEL1_WU7_EV_AUX_COMPB_ASYNC_N 0x38000000 #define AON_EVENT_MCUWUSEL1_WU7_EV_AUX_COMPB_ASYNC 0x37000000 #define AON_EVENT_MCUWUSEL1_WU7_EV_BATMON_VOLT 0x36000000 #define AON_EVENT_MCUWUSEL1_WU7_EV_BATMON_TEMP 0x35000000 #define AON_EVENT_MCUWUSEL1_WU7_EV_AUX_TIMER1_EV 0x34000000 #define AON_EVENT_MCUWUSEL1_WU7_EV_AUX_TIMER0_EV 0x33000000 #define AON_EVENT_MCUWUSEL1_WU7_EV_AUX_TDC_DONE 0x32000000 #define AON_EVENT_MCUWUSEL1_WU7_EV_AUX_ADC_DONE 0x31000000 #define AON_EVENT_MCUWUSEL1_WU7_EV_AUX_COMPB 0x30000000 #define AON_EVENT_MCUWUSEL1_WU7_EV_AUX_COMPA 0x2F000000 #define AON_EVENT_MCUWUSEL1_WU7_EV_AUX_SWEV2 0x2E000000 #define AON_EVENT_MCUWUSEL1_WU7_EV_AUX_SWEV1 0x2D000000 #define AON_EVENT_MCUWUSEL1_WU7_EV_AUX_SWEV0 0x2C000000 #define AON_EVENT_MCUWUSEL1_WU7_EV_JTAG 0x2B000000 #define AON_EVENT_MCUWUSEL1_WU7_EV_RTC_UPD 0x2A000000 #define AON_EVENT_MCUWUSEL1_WU7_EV_RTC_COMB_DLY 0x29000000 #define AON_EVENT_MCUWUSEL1_WU7_EV_RTC_CH2_DLY 0x28000000 #define AON_EVENT_MCUWUSEL1_WU7_EV_RTC_CH1_DLY 0x27000000 #define AON_EVENT_MCUWUSEL1_WU7_EV_RTC_CH0_DLY 0x26000000 #define AON_EVENT_MCUWUSEL1_WU7_EV_RTC_CH2 0x25000000 #define AON_EVENT_MCUWUSEL1_WU7_EV_RTC_CH1 0x24000000 #define AON_EVENT_MCUWUSEL1_WU7_EV_RTC_CH0 0x23000000 #define AON_EVENT_MCUWUSEL1_WU7_EV_PAD 0x20000000 #define AON_EVENT_MCUWUSEL1_WU7_EV_BATMON_COMBINED 0x09000000 #define AON_EVENT_MCUWUSEL1_WU7_EV_BATMON_TEMP_LL 0x08000000 #define AON_EVENT_MCUWUSEL1_WU7_EV_BATMON_TEMP_UL 0x07000000 #define AON_EVENT_MCUWUSEL1_WU7_EV_BATMON_BATT_LL 0x06000000 #define AON_EVENT_MCUWUSEL1_WU7_EV_BATMON_BATT_UL 0x05000000 #define AON_EVENT_MCUWUSEL1_WU7_EV_AUX_TIMER2_EV3 0x04000000 #define AON_EVENT_MCUWUSEL1_WU7_EV_AUX_TIMER2_EV2 0x03000000 #define AON_EVENT_MCUWUSEL1_WU7_EV_AUX_TIMER2_EV1 0x02000000 #define AON_EVENT_MCUWUSEL1_WU7_EV_AUX_TIMER2_EV0 0x01000000 #define AON_EVENT_MCUWUSEL1_WU7_EV_IOEV_MCU_WU 0x00000000 // Field: [21:16] WU6_EV // // MCU Wakeup Source #6 // // AON Event Source selecting 1 of 8 events routed to AON_PMCTRL for waking up // the MCU domain from Power Off or Power Down. // Note: // ENUMs: // NONE No event, always low // AUX_COMPB_ASYNC_N Comparator B not triggered. Asynchronous signal // directly from AUX Comparator B (inverted) as // opposed to AUX_COMPB which is synchronized in // AUX // AUX_COMPB_ASYNC Comparator B triggered. Asynchronous signal // directly from the AUX Comparator B as opposed // to AUX_COMPB which is synchronized in AUX // BATMON_VOLT BATMON voltage update event // BATMON_TEMP BATMON temperature update event // AUX_TIMER1_EV AUX Timer 1 Event // AUX_TIMER0_EV AUX Timer 0 Event // AUX_TDC_DONE TDC completed or timed out // AUX_ADC_DONE ADC conversion completed // AUX_COMPB Comparator B triggered // AUX_COMPA Comparator A triggered // AUX_SWEV2 AUX Software triggered event #2. Triggered by // AUX_EVCTL:SWEVSET.SWEV2 // AUX_SWEV1 AUX Software triggered event #1. Triggered by // AUX_EVCTL:SWEVSET.SWEV1 // AUX_SWEV0 AUX Software triggered event #0. Triggered by // AUX_EVCTL:SWEVSET.SWEV0 // JTAG JTAG generated event // RTC_UPD RTC Update Tick (16 kHz signal, i.e. event line // toggles value every 32 kHz clock period) // RTC_COMB_DLY RTC combined delayed event // RTC_CH2_DLY RTC channel 2 - delayed event // RTC_CH1_DLY RTC channel 1 - delayed event // RTC_CH0_DLY RTC channel 0 - delayed event // RTC_CH2 RTC channel 2 event // RTC_CH1 RTC channel 1 event // RTC_CH0 RTC channel 0 event // PAD Edge detect on any PAD // BATMON_COMBINED Combined event from BATMON // BATMON_TEMP_LL BATMON event: Temperature level below lower limit // BATMON_TEMP_UL BATMON event: Temperature level above upper limit // BATMON_BATT_LL BATMON event: Battery level below lower limit // BATMON_BATT_UL BATMON event: Battery level above upper limit // AUX_TIMER2_EV3 Event 3 from AUX TImer2 // AUX_TIMER2_EV2 Event 2 from AUX TImer2 // AUX_TIMER2_EV1 Event 1 from AUX TImer2 // AUX_TIMER2_EV0 Event 0 from AUX TImer2 // IOEV_MCU_WU Edge detect IO event from the DIO(s) which have // enabled contribution to IOEV_MCU_WU in // [MCU_IOC:IOCFGx.IOEV_MCU_WU_EN] #define AON_EVENT_MCUWUSEL1_WU6_EV_W 6 #define AON_EVENT_MCUWUSEL1_WU6_EV_M 0x003F0000 #define AON_EVENT_MCUWUSEL1_WU6_EV_S 16 #define AON_EVENT_MCUWUSEL1_WU6_EV_NONE 0x003F0000 #define AON_EVENT_MCUWUSEL1_WU6_EV_AUX_COMPB_ASYNC_N 0x00380000 #define AON_EVENT_MCUWUSEL1_WU6_EV_AUX_COMPB_ASYNC 0x00370000 #define AON_EVENT_MCUWUSEL1_WU6_EV_BATMON_VOLT 0x00360000 #define AON_EVENT_MCUWUSEL1_WU6_EV_BATMON_TEMP 0x00350000 #define AON_EVENT_MCUWUSEL1_WU6_EV_AUX_TIMER1_EV 0x00340000 #define AON_EVENT_MCUWUSEL1_WU6_EV_AUX_TIMER0_EV 0x00330000 #define AON_EVENT_MCUWUSEL1_WU6_EV_AUX_TDC_DONE 0x00320000 #define AON_EVENT_MCUWUSEL1_WU6_EV_AUX_ADC_DONE 0x00310000 #define AON_EVENT_MCUWUSEL1_WU6_EV_AUX_COMPB 0x00300000 #define AON_EVENT_MCUWUSEL1_WU6_EV_AUX_COMPA 0x002F0000 #define AON_EVENT_MCUWUSEL1_WU6_EV_AUX_SWEV2 0x002E0000 #define AON_EVENT_MCUWUSEL1_WU6_EV_AUX_SWEV1 0x002D0000 #define AON_EVENT_MCUWUSEL1_WU6_EV_AUX_SWEV0 0x002C0000 #define AON_EVENT_MCUWUSEL1_WU6_EV_JTAG 0x002B0000 #define AON_EVENT_MCUWUSEL1_WU6_EV_RTC_UPD 0x002A0000 #define AON_EVENT_MCUWUSEL1_WU6_EV_RTC_COMB_DLY 0x00290000 #define AON_EVENT_MCUWUSEL1_WU6_EV_RTC_CH2_DLY 0x00280000 #define AON_EVENT_MCUWUSEL1_WU6_EV_RTC_CH1_DLY 0x00270000 #define AON_EVENT_MCUWUSEL1_WU6_EV_RTC_CH0_DLY 0x00260000 #define AON_EVENT_MCUWUSEL1_WU6_EV_RTC_CH2 0x00250000 #define AON_EVENT_MCUWUSEL1_WU6_EV_RTC_CH1 0x00240000 #define AON_EVENT_MCUWUSEL1_WU6_EV_RTC_CH0 0x00230000 #define AON_EVENT_MCUWUSEL1_WU6_EV_PAD 0x00200000 #define AON_EVENT_MCUWUSEL1_WU6_EV_BATMON_COMBINED 0x00090000 #define AON_EVENT_MCUWUSEL1_WU6_EV_BATMON_TEMP_LL 0x00080000 #define AON_EVENT_MCUWUSEL1_WU6_EV_BATMON_TEMP_UL 0x00070000 #define AON_EVENT_MCUWUSEL1_WU6_EV_BATMON_BATT_LL 0x00060000 #define AON_EVENT_MCUWUSEL1_WU6_EV_BATMON_BATT_UL 0x00050000 #define AON_EVENT_MCUWUSEL1_WU6_EV_AUX_TIMER2_EV3 0x00040000 #define AON_EVENT_MCUWUSEL1_WU6_EV_AUX_TIMER2_EV2 0x00030000 #define AON_EVENT_MCUWUSEL1_WU6_EV_AUX_TIMER2_EV1 0x00020000 #define AON_EVENT_MCUWUSEL1_WU6_EV_AUX_TIMER2_EV0 0x00010000 #define AON_EVENT_MCUWUSEL1_WU6_EV_IOEV_MCU_WU 0x00000000 // Field: [13:8] WU5_EV // // MCU Wakeup Source #5 // // AON Event Source selecting 1 of 8 events routed to AON_PMCTRL for waking up // the MCU domain from Power Off or Power Down. // Note: // ENUMs: // NONE No event, always low // AUX_COMPB_ASYNC_N Comparator B not triggered. Asynchronous signal // directly from AUX Comparator B (inverted) as // opposed to AUX_COMPB which is synchronized in // AUX // AUX_COMPB_ASYNC Comparator B triggered. Asynchronous signal // directly from the AUX Comparator B as opposed // to AUX_COMPB which is synchronized in AUX // BATMON_VOLT BATMON voltage update event // BATMON_TEMP BATMON temperature update event // AUX_TIMER1_EV AUX Timer 1 Event // AUX_TIMER0_EV AUX Timer 0 Event // AUX_TDC_DONE TDC completed or timed out // AUX_ADC_DONE ADC conversion completed // AUX_COMPB Comparator B triggered // AUX_COMPA Comparator A triggered // AUX_SWEV2 AUX Software triggered event #2. Triggered by // AUX_EVCTL:SWEVSET.SWEV2 // AUX_SWEV1 AUX Software triggered event #1. Triggered by // AUX_EVCTL:SWEVSET.SWEV1 // AUX_SWEV0 AUX Software triggered event #0. Triggered by // AUX_EVCTL:SWEVSET.SWEV0 // JTAG JTAG generated event // RTC_UPD RTC Update Tick (16 kHz signal, i.e. event line // toggles value every 32 kHz clock period) // RTC_COMB_DLY RTC combined delayed event // RTC_CH2_DLY RTC channel 2 - delayed event // RTC_CH1_DLY RTC channel 1 - delayed event // RTC_CH0_DLY RTC channel 0 - delayed event // RTC_CH2 RTC channel 2 event // RTC_CH1 RTC channel 1 event // RTC_CH0 RTC channel 0 event // PAD Edge detect on any PAD // BATMON_COMBINED Combined event from BATMON // BATMON_TEMP_LL BATMON event: Temperature level below lower limit // BATMON_TEMP_UL BATMON event: Temperature level above upper limit // BATMON_BATT_LL BATMON event: Battery level below lower limit // BATMON_BATT_UL BATMON event: Battery level above upper limit // AUX_TIMER2_EV3 Event 3 from AUX TImer2 // AUX_TIMER2_EV2 Event 2 from AUX TImer2 // AUX_TIMER2_EV1 Event 1 from AUX TImer2 // AUX_TIMER2_EV0 Event 0 from AUX TImer2 // IOEV_MCU_WU Edge detect IO event from the DIO(s) which have // enabled contribution to IOEV_MCU_WU in // [MCU_IOC:IOCFGx.IOEV_MCU_WU_EN] #define AON_EVENT_MCUWUSEL1_WU5_EV_W 6 #define AON_EVENT_MCUWUSEL1_WU5_EV_M 0x00003F00 #define AON_EVENT_MCUWUSEL1_WU5_EV_S 8 #define AON_EVENT_MCUWUSEL1_WU5_EV_NONE 0x00003F00 #define AON_EVENT_MCUWUSEL1_WU5_EV_AUX_COMPB_ASYNC_N 0x00003800 #define AON_EVENT_MCUWUSEL1_WU5_EV_AUX_COMPB_ASYNC 0x00003700 #define AON_EVENT_MCUWUSEL1_WU5_EV_BATMON_VOLT 0x00003600 #define AON_EVENT_MCUWUSEL1_WU5_EV_BATMON_TEMP 0x00003500 #define AON_EVENT_MCUWUSEL1_WU5_EV_AUX_TIMER1_EV 0x00003400 #define AON_EVENT_MCUWUSEL1_WU5_EV_AUX_TIMER0_EV 0x00003300 #define AON_EVENT_MCUWUSEL1_WU5_EV_AUX_TDC_DONE 0x00003200 #define AON_EVENT_MCUWUSEL1_WU5_EV_AUX_ADC_DONE 0x00003100 #define AON_EVENT_MCUWUSEL1_WU5_EV_AUX_COMPB 0x00003000 #define AON_EVENT_MCUWUSEL1_WU5_EV_AUX_COMPA 0x00002F00 #define AON_EVENT_MCUWUSEL1_WU5_EV_AUX_SWEV2 0x00002E00 #define AON_EVENT_MCUWUSEL1_WU5_EV_AUX_SWEV1 0x00002D00 #define AON_EVENT_MCUWUSEL1_WU5_EV_AUX_SWEV0 0x00002C00 #define AON_EVENT_MCUWUSEL1_WU5_EV_JTAG 0x00002B00 #define AON_EVENT_MCUWUSEL1_WU5_EV_RTC_UPD 0x00002A00 #define AON_EVENT_MCUWUSEL1_WU5_EV_RTC_COMB_DLY 0x00002900 #define AON_EVENT_MCUWUSEL1_WU5_EV_RTC_CH2_DLY 0x00002800 #define AON_EVENT_MCUWUSEL1_WU5_EV_RTC_CH1_DLY 0x00002700 #define AON_EVENT_MCUWUSEL1_WU5_EV_RTC_CH0_DLY 0x00002600 #define AON_EVENT_MCUWUSEL1_WU5_EV_RTC_CH2 0x00002500 #define AON_EVENT_MCUWUSEL1_WU5_EV_RTC_CH1 0x00002400 #define AON_EVENT_MCUWUSEL1_WU5_EV_RTC_CH0 0x00002300 #define AON_EVENT_MCUWUSEL1_WU5_EV_PAD 0x00002000 #define AON_EVENT_MCUWUSEL1_WU5_EV_BATMON_COMBINED 0x00000900 #define AON_EVENT_MCUWUSEL1_WU5_EV_BATMON_TEMP_LL 0x00000800 #define AON_EVENT_MCUWUSEL1_WU5_EV_BATMON_TEMP_UL 0x00000700 #define AON_EVENT_MCUWUSEL1_WU5_EV_BATMON_BATT_LL 0x00000600 #define AON_EVENT_MCUWUSEL1_WU5_EV_BATMON_BATT_UL 0x00000500 #define AON_EVENT_MCUWUSEL1_WU5_EV_AUX_TIMER2_EV3 0x00000400 #define AON_EVENT_MCUWUSEL1_WU5_EV_AUX_TIMER2_EV2 0x00000300 #define AON_EVENT_MCUWUSEL1_WU5_EV_AUX_TIMER2_EV1 0x00000200 #define AON_EVENT_MCUWUSEL1_WU5_EV_AUX_TIMER2_EV0 0x00000100 #define AON_EVENT_MCUWUSEL1_WU5_EV_IOEV_MCU_WU 0x00000000 // Field: [5:0] WU4_EV // // MCU Wakeup Source #4 // // AON Event Source selecting 1 of 8 events routed to AON_PMCTRL for waking up // the MCU domain from Power Off or Power Down. // Note: // ENUMs: // NONE No event, always low // AUX_COMPB_ASYNC_N Comparator B not triggered. Asynchronous signal // directly from AUX Comparator B (inverted) as // opposed to AUX_COMPB which is synchronized in // AUX // AUX_COMPB_ASYNC Comparator B triggered. Asynchronous signal // directly from the AUX Comparator B as opposed // to AUX_COMPB which is synchronized in AUX // BATMON_VOLT BATMON voltage update event // BATMON_TEMP BATMON temperature update event // AUX_TIMER1_EV AUX Timer 1 Event // AUX_TIMER0_EV AUX Timer 0 Event // AUX_TDC_DONE TDC completed or timed out // AUX_ADC_DONE ADC conversion completed // AUX_COMPB Comparator B triggered // AUX_COMPA Comparator A triggered // AUX_SWEV2 AUX Software triggered event #2. Triggered by // AUX_EVCTL:SWEVSET.SWEV2 // AUX_SWEV1 AUX Software triggered event #1. Triggered by // AUX_EVCTL:SWEVSET.SWEV1 // AUX_SWEV0 AUX Software triggered event #0. Triggered by // AUX_EVCTL:SWEVSET.SWEV0 // JTAG JTAG generated event // RTC_UPD RTC Update Tick (16 kHz signal, i.e. event line // toggles value every 32 kHz clock period) // RTC_COMB_DLY RTC combined delayed event // RTC_CH2_DLY RTC channel 2 - delayed event // RTC_CH1_DLY RTC channel 1 - delayed event // RTC_CH0_DLY RTC channel 0 - delayed event // RTC_CH2 RTC channel 2 event // RTC_CH1 RTC channel 1 event // RTC_CH0 RTC channel 0 event // PAD Edge detect on any PAD // BATMON_COMBINED Combined event from BATMON // BATMON_TEMP_LL BATMON event: Temperature level below lower limit // BATMON_TEMP_UL BATMON event: Temperature level above upper limit // BATMON_BATT_LL BATMON event: Battery level below lower limit // BATMON_BATT_UL BATMON event: Battery level above upper limit // AUX_TIMER2_EV3 Event 3 from AUX TImer2 // AUX_TIMER2_EV2 Event 2 from AUX TImer2 // AUX_TIMER2_EV1 Event 1 from AUX TImer2 // AUX_TIMER2_EV0 Event 0 from AUX TImer2 // IOEV_MCU_WU Edge detect IO event from the DIO(s) which have // enabled contribution to IOEV_MCU_WU in // [MCU_IOC:IOCFGx.IOEV_MCU_WU_EN] #define AON_EVENT_MCUWUSEL1_WU4_EV_W 6 #define AON_EVENT_MCUWUSEL1_WU4_EV_M 0x0000003F #define AON_EVENT_MCUWUSEL1_WU4_EV_S 0 #define AON_EVENT_MCUWUSEL1_WU4_EV_NONE 0x0000003F #define AON_EVENT_MCUWUSEL1_WU4_EV_AUX_COMPB_ASYNC_N 0x00000038 #define AON_EVENT_MCUWUSEL1_WU4_EV_AUX_COMPB_ASYNC 0x00000037 #define AON_EVENT_MCUWUSEL1_WU4_EV_BATMON_VOLT 0x00000036 #define AON_EVENT_MCUWUSEL1_WU4_EV_BATMON_TEMP 0x00000035 #define AON_EVENT_MCUWUSEL1_WU4_EV_AUX_TIMER1_EV 0x00000034 #define AON_EVENT_MCUWUSEL1_WU4_EV_AUX_TIMER0_EV 0x00000033 #define AON_EVENT_MCUWUSEL1_WU4_EV_AUX_TDC_DONE 0x00000032 #define AON_EVENT_MCUWUSEL1_WU4_EV_AUX_ADC_DONE 0x00000031 #define AON_EVENT_MCUWUSEL1_WU4_EV_AUX_COMPB 0x00000030 #define AON_EVENT_MCUWUSEL1_WU4_EV_AUX_COMPA 0x0000002F #define AON_EVENT_MCUWUSEL1_WU4_EV_AUX_SWEV2 0x0000002E #define AON_EVENT_MCUWUSEL1_WU4_EV_AUX_SWEV1 0x0000002D #define AON_EVENT_MCUWUSEL1_WU4_EV_AUX_SWEV0 0x0000002C #define AON_EVENT_MCUWUSEL1_WU4_EV_JTAG 0x0000002B #define AON_EVENT_MCUWUSEL1_WU4_EV_RTC_UPD 0x0000002A #define AON_EVENT_MCUWUSEL1_WU4_EV_RTC_COMB_DLY 0x00000029 #define AON_EVENT_MCUWUSEL1_WU4_EV_RTC_CH2_DLY 0x00000028 #define AON_EVENT_MCUWUSEL1_WU4_EV_RTC_CH1_DLY 0x00000027 #define AON_EVENT_MCUWUSEL1_WU4_EV_RTC_CH0_DLY 0x00000026 #define AON_EVENT_MCUWUSEL1_WU4_EV_RTC_CH2 0x00000025 #define AON_EVENT_MCUWUSEL1_WU4_EV_RTC_CH1 0x00000024 #define AON_EVENT_MCUWUSEL1_WU4_EV_RTC_CH0 0x00000023 #define AON_EVENT_MCUWUSEL1_WU4_EV_PAD 0x00000020 #define AON_EVENT_MCUWUSEL1_WU4_EV_BATMON_COMBINED 0x00000009 #define AON_EVENT_MCUWUSEL1_WU4_EV_BATMON_TEMP_LL 0x00000008 #define AON_EVENT_MCUWUSEL1_WU4_EV_BATMON_TEMP_UL 0x00000007 #define AON_EVENT_MCUWUSEL1_WU4_EV_BATMON_BATT_LL 0x00000006 #define AON_EVENT_MCUWUSEL1_WU4_EV_BATMON_BATT_UL 0x00000005 #define AON_EVENT_MCUWUSEL1_WU4_EV_AUX_TIMER2_EV3 0x00000004 #define AON_EVENT_MCUWUSEL1_WU4_EV_AUX_TIMER2_EV2 0x00000003 #define AON_EVENT_MCUWUSEL1_WU4_EV_AUX_TIMER2_EV1 0x00000002 #define AON_EVENT_MCUWUSEL1_WU4_EV_AUX_TIMER2_EV0 0x00000001 #define AON_EVENT_MCUWUSEL1_WU4_EV_IOEV_MCU_WU 0x00000000 //***************************************************************************** // // Register: AON_EVENT_O_EVTOMCUSEL // //***************************************************************************** // Field: [21:16] AON_PROG2_EV // // Event selector for AON_PROG2 event. // // AON Event Source id# selecting event routed to EVENT as AON_PROG2 event. // ENUMs: // NONE No event, always low // AUX_COMPB_ASYNC_N Comparator B not triggered. Asynchronous signal // directly from AUX Comparator B (inverted) as // opposed to AUX_COMPB which is synchronized in // AUX // AUX_COMPB_ASYNC Comparator B triggered. Asynchronous signal // directly from the AUX Comparator B as opposed // to AUX_COMPB which is synchronized in AUX // BATMON_VOLT BATMON voltage update event // BATMON_TEMP BATMON temperature update event // AUX_TIMER1_EV AUX Timer 1 Event // AUX_TIMER0_EV AUX Timer 0 Event // AUX_TDC_DONE TDC completed or timed out // AUX_ADC_DONE ADC conversion completed // AUX_COMPB Comparator B triggered // AUX_COMPA Comparator A triggered // AUX_SWEV2 AUX Software triggered event #2. Triggered by // AUX_EVCTL:SWEVSET.SWEV2 // AUX_SWEV1 AUX Software triggered event #1. Triggered by // AUX_EVCTL:SWEVSET.SWEV1 // AUX_SWEV0 AUX Software triggered event #0. Triggered by // AUX_EVCTL:SWEVSET.SWEV0 // JTAG JTAG generated event // RTC_UPD RTC Update Tick (16 kHz signal, i.e. event line // toggles value every 32 kHz clock period) // RTC_COMB_DLY RTC combined delayed event // RTC_CH2_DLY RTC channel 2 - delayed event // RTC_CH1_DLY RTC channel 1 - delayed event // RTC_CH0_DLY RTC channel 0 - delayed event // RTC_CH2 RTC channel 2 event // RTC_CH1 RTC channel 1 event // RTC_CH0 RTC channel 0 event // PAD Edge detect on any PAD // BATMON_COMBINED Combined event from BATMON // BATMON_TEMP_LL BATMON event: Temperature level below lower limit // BATMON_TEMP_UL BATMON event: Temperature level above upper limit // BATMON_BATT_LL BATMON event: Battery level below lower limit // BATMON_BATT_UL BATMON event: Battery level above upper limit // AUX_TIMER2_EV3 Event 3 from AUX TImer2 // AUX_TIMER2_EV2 Event 2 from AUX TImer2 // AUX_TIMER2_EV1 Event 1 from AUX TImer2 // AUX_TIMER2_EV0 Event 0 from AUX TImer2 // IOEV_AON_PROG2 Edge detect IO event from the DIO(s) which have // enabled contribution to IOEV_AON_PROG2 in // [MCU_IOC:IOCFGx.IOEV_AON_PROG2_EN] #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_W 6 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_M 0x003F0000 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_S 16 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_NONE 0x003F0000 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_AUX_COMPB_ASYNC_N 0x00380000 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_AUX_COMPB_ASYNC 0x00370000 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_BATMON_VOLT 0x00360000 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_BATMON_TEMP 0x00350000 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_AUX_TIMER1_EV 0x00340000 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_AUX_TIMER0_EV 0x00330000 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_AUX_TDC_DONE 0x00320000 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_AUX_ADC_DONE 0x00310000 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_AUX_COMPB 0x00300000 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_AUX_COMPA 0x002F0000 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_AUX_SWEV2 0x002E0000 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_AUX_SWEV1 0x002D0000 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_AUX_SWEV0 0x002C0000 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_JTAG 0x002B0000 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_RTC_UPD 0x002A0000 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_RTC_COMB_DLY 0x00290000 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_RTC_CH2_DLY 0x00280000 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_RTC_CH1_DLY 0x00270000 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_RTC_CH0_DLY 0x00260000 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_RTC_CH2 0x00250000 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_RTC_CH1 0x00240000 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_RTC_CH0 0x00230000 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_PAD 0x00200000 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_BATMON_COMBINED 0x00090000 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_BATMON_TEMP_LL 0x00080000 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_BATMON_TEMP_UL 0x00070000 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_BATMON_BATT_LL 0x00060000 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_BATMON_BATT_UL 0x00050000 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_AUX_TIMER2_EV3 0x00040000 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_AUX_TIMER2_EV2 0x00030000 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_AUX_TIMER2_EV1 0x00020000 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_AUX_TIMER2_EV0 0x00010000 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_IOEV_AON_PROG2 0x00000000 // Field: [13:8] AON_PROG1_EV // // Event selector for AON_PROG1 event. // // AON Event Source id# selecting event routed to EVENT as AON_PROG1 event. // ENUMs: // NONE // AUX_COMPB_ASYNC_N // AUX_COMPB_ASYNC // BATMON_VOLT // BATMON_TEMP // AUX_TIMER1_EV // AUX_TIMER0_EV // AUX_TDC_DONE // AUX_ADC_DONE // AUX_COMPB // AUX_COMPA // AUX_SWEV2 // AUX_SWEV1 // AUX_SWEV0 // JTAG // RTC_UPD // RTC_COMB_DLY // RTC_CH2_DLY // RTC_CH1_DLY // RTC_CH0_DLY RTC channel 0 - delayed event // RTC_CH2 RTC channel 2 event // RTC_CH1 RTC channel 1 event // RTC_CH0 RTC channel 0 event // PAD Edge detect on any PAD // BATMON_COMBINED Combined event from BATMON // BATMON_TEMP_LL BATMON event: Temperature level below lower limit // BATMON_TEMP_UL BATMON event: Temperature level above upper limit // BATMON_BATT_LL BATMON event: Battery level below lower limit // BATMON_BATT_UL BATMON event: Battery level above upper limit // AUX_TIMER2_EV3 Event 3 from AUX TImer2 // AUX_TIMER2_EV2 Event 2 from AUX TImer2 // AUX_TIMER2_EV1 Event 1 from AUX TImer2 // AUX_TIMER2_EV0 Event 0 from AUX TImer2 // IOEV_AON_PROG1 Edge detect IO event from the DIO(s) which have // enabled contribution to IOEV_AON_PROG1 in // [MCU_IOC:IOCFGx.IOEV_AON_PROG1_EN] #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_W 6 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_M 0x00003F00 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_S 8 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_NONE 0x00003F00 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_AUX_COMPB_ASYNC_N 0x00003800 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_AUX_COMPB_ASYNC 0x00003700 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_BATMON_VOLT 0x00003600 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_BATMON_TEMP 0x00003500 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_AUX_TIMER1_EV 0x00003400 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_AUX_TIMER0_EV 0x00003300 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_AUX_TDC_DONE 0x00003200 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_AUX_ADC_DONE 0x00003100 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_AUX_COMPB 0x00003000 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_AUX_COMPA 0x00002F00 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_AUX_SWEV2 0x00002E00 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_AUX_SWEV1 0x00002D00 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_AUX_SWEV0 0x00002C00 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_JTAG 0x00002B00 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_RTC_UPD 0x00002A00 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_RTC_COMB_DLY 0x00002900 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_RTC_CH2_DLY 0x00002800 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_RTC_CH1_DLY 0x00002700 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_RTC_CH0_DLY 0x00002600 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_RTC_CH2 0x00002500 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_RTC_CH1 0x00002400 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_RTC_CH0 0x00002300 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_PAD 0x00002000 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_BATMON_COMBINED 0x00000900 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_BATMON_TEMP_LL 0x00000800 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_BATMON_TEMP_UL 0x00000700 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_BATMON_BATT_LL 0x00000600 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_BATMON_BATT_UL 0x00000500 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_AUX_TIMER2_EV3 0x00000400 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_AUX_TIMER2_EV2 0x00000300 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_AUX_TIMER2_EV1 0x00000200 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_AUX_TIMER2_EV0 0x00000100 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_IOEV_AON_PROG1 0x00000000 // Field: [5:0] AON_PROG0_EV // // Event selector for AON_PROG0 event. // // AON Event Source id# selecting event routed to EVENT as AON_PROG0 event. // ENUMs: // NONE // AUX_COMPB_ASYNC_N // AUX_COMPB_ASYNC // BATMON_VOLT // BATMON_TEMP // AUX_TIMER1_EV // AUX_TIMER0_EV // AUX_TDC_DONE // AUX_ADC_DONE // AUX_COMPB // AUX_COMPA // AUX_SWEV2 // AUX_SWEV1 // AUX_SWEV0 // JTAG // RTC_UPD // RTC_COMB_DLY // RTC_CH2_DLY // RTC_CH1_DLY // RTC_CH0_DLY // RTC_CH2 // RTC_CH1 // RTC_CH0 // PAD // BATMON_COMBINED // BATMON_TEMP_LL // BATMON_TEMP_UL // BATMON_BATT_LL // BATMON_BATT_UL // AUX_TIMER2_EV3 // AUX_TIMER2_EV2 // AUX_TIMER2_EV1 // AUX_TIMER2_EV0 // IOEV_AON_PROG0 Edge detect IO event from the DIO(s) which have // enabled contribution to IOEV_AON_PROG0 in // [MCU_IOC:IOCFGx.IOEV_AON_PROG0_EN] #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_W 6 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_M 0x0000003F #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_S 0 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_NONE 0x0000003F #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_AUX_COMPB_ASYNC_N 0x00000038 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_AUX_COMPB_ASYNC 0x00000037 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_BATMON_VOLT 0x00000036 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_BATMON_TEMP 0x00000035 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_AUX_TIMER1_EV 0x00000034 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_AUX_TIMER0_EV 0x00000033 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_AUX_TDC_DONE 0x00000032 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_AUX_ADC_DONE 0x00000031 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_AUX_COMPB 0x00000030 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_AUX_COMPA 0x0000002F #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_AUX_SWEV2 0x0000002E #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_AUX_SWEV1 0x0000002D #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_AUX_SWEV0 0x0000002C #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_JTAG 0x0000002B #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_RTC_UPD 0x0000002A #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_RTC_COMB_DLY 0x00000029 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_RTC_CH2_DLY 0x00000028 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_RTC_CH1_DLY 0x00000027 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_RTC_CH0_DLY 0x00000026 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_RTC_CH2 0x00000025 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_RTC_CH1 0x00000024 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_RTC_CH0 0x00000023 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_PAD 0x00000020 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_BATMON_COMBINED 0x00000009 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_BATMON_TEMP_LL 0x00000008 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_BATMON_TEMP_UL 0x00000007 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_BATMON_BATT_LL 0x00000006 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_BATMON_BATT_UL 0x00000005 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_AUX_TIMER2_EV3 0x00000004 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_AUX_TIMER2_EV2 0x00000003 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_AUX_TIMER2_EV1 0x00000002 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_AUX_TIMER2_EV0 0x00000001 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_IOEV_AON_PROG0 0x00000000 //***************************************************************************** // // Register: AON_EVENT_O_RTCSEL // //***************************************************************************** // Field: [5:0] RTC_CH1_CAPT_EV // // AON Event Source id# for RTCSEL event which is fed to AON_RTC. Please refer // to AON_RTC:CH1CAPT // ENUMs: // NONE // AUX_COMPB_ASYNC_N // AUX_COMPB_ASYNC // BATMON_VOLT // BATMON_TEMP // AUX_TIMER1_EV // AUX_TIMER0_EV // AUX_TDC_DONE // AUX_ADC_DONE // AUX_COMPB // AUX_COMPA // AUX_SWEV2 // AUX_SWEV1 // AUX_SWEV0 // JTAG // RTC_UPD // RTC_COMB_DLY // RTC_CH2_DLY // RTC_CH1_DLY // RTC_CH0_DLY // RTC_CH2 // RTC_CH1 // RTC_CH0 // PAD // BATMON_COMBINED // BATMON_TEMP_LL // BATMON_TEMP_UL // BATMON_BATT_LL // BATMON_BATT_UL // AUX_TIMER2_EV3 // AUX_TIMER2_EV2 // AUX_TIMER2_EV1 // AUX_TIMER2_EV0 // IOEV_RTC Edge detect IO event from the DIO(s) which have // enabled contribution to IOEV_RTC in // [MCU_IOC:IOCFGx.IOEV_RTC_EN] #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_W 6 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_M 0x0000003F #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_S 0 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_NONE 0x0000003F #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_AUX_COMPB_ASYNC_N 0x00000038 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_AUX_COMPB_ASYNC 0x00000037 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_BATMON_VOLT 0x00000036 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_BATMON_TEMP 0x00000035 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_AUX_TIMER1_EV 0x00000034 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_AUX_TIMER0_EV 0x00000033 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_AUX_TDC_DONE 0x00000032 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_AUX_ADC_DONE 0x00000031 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_AUX_COMPB 0x00000030 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_AUX_COMPA 0x0000002F #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_AUX_SWEV2 0x0000002E #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_AUX_SWEV1 0x0000002D #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_AUX_SWEV0 0x0000002C #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_JTAG 0x0000002B #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_RTC_UPD 0x0000002A #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_RTC_COMB_DLY 0x00000029 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_RTC_CH2_DLY 0x00000028 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_RTC_CH1_DLY 0x00000027 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_RTC_CH0_DLY 0x00000026 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_RTC_CH2 0x00000025 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_RTC_CH1 0x00000024 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_RTC_CH0 0x00000023 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_PAD 0x00000020 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_BATMON_COMBINED 0x00000009 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_BATMON_TEMP_LL 0x00000008 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_BATMON_TEMP_UL 0x00000007 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_BATMON_BATT_LL 0x00000006 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_BATMON_BATT_UL 0x00000005 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_AUX_TIMER2_EV3 0x00000004 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_AUX_TIMER2_EV2 0x00000003 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_AUX_TIMER2_EV1 0x00000002 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_AUX_TIMER2_EV0 0x00000001 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_IOEV_RTC 0x00000000 #endif // __AON_EVENT__