1 /****************************************************************************** 2 * Filename: hw_aon_event_h 3 * Revised: 2018-05-14 12:24:52 +0200 (Mon, 14 May 2018) 4 * Revision: 51990 5 * 6 * Copyright (c) 2015 - 2017, Texas Instruments Incorporated 7 * All rights reserved. 8 * 9 * Redistribution and use in source and binary forms, with or without 10 * modification, are permitted provided that the following conditions are met: 11 * 12 * 1) Redistributions of source code must retain the above copyright notice, 13 * this list of conditions and the following disclaimer. 14 * 15 * 2) Redistributions in binary form must reproduce the above copyright notice, 16 * this list of conditions and the following disclaimer in the documentation 17 * and/or other materials provided with the distribution. 18 * 19 * 3) Neither the name of the ORGANIZATION nor the names of its contributors may 20 * be used to endorse or promote products derived from this software without 21 * specific prior written permission. 22 * 23 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 24 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 25 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 26 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 27 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 28 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 29 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 30 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 31 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 32 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 33 * POSSIBILITY OF SUCH DAMAGE. 34 * 35 ******************************************************************************/ 36 37 #ifndef __HW_AON_EVENT_H__ 38 #define __HW_AON_EVENT_H__ 39 40 //***************************************************************************** 41 // 42 // This section defines the register offsets of 43 // AON_EVENT component 44 // 45 //***************************************************************************** 46 // Wake-up Selector For MCU 47 #define AON_EVENT_O_MCUWUSEL 0x00000000 48 49 // Wake-up Selector For MCU 50 #define AON_EVENT_O_MCUWUSEL1 0x00000004 51 52 // Event Selector For MCU Event Fabric 53 #define AON_EVENT_O_EVTOMCUSEL 0x00000008 54 55 // RTC Capture Event Selector For AON_RTC 56 #define AON_EVENT_O_RTCSEL 0x0000000C 57 58 //***************************************************************************** 59 // 60 // Register: AON_EVENT_O_MCUWUSEL 61 // 62 //***************************************************************************** 63 // Field: [29:24] WU3_EV 64 // 65 // MCU Wakeup Source #3 66 // 67 // AON Event Source selecting 1 of 8 events routed to AON_PMCTRL for waking up 68 // the MCU domain from Power Off or Power Down. 69 // Note: 70 // ENUMs: 71 // NONE No event, always low 72 // AUX_COMPB_ASYNC_N Comparator B not triggered. Asynchronous signal 73 // directly from AUX Comparator B (inverted) as 74 // opposed to AUX_COMPB which is synchronized in 75 // AUX 76 // AUX_COMPB_ASYNC Comparator B triggered. Asynchronous signal 77 // directly from the AUX Comparator B as opposed 78 // to AUX_COMPB which is synchronized in AUX 79 // BATMON_VOLT BATMON voltage update event 80 // BATMON_TEMP BATMON temperature update event 81 // AUX_TIMER1_EV AUX Timer 1 Event 82 // AUX_TIMER0_EV AUX Timer 0 Event 83 // AUX_TDC_DONE TDC completed or timed out 84 // AUX_ADC_DONE ADC conversion completed 85 // AUX_COMPB Comparator B triggered 86 // AUX_COMPA Comparator A triggered 87 // AUX_SWEV2 AUX Software triggered event #2. Triggered by 88 // AUX_EVCTL:SWEVSET.SWEV2 89 // AUX_SWEV1 AUX Software triggered event #1. Triggered by 90 // AUX_EVCTL:SWEVSET.SWEV1 91 // AUX_SWEV0 AUX Software triggered event #0. Triggered by 92 // AUX_EVCTL:SWEVSET.SWEV0 93 // JTAG JTAG generated event 94 // RTC_UPD RTC Update Tick (16 kHz signal, i.e. event line 95 // toggles value every 32 kHz clock period) 96 // RTC_COMB_DLY RTC combined delayed event 97 // RTC_CH2_DLY RTC channel 2 - delayed event 98 // RTC_CH1_DLY RTC channel 1 - delayed event 99 // RTC_CH0_DLY RTC channel 0 - delayed event 100 // RTC_CH2 RTC channel 2 event 101 // RTC_CH1 RTC channel 1 event 102 // RTC_CH0 RTC channel 0 event 103 // PAD Edge detect on any PAD 104 // BATMON_COMBINED Combined event from BATMON 105 // BATMON_TEMP_LL BATMON event: Temperature level below lower limit 106 // BATMON_TEMP_UL BATMON event: Temperature level above upper limit 107 // BATMON_BATT_LL BATMON event: Battery level below lower limit 108 // BATMON_BATT_UL BATMON event: Battery level above upper limit 109 // AUX_TIMER2_EV3 Event 3 from AUX TImer2 110 // AUX_TIMER2_EV2 Event 2 from AUX TImer2 111 // AUX_TIMER2_EV1 Event 1 from AUX TImer2 112 // AUX_TIMER2_EV0 Event 0 from AUX TImer2 113 // IOEV_MCU_WU Edge detect IO event from the DIO(s) which have 114 // enabled contribution to IOEV_MCU_WU in 115 // [MCU_IOC:IOCFGx.IOEV_MCU_WU_EN] 116 #define AON_EVENT_MCUWUSEL_WU3_EV_W 6 117 #define AON_EVENT_MCUWUSEL_WU3_EV_M 0x3F000000 118 #define AON_EVENT_MCUWUSEL_WU3_EV_S 24 119 #define AON_EVENT_MCUWUSEL_WU3_EV_NONE 0x3F000000 120 #define AON_EVENT_MCUWUSEL_WU3_EV_AUX_COMPB_ASYNC_N 0x38000000 121 #define AON_EVENT_MCUWUSEL_WU3_EV_AUX_COMPB_ASYNC 0x37000000 122 #define AON_EVENT_MCUWUSEL_WU3_EV_BATMON_VOLT 0x36000000 123 #define AON_EVENT_MCUWUSEL_WU3_EV_BATMON_TEMP 0x35000000 124 #define AON_EVENT_MCUWUSEL_WU3_EV_AUX_TIMER1_EV 0x34000000 125 #define AON_EVENT_MCUWUSEL_WU3_EV_AUX_TIMER0_EV 0x33000000 126 #define AON_EVENT_MCUWUSEL_WU3_EV_AUX_TDC_DONE 0x32000000 127 #define AON_EVENT_MCUWUSEL_WU3_EV_AUX_ADC_DONE 0x31000000 128 #define AON_EVENT_MCUWUSEL_WU3_EV_AUX_COMPB 0x30000000 129 #define AON_EVENT_MCUWUSEL_WU3_EV_AUX_COMPA 0x2F000000 130 #define AON_EVENT_MCUWUSEL_WU3_EV_AUX_SWEV2 0x2E000000 131 #define AON_EVENT_MCUWUSEL_WU3_EV_AUX_SWEV1 0x2D000000 132 #define AON_EVENT_MCUWUSEL_WU3_EV_AUX_SWEV0 0x2C000000 133 #define AON_EVENT_MCUWUSEL_WU3_EV_JTAG 0x2B000000 134 #define AON_EVENT_MCUWUSEL_WU3_EV_RTC_UPD 0x2A000000 135 #define AON_EVENT_MCUWUSEL_WU3_EV_RTC_COMB_DLY 0x29000000 136 #define AON_EVENT_MCUWUSEL_WU3_EV_RTC_CH2_DLY 0x28000000 137 #define AON_EVENT_MCUWUSEL_WU3_EV_RTC_CH1_DLY 0x27000000 138 #define AON_EVENT_MCUWUSEL_WU3_EV_RTC_CH0_DLY 0x26000000 139 #define AON_EVENT_MCUWUSEL_WU3_EV_RTC_CH2 0x25000000 140 #define AON_EVENT_MCUWUSEL_WU3_EV_RTC_CH1 0x24000000 141 #define AON_EVENT_MCUWUSEL_WU3_EV_RTC_CH0 0x23000000 142 #define AON_EVENT_MCUWUSEL_WU3_EV_PAD 0x20000000 143 #define AON_EVENT_MCUWUSEL_WU3_EV_BATMON_COMBINED 0x09000000 144 #define AON_EVENT_MCUWUSEL_WU3_EV_BATMON_TEMP_LL 0x08000000 145 #define AON_EVENT_MCUWUSEL_WU3_EV_BATMON_TEMP_UL 0x07000000 146 #define AON_EVENT_MCUWUSEL_WU3_EV_BATMON_BATT_LL 0x06000000 147 #define AON_EVENT_MCUWUSEL_WU3_EV_BATMON_BATT_UL 0x05000000 148 #define AON_EVENT_MCUWUSEL_WU3_EV_AUX_TIMER2_EV3 0x04000000 149 #define AON_EVENT_MCUWUSEL_WU3_EV_AUX_TIMER2_EV2 0x03000000 150 #define AON_EVENT_MCUWUSEL_WU3_EV_AUX_TIMER2_EV1 0x02000000 151 #define AON_EVENT_MCUWUSEL_WU3_EV_AUX_TIMER2_EV0 0x01000000 152 #define AON_EVENT_MCUWUSEL_WU3_EV_IOEV_MCU_WU 0x00000000 153 154 // Field: [21:16] WU2_EV 155 // 156 // MCU Wakeup Source #2 157 // 158 // AON Event Source selecting 1 of 8 events routed to AON_PMCTRL for waking up 159 // the MCU domain from Power Off or Power Down. 160 // Note: 161 // ENUMs: 162 // NONE No event, always low 163 // AUX_COMPB_ASYNC_N Comparator B not triggered. Asynchronous signal 164 // directly from AUX Comparator B (inverted) as 165 // opposed to AUX_COMPB which is synchronized in 166 // AUX 167 // AUX_COMPB_ASYNC Comparator B triggered. Asynchronous signal 168 // directly from the AUX Comparator B as opposed 169 // to AUX_COMPB which is synchronized in AUX 170 // BATMON_VOLT BATMON voltage update event 171 // BATMON_TEMP BATMON temperature update event 172 // AUX_TIMER1_EV AUX Timer 1 Event 173 // AUX_TIMER0_EV AUX Timer 0 Event 174 // AUX_TDC_DONE TDC completed or timed out 175 // AUX_ADC_DONE ADC conversion completed 176 // AUX_COMPB Comparator B triggered 177 // AUX_COMPA Comparator A triggered 178 // AUX_SWEV2 AUX Software triggered event #2. Triggered by 179 // AUX_EVCTL:SWEVSET.SWEV2 180 // AUX_SWEV1 AUX Software triggered event #1. Triggered by 181 // AUX_EVCTL:SWEVSET.SWEV1 182 // AUX_SWEV0 AUX Software triggered event #0. Triggered by 183 // AUX_EVCTL:SWEVSET.SWEV0 184 // JTAG JTAG generated event 185 // RTC_UPD RTC Update Tick (16 kHz signal, i.e. event line 186 // toggles value every 32 kHz clock period) 187 // RTC_COMB_DLY RTC combined delayed event 188 // RTC_CH2_DLY RTC channel 2 - delayed event 189 // RTC_CH1_DLY RTC channel 1 - delayed event 190 // RTC_CH0_DLY RTC channel 0 - delayed event 191 // RTC_CH2 RTC channel 2 event 192 // RTC_CH1 RTC channel 1 event 193 // RTC_CH0 RTC channel 0 event 194 // PAD Edge detect on any PAD 195 // BATMON_COMBINED Combined event from BATMON 196 // BATMON_TEMP_LL BATMON event: Temperature level below lower limit 197 // BATMON_TEMP_UL BATMON event: Temperature level above upper limit 198 // BATMON_BATT_LL BATMON event: Battery level below lower limit 199 // BATMON_BATT_UL BATMON event: Battery level above upper limit 200 // AUX_TIMER2_EV3 Event 3 from AUX TImer2 201 // AUX_TIMER2_EV2 Event 2 from AUX TImer2 202 // AUX_TIMER2_EV1 Event 1 from AUX TImer2 203 // AUX_TIMER2_EV0 Event 0 from AUX TImer2 204 // IOEV_MCU_WU Edge detect IO event from the DIO(s) which have 205 // enabled contribution to IOEV_MCU_WU in 206 // [MCU_IOC:IOCFGx.IOEV_MCU_WU_EN] 207 #define AON_EVENT_MCUWUSEL_WU2_EV_W 6 208 #define AON_EVENT_MCUWUSEL_WU2_EV_M 0x003F0000 209 #define AON_EVENT_MCUWUSEL_WU2_EV_S 16 210 #define AON_EVENT_MCUWUSEL_WU2_EV_NONE 0x003F0000 211 #define AON_EVENT_MCUWUSEL_WU2_EV_AUX_COMPB_ASYNC_N 0x00380000 212 #define AON_EVENT_MCUWUSEL_WU2_EV_AUX_COMPB_ASYNC 0x00370000 213 #define AON_EVENT_MCUWUSEL_WU2_EV_BATMON_VOLT 0x00360000 214 #define AON_EVENT_MCUWUSEL_WU2_EV_BATMON_TEMP 0x00350000 215 #define AON_EVENT_MCUWUSEL_WU2_EV_AUX_TIMER1_EV 0x00340000 216 #define AON_EVENT_MCUWUSEL_WU2_EV_AUX_TIMER0_EV 0x00330000 217 #define AON_EVENT_MCUWUSEL_WU2_EV_AUX_TDC_DONE 0x00320000 218 #define AON_EVENT_MCUWUSEL_WU2_EV_AUX_ADC_DONE 0x00310000 219 #define AON_EVENT_MCUWUSEL_WU2_EV_AUX_COMPB 0x00300000 220 #define AON_EVENT_MCUWUSEL_WU2_EV_AUX_COMPA 0x002F0000 221 #define AON_EVENT_MCUWUSEL_WU2_EV_AUX_SWEV2 0x002E0000 222 #define AON_EVENT_MCUWUSEL_WU2_EV_AUX_SWEV1 0x002D0000 223 #define AON_EVENT_MCUWUSEL_WU2_EV_AUX_SWEV0 0x002C0000 224 #define AON_EVENT_MCUWUSEL_WU2_EV_JTAG 0x002B0000 225 #define AON_EVENT_MCUWUSEL_WU2_EV_RTC_UPD 0x002A0000 226 #define AON_EVENT_MCUWUSEL_WU2_EV_RTC_COMB_DLY 0x00290000 227 #define AON_EVENT_MCUWUSEL_WU2_EV_RTC_CH2_DLY 0x00280000 228 #define AON_EVENT_MCUWUSEL_WU2_EV_RTC_CH1_DLY 0x00270000 229 #define AON_EVENT_MCUWUSEL_WU2_EV_RTC_CH0_DLY 0x00260000 230 #define AON_EVENT_MCUWUSEL_WU2_EV_RTC_CH2 0x00250000 231 #define AON_EVENT_MCUWUSEL_WU2_EV_RTC_CH1 0x00240000 232 #define AON_EVENT_MCUWUSEL_WU2_EV_RTC_CH0 0x00230000 233 #define AON_EVENT_MCUWUSEL_WU2_EV_PAD 0x00200000 234 #define AON_EVENT_MCUWUSEL_WU2_EV_BATMON_COMBINED 0x00090000 235 #define AON_EVENT_MCUWUSEL_WU2_EV_BATMON_TEMP_LL 0x00080000 236 #define AON_EVENT_MCUWUSEL_WU2_EV_BATMON_TEMP_UL 0x00070000 237 #define AON_EVENT_MCUWUSEL_WU2_EV_BATMON_BATT_LL 0x00060000 238 #define AON_EVENT_MCUWUSEL_WU2_EV_BATMON_BATT_UL 0x00050000 239 #define AON_EVENT_MCUWUSEL_WU2_EV_AUX_TIMER2_EV3 0x00040000 240 #define AON_EVENT_MCUWUSEL_WU2_EV_AUX_TIMER2_EV2 0x00030000 241 #define AON_EVENT_MCUWUSEL_WU2_EV_AUX_TIMER2_EV1 0x00020000 242 #define AON_EVENT_MCUWUSEL_WU2_EV_AUX_TIMER2_EV0 0x00010000 243 #define AON_EVENT_MCUWUSEL_WU2_EV_IOEV_MCU_WU 0x00000000 244 245 // Field: [13:8] WU1_EV 246 // 247 // MCU Wakeup Source #1 248 // 249 // AON Event Source selecting 1 of 8 events routed to AON_PMCTRL for waking up 250 // the MCU domain from Power Off or Power Down. 251 // Note: 252 // ENUMs: 253 // NONE No event, always low 254 // AUX_COMPB_ASYNC_N Comparator B not triggered. Asynchronous signal 255 // directly from AUX Comparator B (inverted) as 256 // opposed to AUX_COMPB which is synchronized in 257 // AUX 258 // AUX_COMPB_ASYNC Comparator B triggered. Asynchronous signal 259 // directly from the AUX Comparator B as opposed 260 // to AUX_COMPB which is synchronized in AUX 261 // BATMON_VOLT BATMON voltage update event 262 // BATMON_TEMP BATMON temperature update event 263 // AUX_TIMER1_EV AUX Timer 1 Event 264 // AUX_TIMER0_EV AUX Timer 0 Event 265 // AUX_TDC_DONE TDC completed or timed out 266 // AUX_ADC_DONE ADC conversion completed 267 // AUX_COMPB Comparator B triggered 268 // AUX_COMPA Comparator A triggered 269 // AUX_SWEV2 AUX Software triggered event #2. Triggered by 270 // AUX_EVCTL:SWEVSET.SWEV2 271 // AUX_SWEV1 AUX Software triggered event #1. Triggered by 272 // AUX_EVCTL:SWEVSET.SWEV1 273 // AUX_SWEV0 AUX Software triggered event #0. Triggered by 274 // AUX_EVCTL:SWEVSET.SWEV0 275 // JTAG JTAG generated event 276 // RTC_UPD RTC Update Tick (16 kHz signal, i.e. event line 277 // toggles value every 32 kHz clock period) 278 // RTC_COMB_DLY RTC combined delayed event 279 // RTC_CH2_DLY RTC channel 2 - delayed event 280 // RTC_CH1_DLY RTC channel 1 - delayed event 281 // RTC_CH0_DLY RTC channel 0 - delayed event 282 // RTC_CH2 RTC channel 2 event 283 // RTC_CH1 RTC channel 1 event 284 // RTC_CH0 RTC channel 0 event 285 // PAD Edge detect on any PAD 286 // BATMON_COMBINED Combined event from BATMON 287 // BATMON_TEMP_LL BATMON event: Temperature level below lower limit 288 // BATMON_TEMP_UL BATMON event: Temperature level above upper limit 289 // BATMON_BATT_LL BATMON event: Battery level below lower limit 290 // BATMON_BATT_UL BATMON event: Battery level above upper limit 291 // AUX_TIMER2_EV3 Event 3 from AUX TImer2 292 // AUX_TIMER2_EV2 Event 2 from AUX TImer2 293 // AUX_TIMER2_EV1 Event 1 from AUX TImer2 294 // AUX_TIMER2_EV0 Event 0 from AUX TImer2 295 // IOEV_MCU_WU Edge detect IO event from the DIO(s) which have 296 // enabled contribution to IOEV_MCU_WU in 297 // [MCU_IOC:IOCFGx.IOEV_MCU_WU_EN] 298 #define AON_EVENT_MCUWUSEL_WU1_EV_W 6 299 #define AON_EVENT_MCUWUSEL_WU1_EV_M 0x00003F00 300 #define AON_EVENT_MCUWUSEL_WU1_EV_S 8 301 #define AON_EVENT_MCUWUSEL_WU1_EV_NONE 0x00003F00 302 #define AON_EVENT_MCUWUSEL_WU1_EV_AUX_COMPB_ASYNC_N 0x00003800 303 #define AON_EVENT_MCUWUSEL_WU1_EV_AUX_COMPB_ASYNC 0x00003700 304 #define AON_EVENT_MCUWUSEL_WU1_EV_BATMON_VOLT 0x00003600 305 #define AON_EVENT_MCUWUSEL_WU1_EV_BATMON_TEMP 0x00003500 306 #define AON_EVENT_MCUWUSEL_WU1_EV_AUX_TIMER1_EV 0x00003400 307 #define AON_EVENT_MCUWUSEL_WU1_EV_AUX_TIMER0_EV 0x00003300 308 #define AON_EVENT_MCUWUSEL_WU1_EV_AUX_TDC_DONE 0x00003200 309 #define AON_EVENT_MCUWUSEL_WU1_EV_AUX_ADC_DONE 0x00003100 310 #define AON_EVENT_MCUWUSEL_WU1_EV_AUX_COMPB 0x00003000 311 #define AON_EVENT_MCUWUSEL_WU1_EV_AUX_COMPA 0x00002F00 312 #define AON_EVENT_MCUWUSEL_WU1_EV_AUX_SWEV2 0x00002E00 313 #define AON_EVENT_MCUWUSEL_WU1_EV_AUX_SWEV1 0x00002D00 314 #define AON_EVENT_MCUWUSEL_WU1_EV_AUX_SWEV0 0x00002C00 315 #define AON_EVENT_MCUWUSEL_WU1_EV_JTAG 0x00002B00 316 #define AON_EVENT_MCUWUSEL_WU1_EV_RTC_UPD 0x00002A00 317 #define AON_EVENT_MCUWUSEL_WU1_EV_RTC_COMB_DLY 0x00002900 318 #define AON_EVENT_MCUWUSEL_WU1_EV_RTC_CH2_DLY 0x00002800 319 #define AON_EVENT_MCUWUSEL_WU1_EV_RTC_CH1_DLY 0x00002700 320 #define AON_EVENT_MCUWUSEL_WU1_EV_RTC_CH0_DLY 0x00002600 321 #define AON_EVENT_MCUWUSEL_WU1_EV_RTC_CH2 0x00002500 322 #define AON_EVENT_MCUWUSEL_WU1_EV_RTC_CH1 0x00002400 323 #define AON_EVENT_MCUWUSEL_WU1_EV_RTC_CH0 0x00002300 324 #define AON_EVENT_MCUWUSEL_WU1_EV_PAD 0x00002000 325 #define AON_EVENT_MCUWUSEL_WU1_EV_BATMON_COMBINED 0x00000900 326 #define AON_EVENT_MCUWUSEL_WU1_EV_BATMON_TEMP_LL 0x00000800 327 #define AON_EVENT_MCUWUSEL_WU1_EV_BATMON_TEMP_UL 0x00000700 328 #define AON_EVENT_MCUWUSEL_WU1_EV_BATMON_BATT_LL 0x00000600 329 #define AON_EVENT_MCUWUSEL_WU1_EV_BATMON_BATT_UL 0x00000500 330 #define AON_EVENT_MCUWUSEL_WU1_EV_AUX_TIMER2_EV3 0x00000400 331 #define AON_EVENT_MCUWUSEL_WU1_EV_AUX_TIMER2_EV2 0x00000300 332 #define AON_EVENT_MCUWUSEL_WU1_EV_AUX_TIMER2_EV1 0x00000200 333 #define AON_EVENT_MCUWUSEL_WU1_EV_AUX_TIMER2_EV0 0x00000100 334 #define AON_EVENT_MCUWUSEL_WU1_EV_IOEV_MCU_WU 0x00000000 335 336 // Field: [5:0] WU0_EV 337 // 338 // MCU Wakeup Source #0 339 // 340 // AON Event Source selecting 1 of 8 events routed to AON_PMCTRL for waking up 341 // the MCU domain from Power Off or Power Down. 342 // Note: 343 // ENUMs: 344 // NONE No event, always low 345 // AUX_COMPB_ASYNC_N Comparator B not triggered. Asynchronous signal 346 // directly from AUX Comparator B (inverted) as 347 // opposed to AUX_COMPB which is synchronized in 348 // AUX 349 // AUX_COMPB_ASYNC Comparator B triggered. Asynchronous signal 350 // directly from the AUX Comparator B as opposed 351 // to AUX_COMPB which is synchronized in AUX 352 // BATMON_VOLT BATMON voltage update event 353 // BATMON_TEMP BATMON temperature update event 354 // AUX_TIMER1_EV AUX Timer 1 Event 355 // AUX_TIMER0_EV AUX Timer 0 Event 356 // AUX_TDC_DONE TDC completed or timed out 357 // AUX_ADC_DONE ADC conversion completed 358 // AUX_COMPB Comparator B triggered 359 // AUX_COMPA Comparator A triggered 360 // AUX_SWEV2 AUX Software triggered event #2. Triggered by 361 // AUX_EVCTL:SWEVSET.SWEV2 362 // AUX_SWEV1 AUX Software triggered event #1. Triggered by 363 // AUX_EVCTL:SWEVSET.SWEV1 364 // AUX_SWEV0 AUX Software triggered event #0. Triggered by 365 // AUX_EVCTL:SWEVSET.SWEV0 366 // JTAG JTAG generated event 367 // RTC_UPD RTC Update Tick (16 kHz signal, i.e. event line 368 // toggles value every 32 kHz clock period) 369 // RTC_COMB_DLY RTC combined delayed event 370 // RTC_CH2_DLY RTC channel 2 - delayed event 371 // RTC_CH1_DLY RTC channel 1 - delayed event 372 // RTC_CH0_DLY RTC channel 0 - delayed event 373 // RTC_CH2 RTC channel 2 event 374 // RTC_CH1 RTC channel 1 event 375 // RTC_CH0 RTC channel 0 event 376 // PAD Edge detect on any PAD 377 // BATMON_COMBINED Combined event from BATMON 378 // BATMON_TEMP_LL BATMON event: Temperature level below lower limit 379 // BATMON_TEMP_UL BATMON event: Temperature level above upper limit 380 // BATMON_BATT_LL BATMON event: Battery level below lower limit 381 // BATMON_BATT_UL BATMON event: Battery level above upper limit 382 // AUX_TIMER2_EV3 Event 3 from AUX TImer2 383 // AUX_TIMER2_EV2 Event 2 from AUX TImer2 384 // AUX_TIMER2_EV1 Event 1 from AUX TImer2 385 // AUX_TIMER2_EV0 Event 0 from AUX TImer2 386 // IOEV_MCU_WU Edge detect IO event from the DIO(s) which have 387 // enabled contribution to IOEV_MCU_WU in 388 // [MCU_IOC:IOCFGx.IOEV_MCU_WU_EN] 389 #define AON_EVENT_MCUWUSEL_WU0_EV_W 6 390 #define AON_EVENT_MCUWUSEL_WU0_EV_M 0x0000003F 391 #define AON_EVENT_MCUWUSEL_WU0_EV_S 0 392 #define AON_EVENT_MCUWUSEL_WU0_EV_NONE 0x0000003F 393 #define AON_EVENT_MCUWUSEL_WU0_EV_AUX_COMPB_ASYNC_N 0x00000038 394 #define AON_EVENT_MCUWUSEL_WU0_EV_AUX_COMPB_ASYNC 0x00000037 395 #define AON_EVENT_MCUWUSEL_WU0_EV_BATMON_VOLT 0x00000036 396 #define AON_EVENT_MCUWUSEL_WU0_EV_BATMON_TEMP 0x00000035 397 #define AON_EVENT_MCUWUSEL_WU0_EV_AUX_TIMER1_EV 0x00000034 398 #define AON_EVENT_MCUWUSEL_WU0_EV_AUX_TIMER0_EV 0x00000033 399 #define AON_EVENT_MCUWUSEL_WU0_EV_AUX_TDC_DONE 0x00000032 400 #define AON_EVENT_MCUWUSEL_WU0_EV_AUX_ADC_DONE 0x00000031 401 #define AON_EVENT_MCUWUSEL_WU0_EV_AUX_COMPB 0x00000030 402 #define AON_EVENT_MCUWUSEL_WU0_EV_AUX_COMPA 0x0000002F 403 #define AON_EVENT_MCUWUSEL_WU0_EV_AUX_SWEV2 0x0000002E 404 #define AON_EVENT_MCUWUSEL_WU0_EV_AUX_SWEV1 0x0000002D 405 #define AON_EVENT_MCUWUSEL_WU0_EV_AUX_SWEV0 0x0000002C 406 #define AON_EVENT_MCUWUSEL_WU0_EV_JTAG 0x0000002B 407 #define AON_EVENT_MCUWUSEL_WU0_EV_RTC_UPD 0x0000002A 408 #define AON_EVENT_MCUWUSEL_WU0_EV_RTC_COMB_DLY 0x00000029 409 #define AON_EVENT_MCUWUSEL_WU0_EV_RTC_CH2_DLY 0x00000028 410 #define AON_EVENT_MCUWUSEL_WU0_EV_RTC_CH1_DLY 0x00000027 411 #define AON_EVENT_MCUWUSEL_WU0_EV_RTC_CH0_DLY 0x00000026 412 #define AON_EVENT_MCUWUSEL_WU0_EV_RTC_CH2 0x00000025 413 #define AON_EVENT_MCUWUSEL_WU0_EV_RTC_CH1 0x00000024 414 #define AON_EVENT_MCUWUSEL_WU0_EV_RTC_CH0 0x00000023 415 #define AON_EVENT_MCUWUSEL_WU0_EV_PAD 0x00000020 416 #define AON_EVENT_MCUWUSEL_WU0_EV_BATMON_COMBINED 0x00000009 417 #define AON_EVENT_MCUWUSEL_WU0_EV_BATMON_TEMP_LL 0x00000008 418 #define AON_EVENT_MCUWUSEL_WU0_EV_BATMON_TEMP_UL 0x00000007 419 #define AON_EVENT_MCUWUSEL_WU0_EV_BATMON_BATT_LL 0x00000006 420 #define AON_EVENT_MCUWUSEL_WU0_EV_BATMON_BATT_UL 0x00000005 421 #define AON_EVENT_MCUWUSEL_WU0_EV_AUX_TIMER2_EV3 0x00000004 422 #define AON_EVENT_MCUWUSEL_WU0_EV_AUX_TIMER2_EV2 0x00000003 423 #define AON_EVENT_MCUWUSEL_WU0_EV_AUX_TIMER2_EV1 0x00000002 424 #define AON_EVENT_MCUWUSEL_WU0_EV_AUX_TIMER2_EV0 0x00000001 425 #define AON_EVENT_MCUWUSEL_WU0_EV_IOEV_MCU_WU 0x00000000 426 427 //***************************************************************************** 428 // 429 // Register: AON_EVENT_O_MCUWUSEL1 430 // 431 //***************************************************************************** 432 // Field: [29:24] WU7_EV 433 // 434 // MCU Wakeup Source #7 435 // 436 // AON Event Source selecting 1 of 8 events routed to AON_PMCTRL for waking up 437 // the MCU domain from Power Off or Power Down. 438 // Note: 439 // ENUMs: 440 // NONE No event, always low 441 // AUX_COMPB_ASYNC_N Comparator B not triggered. Asynchronous signal 442 // directly from AUX Comparator B (inverted) as 443 // opposed to AUX_COMPB which is synchronized in 444 // AUX 445 // AUX_COMPB_ASYNC Comparator B triggered. Asynchronous signal 446 // directly from the AUX Comparator B as opposed 447 // to AUX_COMPB which is synchronized in AUX 448 // BATMON_VOLT BATMON voltage update event 449 // BATMON_TEMP BATMON temperature update event 450 // AUX_TIMER1_EV AUX Timer 1 Event 451 // AUX_TIMER0_EV AUX Timer 0 Event 452 // AUX_TDC_DONE TDC completed or timed out 453 // AUX_ADC_DONE ADC conversion completed 454 // AUX_COMPB Comparator B triggered 455 // AUX_COMPA Comparator A triggered 456 // AUX_SWEV2 AUX Software triggered event #2. Triggered by 457 // AUX_EVCTL:SWEVSET.SWEV2 458 // AUX_SWEV1 AUX Software triggered event #1. Triggered by 459 // AUX_EVCTL:SWEVSET.SWEV1 460 // AUX_SWEV0 AUX Software triggered event #0. Triggered by 461 // AUX_EVCTL:SWEVSET.SWEV0 462 // JTAG JTAG generated event 463 // RTC_UPD RTC Update Tick (16 kHz signal, i.e. event line 464 // toggles value every 32 kHz clock period) 465 // RTC_COMB_DLY RTC combined delayed event 466 // RTC_CH2_DLY RTC channel 2 - delayed event 467 // RTC_CH1_DLY RTC channel 1 - delayed event 468 // RTC_CH0_DLY RTC channel 0 - delayed event 469 // RTC_CH2 RTC channel 2 event 470 // RTC_CH1 RTC channel 1 event 471 // RTC_CH0 RTC channel 0 event 472 // PAD Edge detect on any PAD 473 // BATMON_COMBINED Combined event from BATMON 474 // BATMON_TEMP_LL BATMON event: Temperature level below lower limit 475 // BATMON_TEMP_UL BATMON event: Temperature level above upper limit 476 // BATMON_BATT_LL BATMON event: Battery level below lower limit 477 // BATMON_BATT_UL BATMON event: Battery level above upper limit 478 // AUX_TIMER2_EV3 Event 3 from AUX TImer2 479 // AUX_TIMER2_EV2 Event 2 from AUX TImer2 480 // AUX_TIMER2_EV1 Event 1 from AUX TImer2 481 // AUX_TIMER2_EV0 Event 0 from AUX TImer2 482 // IOEV_MCU_WU Edge detect IO event from the DIO(s) which have 483 // enabled contribution to IOEV_MCU_WU in 484 // [MCU_IOC:IOCFGx.IOEV_MCU_WU_EN] 485 #define AON_EVENT_MCUWUSEL1_WU7_EV_W 6 486 #define AON_EVENT_MCUWUSEL1_WU7_EV_M 0x3F000000 487 #define AON_EVENT_MCUWUSEL1_WU7_EV_S 24 488 #define AON_EVENT_MCUWUSEL1_WU7_EV_NONE 0x3F000000 489 #define AON_EVENT_MCUWUSEL1_WU7_EV_AUX_COMPB_ASYNC_N 0x38000000 490 #define AON_EVENT_MCUWUSEL1_WU7_EV_AUX_COMPB_ASYNC 0x37000000 491 #define AON_EVENT_MCUWUSEL1_WU7_EV_BATMON_VOLT 0x36000000 492 #define AON_EVENT_MCUWUSEL1_WU7_EV_BATMON_TEMP 0x35000000 493 #define AON_EVENT_MCUWUSEL1_WU7_EV_AUX_TIMER1_EV 0x34000000 494 #define AON_EVENT_MCUWUSEL1_WU7_EV_AUX_TIMER0_EV 0x33000000 495 #define AON_EVENT_MCUWUSEL1_WU7_EV_AUX_TDC_DONE 0x32000000 496 #define AON_EVENT_MCUWUSEL1_WU7_EV_AUX_ADC_DONE 0x31000000 497 #define AON_EVENT_MCUWUSEL1_WU7_EV_AUX_COMPB 0x30000000 498 #define AON_EVENT_MCUWUSEL1_WU7_EV_AUX_COMPA 0x2F000000 499 #define AON_EVENT_MCUWUSEL1_WU7_EV_AUX_SWEV2 0x2E000000 500 #define AON_EVENT_MCUWUSEL1_WU7_EV_AUX_SWEV1 0x2D000000 501 #define AON_EVENT_MCUWUSEL1_WU7_EV_AUX_SWEV0 0x2C000000 502 #define AON_EVENT_MCUWUSEL1_WU7_EV_JTAG 0x2B000000 503 #define AON_EVENT_MCUWUSEL1_WU7_EV_RTC_UPD 0x2A000000 504 #define AON_EVENT_MCUWUSEL1_WU7_EV_RTC_COMB_DLY 0x29000000 505 #define AON_EVENT_MCUWUSEL1_WU7_EV_RTC_CH2_DLY 0x28000000 506 #define AON_EVENT_MCUWUSEL1_WU7_EV_RTC_CH1_DLY 0x27000000 507 #define AON_EVENT_MCUWUSEL1_WU7_EV_RTC_CH0_DLY 0x26000000 508 #define AON_EVENT_MCUWUSEL1_WU7_EV_RTC_CH2 0x25000000 509 #define AON_EVENT_MCUWUSEL1_WU7_EV_RTC_CH1 0x24000000 510 #define AON_EVENT_MCUWUSEL1_WU7_EV_RTC_CH0 0x23000000 511 #define AON_EVENT_MCUWUSEL1_WU7_EV_PAD 0x20000000 512 #define AON_EVENT_MCUWUSEL1_WU7_EV_BATMON_COMBINED 0x09000000 513 #define AON_EVENT_MCUWUSEL1_WU7_EV_BATMON_TEMP_LL 0x08000000 514 #define AON_EVENT_MCUWUSEL1_WU7_EV_BATMON_TEMP_UL 0x07000000 515 #define AON_EVENT_MCUWUSEL1_WU7_EV_BATMON_BATT_LL 0x06000000 516 #define AON_EVENT_MCUWUSEL1_WU7_EV_BATMON_BATT_UL 0x05000000 517 #define AON_EVENT_MCUWUSEL1_WU7_EV_AUX_TIMER2_EV3 0x04000000 518 #define AON_EVENT_MCUWUSEL1_WU7_EV_AUX_TIMER2_EV2 0x03000000 519 #define AON_EVENT_MCUWUSEL1_WU7_EV_AUX_TIMER2_EV1 0x02000000 520 #define AON_EVENT_MCUWUSEL1_WU7_EV_AUX_TIMER2_EV0 0x01000000 521 #define AON_EVENT_MCUWUSEL1_WU7_EV_IOEV_MCU_WU 0x00000000 522 523 // Field: [21:16] WU6_EV 524 // 525 // MCU Wakeup Source #6 526 // 527 // AON Event Source selecting 1 of 8 events routed to AON_PMCTRL for waking up 528 // the MCU domain from Power Off or Power Down. 529 // Note: 530 // ENUMs: 531 // NONE No event, always low 532 // AUX_COMPB_ASYNC_N Comparator B not triggered. Asynchronous signal 533 // directly from AUX Comparator B (inverted) as 534 // opposed to AUX_COMPB which is synchronized in 535 // AUX 536 // AUX_COMPB_ASYNC Comparator B triggered. Asynchronous signal 537 // directly from the AUX Comparator B as opposed 538 // to AUX_COMPB which is synchronized in AUX 539 // BATMON_VOLT BATMON voltage update event 540 // BATMON_TEMP BATMON temperature update event 541 // AUX_TIMER1_EV AUX Timer 1 Event 542 // AUX_TIMER0_EV AUX Timer 0 Event 543 // AUX_TDC_DONE TDC completed or timed out 544 // AUX_ADC_DONE ADC conversion completed 545 // AUX_COMPB Comparator B triggered 546 // AUX_COMPA Comparator A triggered 547 // AUX_SWEV2 AUX Software triggered event #2. Triggered by 548 // AUX_EVCTL:SWEVSET.SWEV2 549 // AUX_SWEV1 AUX Software triggered event #1. Triggered by 550 // AUX_EVCTL:SWEVSET.SWEV1 551 // AUX_SWEV0 AUX Software triggered event #0. Triggered by 552 // AUX_EVCTL:SWEVSET.SWEV0 553 // JTAG JTAG generated event 554 // RTC_UPD RTC Update Tick (16 kHz signal, i.e. event line 555 // toggles value every 32 kHz clock period) 556 // RTC_COMB_DLY RTC combined delayed event 557 // RTC_CH2_DLY RTC channel 2 - delayed event 558 // RTC_CH1_DLY RTC channel 1 - delayed event 559 // RTC_CH0_DLY RTC channel 0 - delayed event 560 // RTC_CH2 RTC channel 2 event 561 // RTC_CH1 RTC channel 1 event 562 // RTC_CH0 RTC channel 0 event 563 // PAD Edge detect on any PAD 564 // BATMON_COMBINED Combined event from BATMON 565 // BATMON_TEMP_LL BATMON event: Temperature level below lower limit 566 // BATMON_TEMP_UL BATMON event: Temperature level above upper limit 567 // BATMON_BATT_LL BATMON event: Battery level below lower limit 568 // BATMON_BATT_UL BATMON event: Battery level above upper limit 569 // AUX_TIMER2_EV3 Event 3 from AUX TImer2 570 // AUX_TIMER2_EV2 Event 2 from AUX TImer2 571 // AUX_TIMER2_EV1 Event 1 from AUX TImer2 572 // AUX_TIMER2_EV0 Event 0 from AUX TImer2 573 // IOEV_MCU_WU Edge detect IO event from the DIO(s) which have 574 // enabled contribution to IOEV_MCU_WU in 575 // [MCU_IOC:IOCFGx.IOEV_MCU_WU_EN] 576 #define AON_EVENT_MCUWUSEL1_WU6_EV_W 6 577 #define AON_EVENT_MCUWUSEL1_WU6_EV_M 0x003F0000 578 #define AON_EVENT_MCUWUSEL1_WU6_EV_S 16 579 #define AON_EVENT_MCUWUSEL1_WU6_EV_NONE 0x003F0000 580 #define AON_EVENT_MCUWUSEL1_WU6_EV_AUX_COMPB_ASYNC_N 0x00380000 581 #define AON_EVENT_MCUWUSEL1_WU6_EV_AUX_COMPB_ASYNC 0x00370000 582 #define AON_EVENT_MCUWUSEL1_WU6_EV_BATMON_VOLT 0x00360000 583 #define AON_EVENT_MCUWUSEL1_WU6_EV_BATMON_TEMP 0x00350000 584 #define AON_EVENT_MCUWUSEL1_WU6_EV_AUX_TIMER1_EV 0x00340000 585 #define AON_EVENT_MCUWUSEL1_WU6_EV_AUX_TIMER0_EV 0x00330000 586 #define AON_EVENT_MCUWUSEL1_WU6_EV_AUX_TDC_DONE 0x00320000 587 #define AON_EVENT_MCUWUSEL1_WU6_EV_AUX_ADC_DONE 0x00310000 588 #define AON_EVENT_MCUWUSEL1_WU6_EV_AUX_COMPB 0x00300000 589 #define AON_EVENT_MCUWUSEL1_WU6_EV_AUX_COMPA 0x002F0000 590 #define AON_EVENT_MCUWUSEL1_WU6_EV_AUX_SWEV2 0x002E0000 591 #define AON_EVENT_MCUWUSEL1_WU6_EV_AUX_SWEV1 0x002D0000 592 #define AON_EVENT_MCUWUSEL1_WU6_EV_AUX_SWEV0 0x002C0000 593 #define AON_EVENT_MCUWUSEL1_WU6_EV_JTAG 0x002B0000 594 #define AON_EVENT_MCUWUSEL1_WU6_EV_RTC_UPD 0x002A0000 595 #define AON_EVENT_MCUWUSEL1_WU6_EV_RTC_COMB_DLY 0x00290000 596 #define AON_EVENT_MCUWUSEL1_WU6_EV_RTC_CH2_DLY 0x00280000 597 #define AON_EVENT_MCUWUSEL1_WU6_EV_RTC_CH1_DLY 0x00270000 598 #define AON_EVENT_MCUWUSEL1_WU6_EV_RTC_CH0_DLY 0x00260000 599 #define AON_EVENT_MCUWUSEL1_WU6_EV_RTC_CH2 0x00250000 600 #define AON_EVENT_MCUWUSEL1_WU6_EV_RTC_CH1 0x00240000 601 #define AON_EVENT_MCUWUSEL1_WU6_EV_RTC_CH0 0x00230000 602 #define AON_EVENT_MCUWUSEL1_WU6_EV_PAD 0x00200000 603 #define AON_EVENT_MCUWUSEL1_WU6_EV_BATMON_COMBINED 0x00090000 604 #define AON_EVENT_MCUWUSEL1_WU6_EV_BATMON_TEMP_LL 0x00080000 605 #define AON_EVENT_MCUWUSEL1_WU6_EV_BATMON_TEMP_UL 0x00070000 606 #define AON_EVENT_MCUWUSEL1_WU6_EV_BATMON_BATT_LL 0x00060000 607 #define AON_EVENT_MCUWUSEL1_WU6_EV_BATMON_BATT_UL 0x00050000 608 #define AON_EVENT_MCUWUSEL1_WU6_EV_AUX_TIMER2_EV3 0x00040000 609 #define AON_EVENT_MCUWUSEL1_WU6_EV_AUX_TIMER2_EV2 0x00030000 610 #define AON_EVENT_MCUWUSEL1_WU6_EV_AUX_TIMER2_EV1 0x00020000 611 #define AON_EVENT_MCUWUSEL1_WU6_EV_AUX_TIMER2_EV0 0x00010000 612 #define AON_EVENT_MCUWUSEL1_WU6_EV_IOEV_MCU_WU 0x00000000 613 614 // Field: [13:8] WU5_EV 615 // 616 // MCU Wakeup Source #5 617 // 618 // AON Event Source selecting 1 of 8 events routed to AON_PMCTRL for waking up 619 // the MCU domain from Power Off or Power Down. 620 // Note: 621 // ENUMs: 622 // NONE No event, always low 623 // AUX_COMPB_ASYNC_N Comparator B not triggered. Asynchronous signal 624 // directly from AUX Comparator B (inverted) as 625 // opposed to AUX_COMPB which is synchronized in 626 // AUX 627 // AUX_COMPB_ASYNC Comparator B triggered. Asynchronous signal 628 // directly from the AUX Comparator B as opposed 629 // to AUX_COMPB which is synchronized in AUX 630 // BATMON_VOLT BATMON voltage update event 631 // BATMON_TEMP BATMON temperature update event 632 // AUX_TIMER1_EV AUX Timer 1 Event 633 // AUX_TIMER0_EV AUX Timer 0 Event 634 // AUX_TDC_DONE TDC completed or timed out 635 // AUX_ADC_DONE ADC conversion completed 636 // AUX_COMPB Comparator B triggered 637 // AUX_COMPA Comparator A triggered 638 // AUX_SWEV2 AUX Software triggered event #2. Triggered by 639 // AUX_EVCTL:SWEVSET.SWEV2 640 // AUX_SWEV1 AUX Software triggered event #1. Triggered by 641 // AUX_EVCTL:SWEVSET.SWEV1 642 // AUX_SWEV0 AUX Software triggered event #0. Triggered by 643 // AUX_EVCTL:SWEVSET.SWEV0 644 // JTAG JTAG generated event 645 // RTC_UPD RTC Update Tick (16 kHz signal, i.e. event line 646 // toggles value every 32 kHz clock period) 647 // RTC_COMB_DLY RTC combined delayed event 648 // RTC_CH2_DLY RTC channel 2 - delayed event 649 // RTC_CH1_DLY RTC channel 1 - delayed event 650 // RTC_CH0_DLY RTC channel 0 - delayed event 651 // RTC_CH2 RTC channel 2 event 652 // RTC_CH1 RTC channel 1 event 653 // RTC_CH0 RTC channel 0 event 654 // PAD Edge detect on any PAD 655 // BATMON_COMBINED Combined event from BATMON 656 // BATMON_TEMP_LL BATMON event: Temperature level below lower limit 657 // BATMON_TEMP_UL BATMON event: Temperature level above upper limit 658 // BATMON_BATT_LL BATMON event: Battery level below lower limit 659 // BATMON_BATT_UL BATMON event: Battery level above upper limit 660 // AUX_TIMER2_EV3 Event 3 from AUX TImer2 661 // AUX_TIMER2_EV2 Event 2 from AUX TImer2 662 // AUX_TIMER2_EV1 Event 1 from AUX TImer2 663 // AUX_TIMER2_EV0 Event 0 from AUX TImer2 664 // IOEV_MCU_WU Edge detect IO event from the DIO(s) which have 665 // enabled contribution to IOEV_MCU_WU in 666 // [MCU_IOC:IOCFGx.IOEV_MCU_WU_EN] 667 #define AON_EVENT_MCUWUSEL1_WU5_EV_W 6 668 #define AON_EVENT_MCUWUSEL1_WU5_EV_M 0x00003F00 669 #define AON_EVENT_MCUWUSEL1_WU5_EV_S 8 670 #define AON_EVENT_MCUWUSEL1_WU5_EV_NONE 0x00003F00 671 #define AON_EVENT_MCUWUSEL1_WU5_EV_AUX_COMPB_ASYNC_N 0x00003800 672 #define AON_EVENT_MCUWUSEL1_WU5_EV_AUX_COMPB_ASYNC 0x00003700 673 #define AON_EVENT_MCUWUSEL1_WU5_EV_BATMON_VOLT 0x00003600 674 #define AON_EVENT_MCUWUSEL1_WU5_EV_BATMON_TEMP 0x00003500 675 #define AON_EVENT_MCUWUSEL1_WU5_EV_AUX_TIMER1_EV 0x00003400 676 #define AON_EVENT_MCUWUSEL1_WU5_EV_AUX_TIMER0_EV 0x00003300 677 #define AON_EVENT_MCUWUSEL1_WU5_EV_AUX_TDC_DONE 0x00003200 678 #define AON_EVENT_MCUWUSEL1_WU5_EV_AUX_ADC_DONE 0x00003100 679 #define AON_EVENT_MCUWUSEL1_WU5_EV_AUX_COMPB 0x00003000 680 #define AON_EVENT_MCUWUSEL1_WU5_EV_AUX_COMPA 0x00002F00 681 #define AON_EVENT_MCUWUSEL1_WU5_EV_AUX_SWEV2 0x00002E00 682 #define AON_EVENT_MCUWUSEL1_WU5_EV_AUX_SWEV1 0x00002D00 683 #define AON_EVENT_MCUWUSEL1_WU5_EV_AUX_SWEV0 0x00002C00 684 #define AON_EVENT_MCUWUSEL1_WU5_EV_JTAG 0x00002B00 685 #define AON_EVENT_MCUWUSEL1_WU5_EV_RTC_UPD 0x00002A00 686 #define AON_EVENT_MCUWUSEL1_WU5_EV_RTC_COMB_DLY 0x00002900 687 #define AON_EVENT_MCUWUSEL1_WU5_EV_RTC_CH2_DLY 0x00002800 688 #define AON_EVENT_MCUWUSEL1_WU5_EV_RTC_CH1_DLY 0x00002700 689 #define AON_EVENT_MCUWUSEL1_WU5_EV_RTC_CH0_DLY 0x00002600 690 #define AON_EVENT_MCUWUSEL1_WU5_EV_RTC_CH2 0x00002500 691 #define AON_EVENT_MCUWUSEL1_WU5_EV_RTC_CH1 0x00002400 692 #define AON_EVENT_MCUWUSEL1_WU5_EV_RTC_CH0 0x00002300 693 #define AON_EVENT_MCUWUSEL1_WU5_EV_PAD 0x00002000 694 #define AON_EVENT_MCUWUSEL1_WU5_EV_BATMON_COMBINED 0x00000900 695 #define AON_EVENT_MCUWUSEL1_WU5_EV_BATMON_TEMP_LL 0x00000800 696 #define AON_EVENT_MCUWUSEL1_WU5_EV_BATMON_TEMP_UL 0x00000700 697 #define AON_EVENT_MCUWUSEL1_WU5_EV_BATMON_BATT_LL 0x00000600 698 #define AON_EVENT_MCUWUSEL1_WU5_EV_BATMON_BATT_UL 0x00000500 699 #define AON_EVENT_MCUWUSEL1_WU5_EV_AUX_TIMER2_EV3 0x00000400 700 #define AON_EVENT_MCUWUSEL1_WU5_EV_AUX_TIMER2_EV2 0x00000300 701 #define AON_EVENT_MCUWUSEL1_WU5_EV_AUX_TIMER2_EV1 0x00000200 702 #define AON_EVENT_MCUWUSEL1_WU5_EV_AUX_TIMER2_EV0 0x00000100 703 #define AON_EVENT_MCUWUSEL1_WU5_EV_IOEV_MCU_WU 0x00000000 704 705 // Field: [5:0] WU4_EV 706 // 707 // MCU Wakeup Source #4 708 // 709 // AON Event Source selecting 1 of 8 events routed to AON_PMCTRL for waking up 710 // the MCU domain from Power Off or Power Down. 711 // Note: 712 // ENUMs: 713 // NONE No event, always low 714 // AUX_COMPB_ASYNC_N Comparator B not triggered. Asynchronous signal 715 // directly from AUX Comparator B (inverted) as 716 // opposed to AUX_COMPB which is synchronized in 717 // AUX 718 // AUX_COMPB_ASYNC Comparator B triggered. Asynchronous signal 719 // directly from the AUX Comparator B as opposed 720 // to AUX_COMPB which is synchronized in AUX 721 // BATMON_VOLT BATMON voltage update event 722 // BATMON_TEMP BATMON temperature update event 723 // AUX_TIMER1_EV AUX Timer 1 Event 724 // AUX_TIMER0_EV AUX Timer 0 Event 725 // AUX_TDC_DONE TDC completed or timed out 726 // AUX_ADC_DONE ADC conversion completed 727 // AUX_COMPB Comparator B triggered 728 // AUX_COMPA Comparator A triggered 729 // AUX_SWEV2 AUX Software triggered event #2. Triggered by 730 // AUX_EVCTL:SWEVSET.SWEV2 731 // AUX_SWEV1 AUX Software triggered event #1. Triggered by 732 // AUX_EVCTL:SWEVSET.SWEV1 733 // AUX_SWEV0 AUX Software triggered event #0. Triggered by 734 // AUX_EVCTL:SWEVSET.SWEV0 735 // JTAG JTAG generated event 736 // RTC_UPD RTC Update Tick (16 kHz signal, i.e. event line 737 // toggles value every 32 kHz clock period) 738 // RTC_COMB_DLY RTC combined delayed event 739 // RTC_CH2_DLY RTC channel 2 - delayed event 740 // RTC_CH1_DLY RTC channel 1 - delayed event 741 // RTC_CH0_DLY RTC channel 0 - delayed event 742 // RTC_CH2 RTC channel 2 event 743 // RTC_CH1 RTC channel 1 event 744 // RTC_CH0 RTC channel 0 event 745 // PAD Edge detect on any PAD 746 // BATMON_COMBINED Combined event from BATMON 747 // BATMON_TEMP_LL BATMON event: Temperature level below lower limit 748 // BATMON_TEMP_UL BATMON event: Temperature level above upper limit 749 // BATMON_BATT_LL BATMON event: Battery level below lower limit 750 // BATMON_BATT_UL BATMON event: Battery level above upper limit 751 // AUX_TIMER2_EV3 Event 3 from AUX TImer2 752 // AUX_TIMER2_EV2 Event 2 from AUX TImer2 753 // AUX_TIMER2_EV1 Event 1 from AUX TImer2 754 // AUX_TIMER2_EV0 Event 0 from AUX TImer2 755 // IOEV_MCU_WU Edge detect IO event from the DIO(s) which have 756 // enabled contribution to IOEV_MCU_WU in 757 // [MCU_IOC:IOCFGx.IOEV_MCU_WU_EN] 758 #define AON_EVENT_MCUWUSEL1_WU4_EV_W 6 759 #define AON_EVENT_MCUWUSEL1_WU4_EV_M 0x0000003F 760 #define AON_EVENT_MCUWUSEL1_WU4_EV_S 0 761 #define AON_EVENT_MCUWUSEL1_WU4_EV_NONE 0x0000003F 762 #define AON_EVENT_MCUWUSEL1_WU4_EV_AUX_COMPB_ASYNC_N 0x00000038 763 #define AON_EVENT_MCUWUSEL1_WU4_EV_AUX_COMPB_ASYNC 0x00000037 764 #define AON_EVENT_MCUWUSEL1_WU4_EV_BATMON_VOLT 0x00000036 765 #define AON_EVENT_MCUWUSEL1_WU4_EV_BATMON_TEMP 0x00000035 766 #define AON_EVENT_MCUWUSEL1_WU4_EV_AUX_TIMER1_EV 0x00000034 767 #define AON_EVENT_MCUWUSEL1_WU4_EV_AUX_TIMER0_EV 0x00000033 768 #define AON_EVENT_MCUWUSEL1_WU4_EV_AUX_TDC_DONE 0x00000032 769 #define AON_EVENT_MCUWUSEL1_WU4_EV_AUX_ADC_DONE 0x00000031 770 #define AON_EVENT_MCUWUSEL1_WU4_EV_AUX_COMPB 0x00000030 771 #define AON_EVENT_MCUWUSEL1_WU4_EV_AUX_COMPA 0x0000002F 772 #define AON_EVENT_MCUWUSEL1_WU4_EV_AUX_SWEV2 0x0000002E 773 #define AON_EVENT_MCUWUSEL1_WU4_EV_AUX_SWEV1 0x0000002D 774 #define AON_EVENT_MCUWUSEL1_WU4_EV_AUX_SWEV0 0x0000002C 775 #define AON_EVENT_MCUWUSEL1_WU4_EV_JTAG 0x0000002B 776 #define AON_EVENT_MCUWUSEL1_WU4_EV_RTC_UPD 0x0000002A 777 #define AON_EVENT_MCUWUSEL1_WU4_EV_RTC_COMB_DLY 0x00000029 778 #define AON_EVENT_MCUWUSEL1_WU4_EV_RTC_CH2_DLY 0x00000028 779 #define AON_EVENT_MCUWUSEL1_WU4_EV_RTC_CH1_DLY 0x00000027 780 #define AON_EVENT_MCUWUSEL1_WU4_EV_RTC_CH0_DLY 0x00000026 781 #define AON_EVENT_MCUWUSEL1_WU4_EV_RTC_CH2 0x00000025 782 #define AON_EVENT_MCUWUSEL1_WU4_EV_RTC_CH1 0x00000024 783 #define AON_EVENT_MCUWUSEL1_WU4_EV_RTC_CH0 0x00000023 784 #define AON_EVENT_MCUWUSEL1_WU4_EV_PAD 0x00000020 785 #define AON_EVENT_MCUWUSEL1_WU4_EV_BATMON_COMBINED 0x00000009 786 #define AON_EVENT_MCUWUSEL1_WU4_EV_BATMON_TEMP_LL 0x00000008 787 #define AON_EVENT_MCUWUSEL1_WU4_EV_BATMON_TEMP_UL 0x00000007 788 #define AON_EVENT_MCUWUSEL1_WU4_EV_BATMON_BATT_LL 0x00000006 789 #define AON_EVENT_MCUWUSEL1_WU4_EV_BATMON_BATT_UL 0x00000005 790 #define AON_EVENT_MCUWUSEL1_WU4_EV_AUX_TIMER2_EV3 0x00000004 791 #define AON_EVENT_MCUWUSEL1_WU4_EV_AUX_TIMER2_EV2 0x00000003 792 #define AON_EVENT_MCUWUSEL1_WU4_EV_AUX_TIMER2_EV1 0x00000002 793 #define AON_EVENT_MCUWUSEL1_WU4_EV_AUX_TIMER2_EV0 0x00000001 794 #define AON_EVENT_MCUWUSEL1_WU4_EV_IOEV_MCU_WU 0x00000000 795 796 //***************************************************************************** 797 // 798 // Register: AON_EVENT_O_EVTOMCUSEL 799 // 800 //***************************************************************************** 801 // Field: [21:16] AON_PROG2_EV 802 // 803 // Event selector for AON_PROG2 event. 804 // 805 // AON Event Source id# selecting event routed to EVENT as AON_PROG2 event. 806 // ENUMs: 807 // NONE No event, always low 808 // AUX_COMPB_ASYNC_N Comparator B not triggered. Asynchronous signal 809 // directly from AUX Comparator B (inverted) as 810 // opposed to AUX_COMPB which is synchronized in 811 // AUX 812 // AUX_COMPB_ASYNC Comparator B triggered. Asynchronous signal 813 // directly from the AUX Comparator B as opposed 814 // to AUX_COMPB which is synchronized in AUX 815 // BATMON_VOLT BATMON voltage update event 816 // BATMON_TEMP BATMON temperature update event 817 // AUX_TIMER1_EV AUX Timer 1 Event 818 // AUX_TIMER0_EV AUX Timer 0 Event 819 // AUX_TDC_DONE TDC completed or timed out 820 // AUX_ADC_DONE ADC conversion completed 821 // AUX_COMPB Comparator B triggered 822 // AUX_COMPA Comparator A triggered 823 // AUX_SWEV2 AUX Software triggered event #2. Triggered by 824 // AUX_EVCTL:SWEVSET.SWEV2 825 // AUX_SWEV1 AUX Software triggered event #1. Triggered by 826 // AUX_EVCTL:SWEVSET.SWEV1 827 // AUX_SWEV0 AUX Software triggered event #0. Triggered by 828 // AUX_EVCTL:SWEVSET.SWEV0 829 // JTAG JTAG generated event 830 // RTC_UPD RTC Update Tick (16 kHz signal, i.e. event line 831 // toggles value every 32 kHz clock period) 832 // RTC_COMB_DLY RTC combined delayed event 833 // RTC_CH2_DLY RTC channel 2 - delayed event 834 // RTC_CH1_DLY RTC channel 1 - delayed event 835 // RTC_CH0_DLY RTC channel 0 - delayed event 836 // RTC_CH2 RTC channel 2 event 837 // RTC_CH1 RTC channel 1 event 838 // RTC_CH0 RTC channel 0 event 839 // PAD Edge detect on any PAD 840 // BATMON_COMBINED Combined event from BATMON 841 // BATMON_TEMP_LL BATMON event: Temperature level below lower limit 842 // BATMON_TEMP_UL BATMON event: Temperature level above upper limit 843 // BATMON_BATT_LL BATMON event: Battery level below lower limit 844 // BATMON_BATT_UL BATMON event: Battery level above upper limit 845 // AUX_TIMER2_EV3 Event 3 from AUX TImer2 846 // AUX_TIMER2_EV2 Event 2 from AUX TImer2 847 // AUX_TIMER2_EV1 Event 1 from AUX TImer2 848 // AUX_TIMER2_EV0 Event 0 from AUX TImer2 849 // IOEV_AON_PROG2 Edge detect IO event from the DIO(s) which have 850 // enabled contribution to IOEV_AON_PROG2 in 851 // [MCU_IOC:IOCFGx.IOEV_AON_PROG2_EN] 852 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_W 6 853 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_M 0x003F0000 854 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_S 16 855 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_NONE 0x003F0000 856 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_AUX_COMPB_ASYNC_N 0x00380000 857 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_AUX_COMPB_ASYNC 0x00370000 858 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_BATMON_VOLT 0x00360000 859 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_BATMON_TEMP 0x00350000 860 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_AUX_TIMER1_EV 0x00340000 861 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_AUX_TIMER0_EV 0x00330000 862 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_AUX_TDC_DONE 0x00320000 863 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_AUX_ADC_DONE 0x00310000 864 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_AUX_COMPB 0x00300000 865 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_AUX_COMPA 0x002F0000 866 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_AUX_SWEV2 0x002E0000 867 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_AUX_SWEV1 0x002D0000 868 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_AUX_SWEV0 0x002C0000 869 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_JTAG 0x002B0000 870 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_RTC_UPD 0x002A0000 871 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_RTC_COMB_DLY 0x00290000 872 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_RTC_CH2_DLY 0x00280000 873 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_RTC_CH1_DLY 0x00270000 874 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_RTC_CH0_DLY 0x00260000 875 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_RTC_CH2 0x00250000 876 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_RTC_CH1 0x00240000 877 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_RTC_CH0 0x00230000 878 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_PAD 0x00200000 879 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_BATMON_COMBINED 0x00090000 880 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_BATMON_TEMP_LL 0x00080000 881 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_BATMON_TEMP_UL 0x00070000 882 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_BATMON_BATT_LL 0x00060000 883 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_BATMON_BATT_UL 0x00050000 884 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_AUX_TIMER2_EV3 0x00040000 885 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_AUX_TIMER2_EV2 0x00030000 886 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_AUX_TIMER2_EV1 0x00020000 887 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_AUX_TIMER2_EV0 0x00010000 888 #define AON_EVENT_EVTOMCUSEL_AON_PROG2_EV_IOEV_AON_PROG2 0x00000000 889 890 // Field: [13:8] AON_PROG1_EV 891 // 892 // Event selector for AON_PROG1 event. 893 // 894 // AON Event Source id# selecting event routed to EVENT as AON_PROG1 event. 895 // ENUMs: 896 // NONE 897 // AUX_COMPB_ASYNC_N 898 // AUX_COMPB_ASYNC 899 // BATMON_VOLT 900 // BATMON_TEMP 901 // AUX_TIMER1_EV 902 // AUX_TIMER0_EV 903 // AUX_TDC_DONE 904 // AUX_ADC_DONE 905 // AUX_COMPB 906 // AUX_COMPA 907 // AUX_SWEV2 908 // AUX_SWEV1 909 // AUX_SWEV0 910 // JTAG 911 // RTC_UPD 912 // RTC_COMB_DLY 913 // RTC_CH2_DLY 914 // RTC_CH1_DLY 915 // RTC_CH0_DLY RTC channel 0 - delayed event 916 // RTC_CH2 RTC channel 2 event 917 // RTC_CH1 RTC channel 1 event 918 // RTC_CH0 RTC channel 0 event 919 // PAD Edge detect on any PAD 920 // BATMON_COMBINED Combined event from BATMON 921 // BATMON_TEMP_LL BATMON event: Temperature level below lower limit 922 // BATMON_TEMP_UL BATMON event: Temperature level above upper limit 923 // BATMON_BATT_LL BATMON event: Battery level below lower limit 924 // BATMON_BATT_UL BATMON event: Battery level above upper limit 925 // AUX_TIMER2_EV3 Event 3 from AUX TImer2 926 // AUX_TIMER2_EV2 Event 2 from AUX TImer2 927 // AUX_TIMER2_EV1 Event 1 from AUX TImer2 928 // AUX_TIMER2_EV0 Event 0 from AUX TImer2 929 // IOEV_AON_PROG1 Edge detect IO event from the DIO(s) which have 930 // enabled contribution to IOEV_AON_PROG1 in 931 // [MCU_IOC:IOCFGx.IOEV_AON_PROG1_EN] 932 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_W 6 933 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_M 0x00003F00 934 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_S 8 935 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_NONE 0x00003F00 936 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_AUX_COMPB_ASYNC_N 0x00003800 937 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_AUX_COMPB_ASYNC 0x00003700 938 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_BATMON_VOLT 0x00003600 939 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_BATMON_TEMP 0x00003500 940 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_AUX_TIMER1_EV 0x00003400 941 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_AUX_TIMER0_EV 0x00003300 942 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_AUX_TDC_DONE 0x00003200 943 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_AUX_ADC_DONE 0x00003100 944 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_AUX_COMPB 0x00003000 945 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_AUX_COMPA 0x00002F00 946 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_AUX_SWEV2 0x00002E00 947 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_AUX_SWEV1 0x00002D00 948 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_AUX_SWEV0 0x00002C00 949 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_JTAG 0x00002B00 950 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_RTC_UPD 0x00002A00 951 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_RTC_COMB_DLY 0x00002900 952 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_RTC_CH2_DLY 0x00002800 953 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_RTC_CH1_DLY 0x00002700 954 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_RTC_CH0_DLY 0x00002600 955 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_RTC_CH2 0x00002500 956 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_RTC_CH1 0x00002400 957 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_RTC_CH0 0x00002300 958 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_PAD 0x00002000 959 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_BATMON_COMBINED 0x00000900 960 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_BATMON_TEMP_LL 0x00000800 961 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_BATMON_TEMP_UL 0x00000700 962 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_BATMON_BATT_LL 0x00000600 963 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_BATMON_BATT_UL 0x00000500 964 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_AUX_TIMER2_EV3 0x00000400 965 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_AUX_TIMER2_EV2 0x00000300 966 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_AUX_TIMER2_EV1 0x00000200 967 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_AUX_TIMER2_EV0 0x00000100 968 #define AON_EVENT_EVTOMCUSEL_AON_PROG1_EV_IOEV_AON_PROG1 0x00000000 969 970 // Field: [5:0] AON_PROG0_EV 971 // 972 // Event selector for AON_PROG0 event. 973 // 974 // AON Event Source id# selecting event routed to EVENT as AON_PROG0 event. 975 // ENUMs: 976 // NONE 977 // AUX_COMPB_ASYNC_N 978 // AUX_COMPB_ASYNC 979 // BATMON_VOLT 980 // BATMON_TEMP 981 // AUX_TIMER1_EV 982 // AUX_TIMER0_EV 983 // AUX_TDC_DONE 984 // AUX_ADC_DONE 985 // AUX_COMPB 986 // AUX_COMPA 987 // AUX_SWEV2 988 // AUX_SWEV1 989 // AUX_SWEV0 990 // JTAG 991 // RTC_UPD 992 // RTC_COMB_DLY 993 // RTC_CH2_DLY 994 // RTC_CH1_DLY 995 // RTC_CH0_DLY 996 // RTC_CH2 997 // RTC_CH1 998 // RTC_CH0 999 // PAD 1000 // BATMON_COMBINED 1001 // BATMON_TEMP_LL 1002 // BATMON_TEMP_UL 1003 // BATMON_BATT_LL 1004 // BATMON_BATT_UL 1005 // AUX_TIMER2_EV3 1006 // AUX_TIMER2_EV2 1007 // AUX_TIMER2_EV1 1008 // AUX_TIMER2_EV0 1009 // IOEV_AON_PROG0 Edge detect IO event from the DIO(s) which have 1010 // enabled contribution to IOEV_AON_PROG0 in 1011 // [MCU_IOC:IOCFGx.IOEV_AON_PROG0_EN] 1012 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_W 6 1013 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_M 0x0000003F 1014 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_S 0 1015 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_NONE 0x0000003F 1016 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_AUX_COMPB_ASYNC_N 0x00000038 1017 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_AUX_COMPB_ASYNC 0x00000037 1018 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_BATMON_VOLT 0x00000036 1019 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_BATMON_TEMP 0x00000035 1020 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_AUX_TIMER1_EV 0x00000034 1021 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_AUX_TIMER0_EV 0x00000033 1022 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_AUX_TDC_DONE 0x00000032 1023 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_AUX_ADC_DONE 0x00000031 1024 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_AUX_COMPB 0x00000030 1025 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_AUX_COMPA 0x0000002F 1026 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_AUX_SWEV2 0x0000002E 1027 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_AUX_SWEV1 0x0000002D 1028 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_AUX_SWEV0 0x0000002C 1029 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_JTAG 0x0000002B 1030 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_RTC_UPD 0x0000002A 1031 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_RTC_COMB_DLY 0x00000029 1032 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_RTC_CH2_DLY 0x00000028 1033 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_RTC_CH1_DLY 0x00000027 1034 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_RTC_CH0_DLY 0x00000026 1035 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_RTC_CH2 0x00000025 1036 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_RTC_CH1 0x00000024 1037 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_RTC_CH0 0x00000023 1038 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_PAD 0x00000020 1039 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_BATMON_COMBINED 0x00000009 1040 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_BATMON_TEMP_LL 0x00000008 1041 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_BATMON_TEMP_UL 0x00000007 1042 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_BATMON_BATT_LL 0x00000006 1043 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_BATMON_BATT_UL 0x00000005 1044 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_AUX_TIMER2_EV3 0x00000004 1045 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_AUX_TIMER2_EV2 0x00000003 1046 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_AUX_TIMER2_EV1 0x00000002 1047 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_AUX_TIMER2_EV0 0x00000001 1048 #define AON_EVENT_EVTOMCUSEL_AON_PROG0_EV_IOEV_AON_PROG0 0x00000000 1049 1050 //***************************************************************************** 1051 // 1052 // Register: AON_EVENT_O_RTCSEL 1053 // 1054 //***************************************************************************** 1055 // Field: [5:0] RTC_CH1_CAPT_EV 1056 // 1057 // AON Event Source id# for RTCSEL event which is fed to AON_RTC. Please refer 1058 // to AON_RTC:CH1CAPT 1059 // ENUMs: 1060 // NONE 1061 // AUX_COMPB_ASYNC_N 1062 // AUX_COMPB_ASYNC 1063 // BATMON_VOLT 1064 // BATMON_TEMP 1065 // AUX_TIMER1_EV 1066 // AUX_TIMER0_EV 1067 // AUX_TDC_DONE 1068 // AUX_ADC_DONE 1069 // AUX_COMPB 1070 // AUX_COMPA 1071 // AUX_SWEV2 1072 // AUX_SWEV1 1073 // AUX_SWEV0 1074 // JTAG 1075 // RTC_UPD 1076 // RTC_COMB_DLY 1077 // RTC_CH2_DLY 1078 // RTC_CH1_DLY 1079 // RTC_CH0_DLY 1080 // RTC_CH2 1081 // RTC_CH1 1082 // RTC_CH0 1083 // PAD 1084 // BATMON_COMBINED 1085 // BATMON_TEMP_LL 1086 // BATMON_TEMP_UL 1087 // BATMON_BATT_LL 1088 // BATMON_BATT_UL 1089 // AUX_TIMER2_EV3 1090 // AUX_TIMER2_EV2 1091 // AUX_TIMER2_EV1 1092 // AUX_TIMER2_EV0 1093 // IOEV_RTC Edge detect IO event from the DIO(s) which have 1094 // enabled contribution to IOEV_RTC in 1095 // [MCU_IOC:IOCFGx.IOEV_RTC_EN] 1096 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_W 6 1097 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_M 0x0000003F 1098 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_S 0 1099 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_NONE 0x0000003F 1100 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_AUX_COMPB_ASYNC_N 0x00000038 1101 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_AUX_COMPB_ASYNC 0x00000037 1102 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_BATMON_VOLT 0x00000036 1103 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_BATMON_TEMP 0x00000035 1104 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_AUX_TIMER1_EV 0x00000034 1105 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_AUX_TIMER0_EV 0x00000033 1106 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_AUX_TDC_DONE 0x00000032 1107 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_AUX_ADC_DONE 0x00000031 1108 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_AUX_COMPB 0x00000030 1109 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_AUX_COMPA 0x0000002F 1110 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_AUX_SWEV2 0x0000002E 1111 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_AUX_SWEV1 0x0000002D 1112 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_AUX_SWEV0 0x0000002C 1113 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_JTAG 0x0000002B 1114 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_RTC_UPD 0x0000002A 1115 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_RTC_COMB_DLY 0x00000029 1116 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_RTC_CH2_DLY 0x00000028 1117 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_RTC_CH1_DLY 0x00000027 1118 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_RTC_CH0_DLY 0x00000026 1119 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_RTC_CH2 0x00000025 1120 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_RTC_CH1 0x00000024 1121 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_RTC_CH0 0x00000023 1122 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_PAD 0x00000020 1123 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_BATMON_COMBINED 0x00000009 1124 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_BATMON_TEMP_LL 0x00000008 1125 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_BATMON_TEMP_UL 0x00000007 1126 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_BATMON_BATT_LL 0x00000006 1127 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_BATMON_BATT_UL 0x00000005 1128 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_AUX_TIMER2_EV3 0x00000004 1129 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_AUX_TIMER2_EV2 0x00000003 1130 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_AUX_TIMER2_EV1 0x00000002 1131 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_AUX_TIMER2_EV0 0x00000001 1132 #define AON_EVENT_RTCSEL_RTC_CH1_CAPT_EV_IOEV_RTC 0x00000000 1133 1134 1135 #endif // __AON_EVENT__ 1136