CC35xxDriverLibrary
hw_core_aon.h
Go to the documentation of this file.
1 /******************************************************************************
2 * Filename: hw_core_aon.h
3 *
4 * Description: Defines and prototypes for the CORE_AON peripheral.
5 *
6 * Copyright (c) 2023, 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 #ifndef __HW_CORE_AON_H__
37 #define __HW_CORE_AON_H__
38 /*-------------------------------------------------------------------------------
39 
40 This section defines the register offsets of the CORE_AON component
41 
42 --------------------------------------------------------------------------------- */
43 
44 //INIT
45 #define CORE_AON_O_INIT 0x00000004U
46 
47 //WUC SKIP
48 #define CORE_AON_O_WUCSKP 0x00000008U
49 
50 //CPU WAIT
51 #define CORE_AON_O_CPUWAIT 0x00000014U
52 
53 //CORE MEDIUM BUSY CONTROL
54 #define CORE_AON_O_CRMBCTL 0x00000018U
55 
56 //CONFIG WAKE UP TYPE
57 #define CORE_AON_O_CFGWUTP 0x0000001CU
58 
59 //CONFIG WICSENSE
60 #define CORE_AON_O_CFGWICSNS 0x00000024U
61 
62 //CONFIG TIMER WAKEUP
63 #define CORE_AON_O_CFGTMRWU 0x0000002CU
64 
65 //CONFIG WATCHDOG TIMER
66 #define CORE_AON_O_CFGWDT 0x00000034U
67 
68 //WAKEUP REQUEST
69 #define CORE_AON_O_WUREQ 0x00000038U
70 
71 //CONFIG SHORT SLEEP
72 #define CORE_AON_O_CFGSHSLP 0x00000040U
73 
74 //FAST CLOCK FROM ARM CMD
75 #define CORE_AON_O_FCLKARMCMD 0x00000054U
76 
77 //SLEEP TIME SLOW
78 #define CORE_AON_O_SLPTIMSL 0x00000058U
79 
80 //TIMER ENABLE
81 #define CORE_AON_O_TMREN 0x0000005CU
82 
83 //COEX ANTENNA CONTROL SELECT OVERRIDE
84 #define CORE_AON_O_CATLSELOV 0x0000006CU
85 
86 //SLEEP TIME FAST
87 #define CORE_AON_O_SLPTIMFAST 0x00000074U
88 
89 //GPIO WAKEUP AND LOGIC IRQ
90 #define CORE_AON_O_IOWUANDIRQ 0x0000009CU
91 
92 //GPIO WAKEUP OR LOGIC IRQ
93 #define CORE_AON_O_IOWUORIRQ 0x000000A0U
94 
95 //GPIO WAKEUP AND LOGIC IRQ 1
96 #define CORE_AON_O_IOWUANDIRQ1 0x000000A4U
97 
98 //GPIO WAKEUP OR LOGIC IRQ 1
99 #define CORE_AON_O_IOWUORIRQ1 0x000000A8U
100 
101 //TIMER WAKEUP REQUEST
102 #define CORE_AON_O_TMRWUREQ 0x000000ACU
103 
104 //WATCHDOG TIMER REQUEST
105 #define CORE_AON_O_WDTREQ 0x000000B0U
106 
107 //FORCE CORE
108 #define CORE_AON_O_FRCCR 0x000000D8U
109 
110 //CORE ICG
111 #define CORE_AON_O_CRICG 0x000000DCU
112 
113 //CORE WUC
114 #define CORE_AON_O_CRWUC 0x000000E0U
115 
116 //NAB HOST IRQ CONFIG
117 #define CORE_AON_O_NABHIRQCFG 0x000000E4U
118 
119 //GPIO TO PAD 0
120 #define CORE_AON_O_IOTP0 0x000000E8U
121 
122 //GPIO TO PAD 1
123 #define CORE_AON_O_IOTP1 0x000000ECU
124 
125 //GPIO OUT ENABLE CONFIG 0
126 #define CORE_AON_O_IOOENCFG0 0x000000F8U
127 
128 //GPIO OUT ENABLE CONFIG 1
129 #define CORE_AON_O_IOOENCFG1 0x000000FCU
130 
131 
132 
133 /*-----------------------------------REGISTER------------------------------------
134  Register name: INIT
135  Offset name: CORE_AON_O_INIT
136  Relative address: 0x4
137  Description: INIT
138  Default Value: 0x00000000
139 
140  Field: DISMMU
141  From..to bits: 0...0
142  DefaultValue: 0x0
143  Access type: read-write
144  Description: DISABLE MMU
145 
146  0 - MMU memories, VLUT and MBLR are initiated when getting out of reset (at power up or when back from sleep)
147  1 - MMU memories, VLUT and MBLR are not initiated when getting out of reset (as they're held in retention)
148 
149 */
150 #define CORE_AON_INIT_DISMMU 0x00000001U
151 #define CORE_AON_INIT_DISMMU_M 0x00000001U
152 #define CORE_AON_INIT_DISMMU_S 0U
153 /*
154 
155  Field: TPDESCRF
156  From..to bits: 4...6
157  DefaultValue: 0x0
158  Access type: read-write
159  Description: TYPE DESCRF
160 
161  0 - Descriptor FIFO memory (mem per bit) is initiated when getting out of reset (at power up or when back from sleep)
162  1 - Descriptor FIFO memory (mem per bit) is not initiated when getting out of reset (as it's held in retention)
163 
164  MEM_INIT_TYPE_DESCRF[0] = disable INIT of link_table
165  MEM_INIT_TYPE_DESCRF[1] = disable INIT of queue_db
166  MEM_INIT_TYPE_DESCRF[2] = disable INIT of seq_num
167 
168 */
169 #define CORE_AON_INIT_TPDESCRF_W 3U
170 #define CORE_AON_INIT_TPDESCRF_M 0x00000070U
171 #define CORE_AON_INIT_TPDESCRF_S 4U
172 
173 
174 /*-----------------------------------REGISTER------------------------------------
175  Register name: WUCSKP
176  Offset name: CORE_AON_O_WUCSKP
177  Relative address: 0x8
178  Description: WUC SKIP
179  Default Value: 0x00000000
180 
181  Field: PRCMVLD
182  From..to bits: 0...0
183  DefaultValue: 0x0
184  Access type: read-write
185  Description: PRCM VLD
186 
187  Enable skip precise duration for PRCM Shared UP if wakup event type is '0':
188  '0' - don't skip
189  '1' - skip
190 
191 */
192 #define CORE_AON_WUCSKP_PRCMVLD 0x00000001U
193 #define CORE_AON_WUCSKP_PRCMVLD_M 0x00000001U
194 #define CORE_AON_WUCSKP_PRCMVLD_S 0U
195 /*
196 
197  Field: PDVLD
198  From..to bits: 1...1
199  DefaultValue: 0x0
200  Access type: read-write
201  Description: POWER DOMAIN VALID
202 
203  Enable skip precise duration for Power Domain if wakup event type is '0':
204  '0' - don't skip
205  '1' - skip
206 
207 */
208 #define CORE_AON_WUCSKP_PDVLD 0x00000002U
209 #define CORE_AON_WUCSKP_PDVLD_M 0x00000002U
210 #define CORE_AON_WUCSKP_PDVLD_S 1U
211 
212 
213 /*-----------------------------------REGISTER------------------------------------
214  Register name: CPUWAIT
215  Offset name: CORE_AON_O_CPUWAIT
216  Relative address: 0x14
217  Description: CPU WAIT
218  Default Value: 0x00000012
219 
220  Field: M3
221  From..to bits: 0...0
222  DefaultValue: 0x0
223  Access type: read-write
224  Description: M3
225 
226  The CPUWAIT allows the boot sequence of the processor M3 to be delayed.
227  This is useful in the case where the Teal processor is used in a SoC,
228  and the program code has to be loaded into SRAM first (e.g. via DMA under the control of another processor).
229 
230  In this case, instead of hold the processor in reset, we can use CPUWAIT de-assertion
231  to defer the start up sequence and allow the system to start after the program code
232  has been successfully loaded into the program SRAM.
233 
234 */
235 #define CORE_AON_CPUWAIT_M3 0x00000001U
236 #define CORE_AON_CPUWAIT_M3_M 0x00000001U
237 #define CORE_AON_CPUWAIT_M3_S 0U
238 /*
239 
240  Field: OVSEL
241  From..to bits: 1...1
242  DefaultValue: 0x1
243  Access type: read-write
244  Description: OVERRIDE SELECTOR
245 
246  override selector for using the MMR of CPU wait or the ELP FSM
247  '1' - use the MMR mem_m3_cpu_wait
248  '0' - use ELP FSM
249 
250 */
251 #define CORE_AON_CPUWAIT_OVSEL 0x00000002U
252 #define CORE_AON_CPUWAIT_OVSEL_M 0x00000002U
253 #define CORE_AON_CPUWAIT_OVSEL_S 1U
254 
255 
256 /*-----------------------------------REGISTER------------------------------------
257  Register name: CRMBCTL
258  Offset name: CORE_AON_O_CRMBCTL
259  Relative address: 0x18
260  Description: CORE MEDIUM BUSY CONTROL
261 
262  Medium busy AON override option towards IOMUX
263  Default Value: 0x00000000
264 
265  Field: OVEN
266  From..to bits: 0...0
267  DefaultValue: 0x0
268  Access type: read-write
269  Description: OVERRIDE ENABLE
270 
271 */
272 #define CORE_AON_CRMBCTL_OVEN 0x00000001U
273 #define CORE_AON_CRMBCTL_OVEN_M 0x00000001U
274 #define CORE_AON_CRMBCTL_OVEN_S 0U
275 /*
276 
277  Field: OVVAL
278  From..to bits: 8...8
279  DefaultValue: 0x0
280  Access type: read-write
281  Description: OVERRIDE VALUE
282 
283 */
284 #define CORE_AON_CRMBCTL_OVVAL 0x00000100U
285 #define CORE_AON_CRMBCTL_OVVAL_M 0x00000100U
286 #define CORE_AON_CRMBCTL_OVVAL_S 8U
287 
288 
289 /*-----------------------------------REGISTER------------------------------------
290  Register name: CFGWUTP
291  Offset name: CORE_AON_O_CFGWUTP
292  Relative address: 0x1C
293  Description: CONFIG WAKE UP TYPE
294  Default Value: 0x00000000
295 
296  Field: VAL
297  From..to bits: 0...24
298  DefaultValue: 0x0
299  Access type: read-write
300  Description: VALUE
301 
302  Set 0 - Slow Wake up (precise WU).
303  Set 1 - Fast Wake up (MX device, assume system is already active when event is triggered).
304 
305  Bit 0 : tmr_wakeup_req
306  Bit 1 : hif_wakeup_int
307  Bit 2 : gpio_wakeup_src[0]
308  Bit 3 : gpio_wakeup_src[1]
309  Bit 4 : evt_mng_m3_irq0
310  Bit 5 : evt_mng_m3_irq1
311  Bit 6 : evt_mng_m3_irq2
312  Bit 7 : evt_mng_m3_irq3
313  Bit 8 : evt_mng_m3_irq4
314  Bit 9 : evt_mng_m3_irq5
315  Bit 10 : evt_mng_m3_irq6
316  Bit 11 : evt_mng_m3_irq7
317  Bit 12 : evt_mng_m3_irq8
318  Bit 13 : evt_mng_m3_irq9
319  Bit 14 : doorbell0_m2_irq
320  Bit 15 : doorbell1_m2_irq
321  Bit 16 : doorbell2_m2_irq
322  Bit 17 : doorbell3_m2_irq
323  Bit 18 : doorbell4_m2_irq
324  Bit 19 : doorbell5_m2_irq
325  Bit 20 : doorbell6_m2_irq
326  Bit 21 : doorbell7_m2_irq
327  Bit 22 : mem_ns_sw_interrupt_to_cm3
328  Bit 23 : mem_sec_sw_interrupt_to_cm3
329  Bit 24 : debugss_core_forceactive
330 
331 */
332 #define CORE_AON_CFGWUTP_VAL_W 25U
333 #define CORE_AON_CFGWUTP_VAL_M 0x01FFFFFFU
334 #define CORE_AON_CFGWUTP_VAL_S 0U
335 
336 
337 /*-----------------------------------REGISTER------------------------------------
338  Register name: CFGWICSNS
339  Offset name: CORE_AON_O_CFGWICSNS
340  Relative address: 0x24
341  Description: CONFIG WICSENSE
342  Default Value: 0x00000001
343 
344  Field: VAL
345  From..to bits: 0...24
346  DefaultValue: 0x1
347  Access type: read-write
348  Description: VALUE
349 
350  Set 1 - Enable wakeup source.
351  Set 0 - Disable wakeup source.
352 
353  Bit 0 : tmr_wakeup_req
354  Bit 1 : hif_wakeup_int
355  Bit 2 : gpio_wakeup_src[0]
356  Bit 3 : gpio_wakeup_src[1]
357  Bit 4 : evt_mng_m3_irq0
358  Bit 5 : evt_mng_m3_irq1
359  Bit 6 : evt_mng_m3_irq2
360  Bit 7 : evt_mng_m3_irq3
361  Bit 8 : evt_mng_m3_irq4
362  Bit 9 : evt_mng_m3_irq5
363  Bit 10 : evt_mng_m3_irq6
364  Bit 11 : evt_mng_m3_irq7
365  Bit 12 : evt_mng_m3_irq8
366  Bit 13 : evt_mng_m3_irq9
367  Bit 14 : doorbell0_m2_irq
368  Bit 15 : doorbell1_m2_irq
369  Bit 16 : doorbell2_m2_irq
370  Bit 17 : doorbell3_m2_irq
371  Bit 18 : doorbell4_m2_irq
372  Bit 19 : doorbell5_m2_irq
373  Bit 20 : doorbell6_m2_irq
374  Bit 21 : doorbell7_m2_irq
375  Bit 22 : mem_ns_sw_interrupt_to_cm3
376  Bit 23 : mem_sec_sw_interrupt_to_cm3
377  Bit 24 : debugss_core_forceactive
378 
379 */
380 #define CORE_AON_CFGWICSNS_VAL_W 25U
381 #define CORE_AON_CFGWICSNS_VAL_M 0x01FFFFFFU
382 #define CORE_AON_CFGWICSNS_VAL_S 0U
383 
384 
385 /*-----------------------------------REGISTER------------------------------------
386  Register name: CFGTMRWU
387  Offset name: CORE_AON_O_CFGTMRWU
388  Relative address: 0x2C
389  Description: CONFIG TIMER WAKEUP
390  Default Value: 0x00000000
391 
392  Field: THR
393  From..to bits: 0...30
394  DefaultValue: 0x0
395  Access type: read-write
396  Description: THRESHOLD
397 
398  Upon reaching this value wakeup event is generated towards the WUC (if not masked in WICSENSE).
399  Resolution slow clock cycles.
400 
401  value must be greater than 1
402 
403 */
404 #define CORE_AON_CFGTMRWU_THR_W 31U
405 #define CORE_AON_CFGTMRWU_THR_M 0x7FFFFFFFU
406 #define CORE_AON_CFGTMRWU_THR_S 0U
407 /*
408 
409  Field: EN
410  From..to bits: 31...31
411  DefaultValue: 0x0
412  Access type: read-write
413  Description: ENABLE
414 
415  Set 1 - Enable BCN threshold IRQ.
416  Set 0 - Otherwise.
417 
418  Timer is kicked upon moving from ACTIVE to POWER DOWN.
419 
420 */
421 #define CORE_AON_CFGTMRWU_EN 0x80000000U
422 #define CORE_AON_CFGTMRWU_EN_M 0x80000000U
423 #define CORE_AON_CFGTMRWU_EN_S 31U
424 
425 
426 /*-----------------------------------REGISTER------------------------------------
427  Register name: CFGWDT
428  Offset name: CORE_AON_O_CFGWDT
429  Relative address: 0x34
430  Description: CONFIG WATCHDOG TIMER
431  Default Value: 0x00000000
432 
433  Field: THR
434  From..to bits: 8...30
435  DefaultValue: 0x0
436  Access type: read-write
437  Description: THRESHOLD
438 
439  Upon reaching this value wakeup event is generated towards the WUC (if not masked in WICSENSE).
440  Resolution slow clock cycles (min val ~8ms).
441 
442  value must be greater than 1
443 
444 */
445 #define CORE_AON_CFGWDT_THR_W 23U
446 #define CORE_AON_CFGWDT_THR_M 0x7FFFFF00U
447 #define CORE_AON_CFGWDT_THR_S 8U
448 /*
449 
450  Field: EN
451  From..to bits: 31...31
452  DefaultValue: 0x0
453  Access type: read-write
454  Description: ENABLE
455 
456  Set 1 - Enable WDT.
457  Set 0 - Disable WDT.
458 
459 */
460 #define CORE_AON_CFGWDT_EN 0x80000000U
461 #define CORE_AON_CFGWDT_EN_M 0x80000000U
462 #define CORE_AON_CFGWDT_EN_S 31U
463 
464 
465 /*-----------------------------------REGISTER------------------------------------
466  Register name: WUREQ
467  Offset name: CORE_AON_O_WUREQ
468  Relative address: 0x38
469  Description: WAKEUP REQUEST
470 
471  Bit 0 : wdt_wakeup_req
472  Default Value: 0x00000000
473 
474  Field: EVTVAL
475  From..to bits: 0...24
476  DefaultValue: 0x0
477  Access type: read-only
478  Description: EVENT VALUE
479 
480  Bit 0 : tmr_wakeup_req
481  Bit 1 : hif_wakeup_int
482  Bit 2 : gpio_wakeup_src[0]
483  Bit 3 : gpio_wakeup_src[1]
484  Bit 4 : evt_mng_m3_irq0
485  Bit 5 : evt_mng_m3_irq1
486  Bit 6 : evt_mng_m3_irq2
487  Bit 7 : evt_mng_m3_irq3
488  Bit 8 : evt_mng_m3_irq4
489  Bit 9 : evt_mng_m3_irq5
490  Bit 10 : evt_mng_m3_irq6
491  Bit 11 : evt_mng_m3_irq7
492  Bit 12 : evt_mng_m3_irq8
493  Bit 13 : evt_mng_m3_irq9
494  Bit 14 : doorbell0_m2_irq
495  Bit 15 : doorbell1_m2_irq
496  Bit 16 : doorbell2_m2_irq
497  Bit 17 : doorbell3_m2_irq
498  Bit 18 : doorbell4_m2_irq
499  Bit 19 : doorbell5_m2_irq
500  Bit 20 : doorbell6_m2_irq
501  Bit 21 : doorbell7_m2_irq
502  Bit 22 : mem_ns_sw_interrupt_to_cm3
503  Bit 23 : mem_sec_sw_interrupt_to_cm3
504  Bit 24 : debugss_core_forceactive
505 
506 */
507 #define CORE_AON_WUREQ_EVTVAL_W 25U
508 #define CORE_AON_WUREQ_EVTVAL_M 0x01FFFFFFU
509 #define CORE_AON_WUREQ_EVTVAL_S 0U
510 
511 
512 /*-----------------------------------REGISTER------------------------------------
513  Register name: CFGSHSLP
514  Offset name: CORE_AON_O_CFGSHSLP
515  Relative address: 0x40
516  Description: CONFIG SHORT SLEEP
517 
518  Hold the device clock request high, to save fref setting time during power up.
519  Default Value: 0x00000000
520 
521  Field: CLKREQ
522  From..to bits: 0...0
523  DefaultValue: 0x0
524  Access type: read-write
525  Description: CLOCK REQUEST
526 
527 */
528 #define CORE_AON_CFGSHSLP_CLKREQ 0x00000001U
529 #define CORE_AON_CFGSHSLP_CLKREQ_M 0x00000001U
530 #define CORE_AON_CFGSHSLP_CLKREQ_S 0U
531 
532 
533 /*-----------------------------------REGISTER------------------------------------
534  Register name: FCLKARMCMD
535  Offset name: CORE_AON_O_FCLKARMCMD
536  Relative address: 0x54
537  Description: FAST CLOCK FROM ARM CMD
538 
539  Latched counter value reflecting the number of fast clocks (clk_core_clk) from rise of SLEEPDEEP indication until ELP WUC start power down sequence.
540  This value should capture the uncertainty of 2-3 slow clocks of synchronization of ARM CMD.
541  Default Value: 0x00000000
542 
543  Field: VAL
544  From..to bits: 0...15
545  DefaultValue: 0x0
546  Access type: read-only
547  Description: VALUE
548 
549 */
550 #define CORE_AON_FCLKARMCMD_VAL_W 16U
551 #define CORE_AON_FCLKARMCMD_VAL_M 0x0000FFFFU
552 #define CORE_AON_FCLKARMCMD_VAL_S 0U
553 
554 
555 /*-----------------------------------REGISTER------------------------------------
556  Register name: SLPTIMSL
557  Offset name: CORE_AON_O_SLPTIMSL
558  Relative address: 0x58
559  Description: SLEEP TIME SLOW
560 
561  Sleep time value from last ELP sleep entry (slow clock synced ARM CMD).
562  Slow Clock - Reflects the number of slow clocks in ELP timer.
563  Default Value: 0x00000000
564 
565  Field: CLK
566  From..to bits: 0...31
567  DefaultValue: 0x0
568  Access type: read-only
569  Description: CLOCK
570 
571  read clear
572 
573 */
574 #define CORE_AON_SLPTIMSL_CLK_W 32U
575 #define CORE_AON_SLPTIMSL_CLK_M 0xFFFFFFFFU
576 #define CORE_AON_SLPTIMSL_CLK_S 0U
577 
578 
579 /*-----------------------------------REGISTER------------------------------------
580  Register name: TMREN
581  Offset name: CORE_AON_O_TMREN
582  Relative address: 0x5C
583  Description: TIMER ENABLE
584 
585  1 - ELP Timer is running.
586  0 - Otherwise.
587  Default Value: 0x00000000
588 
589  Field: VAL
590  From..to bits: 0...0
591  DefaultValue: 0x0
592  Access type: read-only
593  Description: VALUE
594 
595 */
596 #define CORE_AON_TMREN_VAL 0x00000001U
597 #define CORE_AON_TMREN_VAL_M 0x00000001U
598 #define CORE_AON_TMREN_VAL_S 0U
599 /*
600 
601  Field: TMRSWCTL
602  From..to bits: 1...1
603  DefaultValue: 0x0
604  Access type: read-write
605  Description: TIMER SOFTWARE CONTROL
606 
607  '0' - HW CTRL
608  '1' - SW CTRL.
609 
610 */
611 #define CORE_AON_TMREN_TMRSWCTL 0x00000002U
612 #define CORE_AON_TMREN_TMRSWCTL_M 0x00000002U
613 #define CORE_AON_TMREN_TMRSWCTL_S 1U
614 /*
615 
616  Field: TMRSET
617  From..to bits: 2...2
618  DefaultValue: 0x0
619  Access type: read-write
620  Description: TIMER SET
621 
622  starts the timer
623 
624 */
625 #define CORE_AON_TMREN_TMRSET 0x00000004U
626 #define CORE_AON_TMREN_TMRSET_M 0x00000004U
627 #define CORE_AON_TMREN_TMRSET_S 2U
628 /*
629 
630  Field: TMRRST
631  From..to bits: 3...3
632  DefaultValue: 0x0
633  Access type: read-write
634  Description: TIMER RESET
635 
636  setting this bit will stop the timer
637 
638 */
639 #define CORE_AON_TMREN_TMRRST 0x00000008U
640 #define CORE_AON_TMREN_TMRRST_M 0x00000008U
641 #define CORE_AON_TMREN_TMRRST_S 3U
642 /*
643 
644  Field: TMRLD
645  From..to bits: 16...16
646  DefaultValue: 0x0
647  Access type: write-only
648  Description: TIMER LOAD
649 
650  setting this bit will load the value 2 to the timer
651 
652 */
653 #define CORE_AON_TMREN_TMRLD 0x00010000U
654 #define CORE_AON_TMREN_TMRLD_M 0x00010000U
655 #define CORE_AON_TMREN_TMRLD_S 16U
656 
657 
658 /*-----------------------------------REGISTER------------------------------------
659  Register name: CATLSELOV
660  Offset name: CORE_AON_O_CATLSELOV
661  Relative address: 0x6C
662  Description: COEX ANTENNA CONTROL SELECT OVERRIDE
663  Default Value: 0x00000000
664 
665  Field: EN
666  From..to bits: 0...0
667  DefaultValue: 0x0
668  Access type: read-write
669  Description: ENABLE
670 
671 */
672 #define CORE_AON_CATLSELOV_EN 0x00000001U
673 #define CORE_AON_CATLSELOV_EN_M 0x00000001U
674 #define CORE_AON_CATLSELOV_EN_S 0U
675 /*
676 
677  Field: VAL
678  From..to bits: 8...11
679  DefaultValue: 0x0
680  Access type: read-write
681  Description: VALUE
682 
683 */
684 #define CORE_AON_CATLSELOV_VAL_W 4U
685 #define CORE_AON_CATLSELOV_VAL_M 0x00000F00U
686 #define CORE_AON_CATLSELOV_VAL_S 8U
687 
688 
689 /*-----------------------------------REGISTER------------------------------------
690  Register name: SLPTIMFAST
691  Offset name: CORE_AON_O_SLPTIMFAST
692  Relative address: 0x74
693  Description: SLEEP TIME FAST
694 
695  Sleep time value from last ELP sleep entry (slow clock synced ARM CMD).
696  Fast Clock - Reflects the number of fast clocks from last Slow clock rise until OCP Read.
697  Note, fast counter value is latched upon OCP Read of ELP_SLEEP_TIME_SLOW.
698  Counts up t0 51 microsecond.
699  Default Value: 0x00000000
700 
701  Field: CLK
702  From..to bits: 0...10
703  DefaultValue: 0x0
704  Access type: read-only
705  Description: CLOCK
706 
707 */
708 #define CORE_AON_SLPTIMFAST_CLK_W 11U
709 #define CORE_AON_SLPTIMFAST_CLK_M 0x000007FFU
710 #define CORE_AON_SLPTIMFAST_CLK_S 0U
711 
712 
713 /*-----------------------------------REGISTER------------------------------------
714  Register name: IOWUANDIRQ
715  Offset name: CORE_AON_O_IOWUANDIRQ
716  Relative address: 0x9C
717  Description: GPIO WAKEUP AND LOGIC IRQ
718  Default Value: 0x00000000
719 
720  Field: 0T31BM
721  From..to bits: 0...31
722  DefaultValue: 0x0
723  Access type: read-write
724  Description: 0 TO 31 BITMASK
725 
726  select 0-31 GPIOs as wakeup source.
727 
728 */
729 #define CORE_AON_IOWUANDIRQ_0T31BM_W 32U
730 #define CORE_AON_IOWUANDIRQ_0T31BM_M 0xFFFFFFFFU
731 #define CORE_AON_IOWUANDIRQ_0T31BM_S 0U
732 
733 
734 /*-----------------------------------REGISTER------------------------------------
735  Register name: IOWUORIRQ
736  Offset name: CORE_AON_O_IOWUORIRQ
737  Relative address: 0xA0
738  Description: GPIO WAKEUP OR LOGIC IRQ
739  Default Value: 0x00000000
740 
741  Field: 0T31BM
742  From..to bits: 0...31
743  DefaultValue: 0x0
744  Access type: read-write
745  Description: 0 TO 31 BITMASK
746 
747  select 0-31 GPIOs as wakeup source.
748 
749 */
750 #define CORE_AON_IOWUORIRQ_0T31BM_W 32U
751 #define CORE_AON_IOWUORIRQ_0T31BM_M 0xFFFFFFFFU
752 #define CORE_AON_IOWUORIRQ_0T31BM_S 0U
753 
754 
755 /*-----------------------------------REGISTER------------------------------------
756  Register name: IOWUANDIRQ1
757  Offset name: CORE_AON_O_IOWUANDIRQ1
758  Relative address: 0xA4
759  Description: GPIO WAKEUP AND LOGIC IRQ 1
760  Default Value: 0x00000000
761 
762  Field: 32T44BM
763  From..to bits: 0...12
764  DefaultValue: 0x0
765  Access type: read-write
766  Description: 32 TO 44 BITMASK
767 
768  select 32-44 GPIOs as wakeup source.
769 
770 */
771 #define CORE_AON_IOWUANDIRQ1_32T44BM_W 13U
772 #define CORE_AON_IOWUANDIRQ1_32T44BM_M 0x00001FFFU
773 #define CORE_AON_IOWUANDIRQ1_32T44BM_S 0U
774 
775 
776 /*-----------------------------------REGISTER------------------------------------
777  Register name: IOWUORIRQ1
778  Offset name: CORE_AON_O_IOWUORIRQ1
779  Relative address: 0xA8
780  Description: GPIO WAKEUP OR LOGIC IRQ 1
781  Default Value: 0x00000000
782 
783  Field: 32T44BM
784  From..to bits: 0...12
785  DefaultValue: 0x0
786  Access type: read-write
787  Description: 32 TO 44 BITMASK
788 
789  select 32-44 GPIOs as wakeup source.
790 
791 */
792 #define CORE_AON_IOWUORIRQ1_32T44BM_W 13U
793 #define CORE_AON_IOWUORIRQ1_32T44BM_M 0x00001FFFU
794 #define CORE_AON_IOWUORIRQ1_32T44BM_S 0U
795 
796 
797 /*-----------------------------------REGISTER------------------------------------
798  Register name: TMRWUREQ
799  Offset name: CORE_AON_O_TMRWUREQ
800  Relative address: 0xAC
801  Description: TIMER WAKEUP REQUEST
802  Default Value: 0x00000000
803 
804  Field: CLR
805  From..to bits: 0...0
806  DefaultValue: 0x0
807  Access type: write-only
808  Description: CLEAR
809 
810  write clear
811 
812 */
813 #define CORE_AON_TMRWUREQ_CLR 0x00000001U
814 #define CORE_AON_TMRWUREQ_CLR_M 0x00000001U
815 #define CORE_AON_TMRWUREQ_CLR_S 0U
816 
817 
818 /*-----------------------------------REGISTER------------------------------------
819  Register name: WDTREQ
820  Offset name: CORE_AON_O_WDTREQ
821  Relative address: 0xB0
822  Description: WATCHDOG TIMER REQUEST
823  Default Value: 0x00000000
824 
825  Field: CLR
826  From..to bits: 0...0
827  DefaultValue: 0x0
828  Access type: write-only
829  Description: CLEAR
830 
831  write clear
832 
833 */
834 #define CORE_AON_WDTREQ_CLR 0x00000001U
835 #define CORE_AON_WDTREQ_CLR_M 0x00000001U
836 #define CORE_AON_WDTREQ_CLR_S 0U
837 
838 
839 /*-----------------------------------REGISTER------------------------------------
840  Register name: FRCCR
841  Offset name: CORE_AON_O_FRCCR
842  Relative address: 0xD8
843  Description: FORCE CORE
844  Default Value: 0x00000000
845 
846  Field: ON
847  From..to bits: 0...0
848  DefaultValue: 0x0
849  Access type: read-write
850  Description: ON
851 
852  host to write here '1' to keep the core awake
853 
854 */
855 #define CORE_AON_FRCCR_ON 0x00000001U
856 #define CORE_AON_FRCCR_ON_M 0x00000001U
857 #define CORE_AON_FRCCR_ON_S 0U
858 
859 
860 /*-----------------------------------REGISTER------------------------------------
861  Register name: CRICG
862  Offset name: CORE_AON_O_CRICG
863  Relative address: 0xDC
864  Description: CORE ICG
865  Default Value: 0x00000000
866 
867  Field: CLRTHR
868  From..to bits: 0...2
869  DefaultValue: 0x0
870  Access type: read-write
871  Description: CLEAR THRESHOLD
872 
873  Delay Counter value to gate CORE clk-
874  The time we will wait from the moment M3 CLK stopped
875 
876 */
877 #define CORE_AON_CRICG_CLRTHR_W 3U
878 #define CORE_AON_CRICG_CLRTHR_M 0x00000007U
879 #define CORE_AON_CRICG_CLRTHR_S 0U
880 /*
881 
882  Field: SETTHR
883  From..to bits: 8...10
884  DefaultValue: 0x0
885  Access type: read-write
886  Description: SET THRESHOLD
887 
888  Delay Counter value to EN CORE clk-
889  The time we will wait from the moment M3 CLK Enabled
890 
891 */
892 #define CORE_AON_CRICG_SETTHR_W 3U
893 #define CORE_AON_CRICG_SETTHR_M 0x00000700U
894 #define CORE_AON_CRICG_SETTHR_S 8U
895 /*
896 
897  Field: OVEN
898  From..to bits: 11...11
899  DefaultValue: 0x0
900  Access type: read-write
901  Description: OVERRIDE ENABLE
902 
903  use Override value for core ICG-
904  '0' - don't use override
905  '1' - use override
906 
907 */
908 #define CORE_AON_CRICG_OVEN 0x00000800U
909 #define CORE_AON_CRICG_OVEN_M 0x00000800U
910 #define CORE_AON_CRICG_OVEN_S 11U
911 /*
912 
913  Field: OVVAL
914  From..to bits: 12...12
915  DefaultValue: 0x0
916  Access type: read-write
917  Description: OVERRIDE VALUE
918 
919  once override en is '1', the ICG will work according to the below-
920  '0' - CORE ICG disable
921  '1' - CORE ICG enable
922 
923 */
924 #define CORE_AON_CRICG_OVVAL 0x00001000U
925 #define CORE_AON_CRICG_OVVAL_M 0x00001000U
926 #define CORE_AON_CRICG_OVVAL_S 12U
927 
928 
929 /*-----------------------------------REGISTER------------------------------------
930  Register name: CRWUC
931  Offset name: CORE_AON_O_CRWUC
932  Relative address: 0xE0
933  Description: CORE WUC
934  Default Value: 0x00000004
935 
936  Field: STA
937  From..to bits: 0...2
938  DefaultValue: 0x4
939  Access type: read-only
940  Description: STATE
941 
942  3'b000 - PD_PWR_DN
943  3'b001 - SHARED_UP
944  3'b010 - PD_PWR_UP
945  3'b011 - ACTIVE
946  3'b100 - DEEPSLEEP
947 
948 */
949 #define CORE_AON_CRWUC_STA_W 3U
950 #define CORE_AON_CRWUC_STA_M 0x00000007U
951 #define CORE_AON_CRWUC_STA_S 0U
952 
953 
954 /*-----------------------------------REGISTER------------------------------------
955  Register name: NABHIRQCFG
956  Offset name: CORE_AON_O_NABHIRQCFG
957  Relative address: 0xE4
958  Description: NAB HOST IRQ CONFIG
959  Default Value: 0x00000000
960 
961  Field: POL
962  From..to bits: 0...0
963  DefaultValue: 0x0
964  Access type: read-write
965  Description: POLARITY
966 
967  "1" for negative polarity
968  "0" for positive polarity
969  (GuyS: in order to preserve this at sleep (retention) - ISO latch needs to be implemented. Alternatively, move this polarity cfg bit to upper H/W layer above Nab)
970 
971 */
972 #define CORE_AON_NABHIRQCFG_POL 0x00000001U
973 #define CORE_AON_NABHIRQCFG_POL_M 0x00000001U
974 #define CORE_AON_NABHIRQCFG_POL_S 0U
975 
976 
977 /*-----------------------------------REGISTER------------------------------------
978  Register name: IOTP0
979  Offset name: CORE_AON_O_IOTP0
980  Relative address: 0xE8
981  Description: GPIO TO PAD 0
982  Default Value: 0x00000000
983 
984  Field: VAL
985  From..to bits: 0...31
986  DefaultValue: 0x0
987  Access type: read-write
988  Description: VALUE
989 
990  SW value to be reflected on GPIO to pad.
991 
992 */
993 #define CORE_AON_IOTP0_VAL_W 32U
994 #define CORE_AON_IOTP0_VAL_M 0xFFFFFFFFU
995 #define CORE_AON_IOTP0_VAL_S 0U
996 
997 
998 /*-----------------------------------REGISTER------------------------------------
999  Register name: IOTP1
1000  Offset name: CORE_AON_O_IOTP1
1001  Relative address: 0xEC
1002  Description: GPIO TO PAD 1
1003  Default Value: 0x00000000
1004 
1005  Field: VAL
1006  From..to bits: 0...12
1007  DefaultValue: 0x0
1008  Access type: read-write
1009  Description: VALUE
1010 
1011  SW value to be reflected on GPIO to pad.
1012 
1013 */
1014 #define CORE_AON_IOTP1_VAL_W 13U
1015 #define CORE_AON_IOTP1_VAL_M 0x00001FFFU
1016 #define CORE_AON_IOTP1_VAL_S 0U
1017 /*
1018 
1019  Field: SRC
1020  From..to bits: 24...31
1021  DefaultValue: 0x0
1022  Access type: read-write
1023  Description: SOURCE
1024 
1025  Set 1 - Used HW source.
1026  Set 0 - Used SW source.
1027 
1028  bit[0] - GPIO3
1029  bit[1] - GPIO4
1030  bit[2] - GPIO5
1031  bit[3] - GPIO6
1032  bit[4] - GPIO26
1033  bit[5] - GPIO27
1034  bit[6] - GPIO28
1035  bit[7] - GPIO29
1036 
1037 */
1038 #define CORE_AON_IOTP1_SRC_W 8U
1039 #define CORE_AON_IOTP1_SRC_M 0xFF000000U
1040 #define CORE_AON_IOTP1_SRC_S 24U
1041 
1042 
1043 /*-----------------------------------REGISTER------------------------------------
1044  Register name: IOOENCFG0
1045  Offset name: CORE_AON_O_IOOENCFG0
1046  Relative address: 0xF8
1047  Description: GPIO OUT ENABLE CONFIG 0
1048  Default Value: 0x00000000
1049 
1050  Field: VAL
1051  From..to bits: 0...31
1052  DefaultValue: 0x0
1053  Access type: read-write
1054  Description: VALUE
1055 
1056  Set 0 - Output.
1057  Set 1 - Input.
1058 
1059 */
1060 #define CORE_AON_IOOENCFG0_VAL_W 32U
1061 #define CORE_AON_IOOENCFG0_VAL_M 0xFFFFFFFFU
1062 #define CORE_AON_IOOENCFG0_VAL_S 0U
1063 
1064 
1065 /*-----------------------------------REGISTER------------------------------------
1066  Register name: IOOENCFG1
1067  Offset name: CORE_AON_O_IOOENCFG1
1068  Relative address: 0xFC
1069  Description: GPIO OUT ENABLE CONFIG 1
1070  Default Value: 0x00000000
1071 
1072  Field: VAL
1073  From..to bits: 0...12
1074  DefaultValue: 0x0
1075  Access type: read-write
1076  Description: VALUE
1077 
1078  Set 0 - Output.
1079  Set 1 - Input.
1080 
1081 */
1082 #define CORE_AON_IOOENCFG1_VAL_W 13U
1083 #define CORE_AON_IOOENCFG1_VAL_M 0x00001FFFU
1084 #define CORE_AON_IOOENCFG1_VAL_S 0U
1085 
1086 #endif /* __HW_CORE_AON_H__*/