25#if defined ( __ICCARM__ )
26 #pragma system_include
27#elif defined (__clang__)
28 #pragma clang system_header
29#elif defined ( __GNUC__ )
30 #pragma GCC diagnostic ignored "-Wpedantic"
33#ifndef __CORE_CM85_H_GENERIC
34#define __CORE_CM85_H_GENERIC
69#define __CORTEX_M (85U)
71#if defined ( __CC_ARM )
72 #error Legacy Arm Compiler does not support Armv8.1-M target architecture.
73#elif defined (__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
75 #if defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)
78 #error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
85 #if defined(__ARM_FEATURE_DSP)
86 #if defined(__DSP_PRESENT) && (__DSP_PRESENT == 1U)
89 #error "Compiler generates DSP (SIMD) instructions for a devices without DSP extensions (check __DSP_PRESENT)"
96#elif defined ( __GNUC__ )
97 #if defined (__VFP_FP__) && !defined(__SOFTFP__)
98 #if defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)
101 #error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
102 #define __FPU_USED 0U
105 #define __FPU_USED 0U
108 #if defined(__ARM_FEATURE_DSP)
109 #if defined(__DSP_PRESENT) && (__DSP_PRESENT == 1U)
110 #define __DSP_USED 1U
112 #error "Compiler generates DSP (SIMD) instructions for a devices without DSP extensions (check __DSP_PRESENT)"
113 #define __DSP_USED 0U
116 #define __DSP_USED 0U
119#elif defined ( __ICCARM__ )
120 #if defined __ARMVFP__
121 #if defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)
122 #define __FPU_USED 1U
124 #error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
125 #define __FPU_USED 0U
128 #define __FPU_USED 0U
131 #if defined(__ARM_FEATURE_DSP)
132 #if defined(__DSP_PRESENT) && (__DSP_PRESENT == 1U)
133 #define __DSP_USED 1U
135 #error "Compiler generates DSP (SIMD) instructions for a devices without DSP extensions (check __DSP_PRESENT)"
136 #define __DSP_USED 0U
139 #define __DSP_USED 0U
142#elif defined ( __TI_ARM__ )
143 #if defined __TI_VFP_SUPPORT__
144 #if defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)
145 #define __FPU_USED 1U
147 #error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
148 #define __FPU_USED 0U
151 #define __FPU_USED 0U
154#elif defined ( __TASKING__ )
155 #if defined __FPU_VFP__
156 #if defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)
157 #define __FPU_USED 1U
159 #error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
160 #define __FPU_USED 0U
163 #define __FPU_USED 0U
166#elif defined ( __CSMC__ )
167 #if ( __CSMC__ & 0x400U)
168 #if defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)
169 #define __FPU_USED 1U
171 #error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
172 #define __FPU_USED 0U
175 #define __FPU_USED 0U
189#ifndef __CMSIS_GENERIC
191#ifndef __CORE_CM85_H_DEPENDANT
192#define __CORE_CM85_H_DEPENDANT
199#if defined __CHECK_DEVICE_DEFINES
201 #define __CM85_REV 0x0001U
202 #warning "__CM85_REV not defined in device header file; using default!"
205 #ifndef __FPU_PRESENT
206 #define __FPU_PRESENT 0U
207 #warning "__FPU_PRESENT not defined in device header file; using default!"
210 #if __FPU_PRESENT != 0U
213 #warning "__FPU_DP not defined in device header file; using default!"
217 #ifndef __MPU_PRESENT
218 #define __MPU_PRESENT 0U
219 #warning "__MPU_PRESENT not defined in device header file; using default!"
222 #ifndef __ICACHE_PRESENT
223 #define __ICACHE_PRESENT 0U
224 #warning "__ICACHE_PRESENT not defined in device header file; using default!"
227 #ifndef __DCACHE_PRESENT
228 #define __DCACHE_PRESENT 0U
229 #warning "__DCACHE_PRESENT not defined in device header file; using default!"
232 #ifndef __VTOR_PRESENT
233 #define __VTOR_PRESENT 1U
234 #warning "__VTOR_PRESENT not defined in device header file; using default!"
237 #ifndef __PMU_PRESENT
238 #define __PMU_PRESENT 0U
239 #warning "__PMU_PRESENT not defined in device header file; using default!"
242 #if __PMU_PRESENT != 0U
243 #ifndef __PMU_NUM_EVENTCNT
244 #define __PMU_NUM_EVENTCNT 8U
245 #warning "__PMU_NUM_EVENTCNT not defined in device header file; using default!"
246 #elif (__PMU_NUM_EVENTCNT > 8 || __PMU_NUM_EVENTCNT < 2)
247 #error "__PMU_NUM_EVENTCNT is out of range in device header file!" */
251 #ifndef __SAUREGION_PRESENT
252 #define __SAUREGION_PRESENT 0U
253 #warning "__SAUREGION_PRESENT not defined in device header file; using default!"
256 #ifndef __DSP_PRESENT
257 #define __DSP_PRESENT 0U
258 #warning "__DSP_PRESENT not defined in device header file; using default!"
261 #ifndef __NVIC_PRIO_BITS
262 #define __NVIC_PRIO_BITS 3U
263 #warning "__NVIC_PRIO_BITS not defined in device header file; using default!"
266 #ifndef __Vendor_SysTickConfig
267 #define __Vendor_SysTickConfig 0U
268 #warning "__Vendor_SysTickConfig not defined in device header file; using default!"
283 #define __I volatile const
289#define __IM volatile const
291#define __IOM volatile
343#define APSR_N_Pos 31U
344#define APSR_N_Msk (1UL << APSR_N_Pos)
346#define APSR_Z_Pos 30U
347#define APSR_Z_Msk (1UL << APSR_Z_Pos)
349#define APSR_C_Pos 29U
350#define APSR_C_Msk (1UL << APSR_C_Pos)
352#define APSR_V_Pos 28U
353#define APSR_V_Msk (1UL << APSR_V_Pos)
355#define APSR_Q_Pos 27U
356#define APSR_Q_Msk (1UL << APSR_Q_Pos)
358#define APSR_GE_Pos 16U
359#define APSR_GE_Msk (0xFUL << APSR_GE_Pos)
376#define IPSR_ISR_Pos 0U
377#define IPSR_ISR_Msk (0x1FFUL )
405#define xPSR_N_Pos 31U
406#define xPSR_N_Msk (1UL << xPSR_N_Pos)
408#define xPSR_Z_Pos 30U
409#define xPSR_Z_Msk (1UL << xPSR_Z_Pos)
411#define xPSR_C_Pos 29U
412#define xPSR_C_Msk (1UL << xPSR_C_Pos)
414#define xPSR_V_Pos 28U
415#define xPSR_V_Msk (1UL << xPSR_V_Pos)
417#define xPSR_Q_Pos 27U
418#define xPSR_Q_Msk (1UL << xPSR_Q_Pos)
420#define xPSR_IT_Pos 25U
421#define xPSR_IT_Msk (3UL << xPSR_IT_Pos)
423#define xPSR_T_Pos 24U
424#define xPSR_T_Msk (1UL << xPSR_T_Pos)
426#define xPSR_B_Pos 21U
427#define xPSR_B_Msk (1UL << xPSR_B_Pos)
429#define xPSR_GE_Pos 16U
430#define xPSR_GE_Msk (0xFUL << xPSR_GE_Pos)
432#define xPSR_ISR_Pos 0U
433#define xPSR_ISR_Msk (0x1FFUL )
457#define CONTROL_UPAC_EN_Pos 7U
458#define CONTROL_UPAC_EN_Msk (1UL << CONTROL_UPAC_EN_Pos)
460#define CONTROL_PAC_EN_Pos 6U
461#define CONTROL_PAC_EN_Msk (1UL << CONTROL_PAC_EN_Pos)
463#define CONTROL_UBTI_EN_Pos 5U
464#define CONTROL_UBTI_EN_Msk (1UL << CONTROL_UBTI_EN_Pos)
466#define CONTROL_BTI_EN_Pos 4U
467#define CONTROL_BTI_EN_Msk (1UL << CONTROL_BTI_EN_Pos)
469#define CONTROL_SFPA_Pos 3U
470#define CONTROL_SFPA_Msk (1UL << CONTROL_SFPA_Pos)
472#define CONTROL_FPCA_Pos 2U
473#define CONTROL_FPCA_Msk (1UL << CONTROL_FPCA_Pos)
475#define CONTROL_SPSEL_Pos 1U
476#define CONTROL_SPSEL_Msk (1UL << CONTROL_SPSEL_Pos)
478#define CONTROL_nPRIV_Pos 0U
479#define CONTROL_nPRIV_Msk (1UL )
496 __IOM uint32_t ISER[16U];
497 uint32_t RESERVED0[16U];
498 __IOM uint32_t ICER[16U];
499 uint32_t RSERVED1[16U];
500 __IOM uint32_t ISPR[16U];
501 uint32_t RESERVED2[16U];
502 __IOM uint32_t ICPR[16U];
503 uint32_t RESERVED3[16U];
504 __IOM uint32_t IABR[16U];
505 uint32_t RESERVED4[16U];
506 __IOM uint32_t ITNS[16U];
507 uint32_t RESERVED5[16U];
508 __IOM uint8_t IPR[496U];
509 uint32_t RESERVED6[580U];
514#define NVIC_STIR_INTID_Pos 0U
515#define NVIC_STIR_INTID_Msk (0x1FFUL )
535 __IOM uint32_t AIRCR;
538 __IOM uint8_t SHPR[12U];
539 __IOM uint32_t SHCSR;
543 __IOM uint32_t MMFAR;
546 __IM uint32_t ID_PFR[2U];
547 __IM uint32_t ID_DFR;
548 __IM uint32_t ID_AFR;
549 __IM uint32_t ID_MMFR[4U];
550 __IM uint32_t ID_ISAR[6U];
553 __IM uint32_t CCSIDR;
554 __IOM uint32_t CSSELR;
555 __IOM uint32_t CPACR;
556 __IOM uint32_t NSACR;
557 uint32_t RESERVED7[21U];
560 uint32_t RESERVED3[69U];
563 uint32_t RESERVED4[14U];
567 uint32_t RESERVED5[1U];
568 __OM uint32_t ICIALLU;
569 uint32_t RESERVED6[1U];
570 __OM uint32_t ICIMVAU;
571 __OM uint32_t DCIMVAC;
573 __OM uint32_t DCCMVAU;
574 __OM uint32_t DCCMVAC;
576 __OM uint32_t DCCIMVAC;
577 __OM uint32_t DCCISW;
578 __OM uint32_t BPIALL;
582#define SCB_CPUID_IMPLEMENTER_Pos 24U
583#define SCB_CPUID_IMPLEMENTER_Msk (0xFFUL << SCB_CPUID_IMPLEMENTER_Pos)
585#define SCB_CPUID_VARIANT_Pos 20U
586#define SCB_CPUID_VARIANT_Msk (0xFUL << SCB_CPUID_VARIANT_Pos)
588#define SCB_CPUID_ARCHITECTURE_Pos 16U
589#define SCB_CPUID_ARCHITECTURE_Msk (0xFUL << SCB_CPUID_ARCHITECTURE_Pos)
591#define SCB_CPUID_PARTNO_Pos 4U
592#define SCB_CPUID_PARTNO_Msk (0xFFFUL << SCB_CPUID_PARTNO_Pos)
594#define SCB_CPUID_REVISION_Pos 0U
595#define SCB_CPUID_REVISION_Msk (0xFUL )
598#define SCB_ICSR_PENDNMISET_Pos 31U
599#define SCB_ICSR_PENDNMISET_Msk (1UL << SCB_ICSR_PENDNMISET_Pos)
601#define SCB_ICSR_NMIPENDSET_Pos SCB_ICSR_PENDNMISET_Pos
602#define SCB_ICSR_NMIPENDSET_Msk SCB_ICSR_PENDNMISET_Msk
604#define SCB_ICSR_PENDNMICLR_Pos 30U
605#define SCB_ICSR_PENDNMICLR_Msk (1UL << SCB_ICSR_PENDNMICLR_Pos)
607#define SCB_ICSR_PENDSVSET_Pos 28U
608#define SCB_ICSR_PENDSVSET_Msk (1UL << SCB_ICSR_PENDSVSET_Pos)
610#define SCB_ICSR_PENDSVCLR_Pos 27U
611#define SCB_ICSR_PENDSVCLR_Msk (1UL << SCB_ICSR_PENDSVCLR_Pos)
613#define SCB_ICSR_PENDSTSET_Pos 26U
614#define SCB_ICSR_PENDSTSET_Msk (1UL << SCB_ICSR_PENDSTSET_Pos)
616#define SCB_ICSR_PENDSTCLR_Pos 25U
617#define SCB_ICSR_PENDSTCLR_Msk (1UL << SCB_ICSR_PENDSTCLR_Pos)
619#define SCB_ICSR_STTNS_Pos 24U
620#define SCB_ICSR_STTNS_Msk (1UL << SCB_ICSR_STTNS_Pos)
622#define SCB_ICSR_ISRPREEMPT_Pos 23U
623#define SCB_ICSR_ISRPREEMPT_Msk (1UL << SCB_ICSR_ISRPREEMPT_Pos)
625#define SCB_ICSR_ISRPENDING_Pos 22U
626#define SCB_ICSR_ISRPENDING_Msk (1UL << SCB_ICSR_ISRPENDING_Pos)
628#define SCB_ICSR_VECTPENDING_Pos 12U
629#define SCB_ICSR_VECTPENDING_Msk (0x1FFUL << SCB_ICSR_VECTPENDING_Pos)
631#define SCB_ICSR_RETTOBASE_Pos 11U
632#define SCB_ICSR_RETTOBASE_Msk (1UL << SCB_ICSR_RETTOBASE_Pos)
634#define SCB_ICSR_VECTACTIVE_Pos 0U
635#define SCB_ICSR_VECTACTIVE_Msk (0x1FFUL )
638#define SCB_VTOR_TBLOFF_Pos 7U
639#define SCB_VTOR_TBLOFF_Msk (0x1FFFFFFUL << SCB_VTOR_TBLOFF_Pos)
642#define SCB_AIRCR_VECTKEY_Pos 16U
643#define SCB_AIRCR_VECTKEY_Msk (0xFFFFUL << SCB_AIRCR_VECTKEY_Pos)
645#define SCB_AIRCR_VECTKEYSTAT_Pos 16U
646#define SCB_AIRCR_VECTKEYSTAT_Msk (0xFFFFUL << SCB_AIRCR_VECTKEYSTAT_Pos)
648#define SCB_AIRCR_ENDIANESS_Pos 15U
649#define SCB_AIRCR_ENDIANESS_Msk (1UL << SCB_AIRCR_ENDIANESS_Pos)
651#define SCB_AIRCR_PRIS_Pos 14U
652#define SCB_AIRCR_PRIS_Msk (1UL << SCB_AIRCR_PRIS_Pos)
654#define SCB_AIRCR_BFHFNMINS_Pos 13U
655#define SCB_AIRCR_BFHFNMINS_Msk (1UL << SCB_AIRCR_BFHFNMINS_Pos)
657#define SCB_AIRCR_PRIGROUP_Pos 8U
658#define SCB_AIRCR_PRIGROUP_Msk (7UL << SCB_AIRCR_PRIGROUP_Pos)
660#define SCB_AIRCR_IESB_Pos 5U
661#define SCB_AIRCR_IESB_Msk (1UL << SCB_AIRCR_IESB_Pos)
663#define SCB_AIRCR_DIT_Pos 4U
664#define SCB_AIRCR_DIT_Msk (1UL << SCB_AIRCR_DIT_Pos)
666#define SCB_AIRCR_SYSRESETREQS_Pos 3U
667#define SCB_AIRCR_SYSRESETREQS_Msk (1UL << SCB_AIRCR_SYSRESETREQS_Pos)
669#define SCB_AIRCR_SYSRESETREQ_Pos 2U
670#define SCB_AIRCR_SYSRESETREQ_Msk (1UL << SCB_AIRCR_SYSRESETREQ_Pos)
672#define SCB_AIRCR_VECTCLRACTIVE_Pos 1U
673#define SCB_AIRCR_VECTCLRACTIVE_Msk (1UL << SCB_AIRCR_VECTCLRACTIVE_Pos)
676#define SCB_SCR_SEVONPEND_Pos 4U
677#define SCB_SCR_SEVONPEND_Msk (1UL << SCB_SCR_SEVONPEND_Pos)
679#define SCB_SCR_SLEEPDEEPS_Pos 3U
680#define SCB_SCR_SLEEPDEEPS_Msk (1UL << SCB_SCR_SLEEPDEEPS_Pos)
682#define SCB_SCR_SLEEPDEEP_Pos 2U
683#define SCB_SCR_SLEEPDEEP_Msk (1UL << SCB_SCR_SLEEPDEEP_Pos)
685#define SCB_SCR_SLEEPONEXIT_Pos 1U
686#define SCB_SCR_SLEEPONEXIT_Msk (1UL << SCB_SCR_SLEEPONEXIT_Pos)
689#define SCB_CCR_TRD_Pos 20U
690#define SCB_CCR_TRD_Msk (1UL << SCB_CCR_TRD_Pos)
692#define SCB_CCR_LOB_Pos 19U
693#define SCB_CCR_LOB_Msk (1UL << SCB_CCR_LOB_Pos)
695#define SCB_CCR_BP_Pos 18U
696#define SCB_CCR_BP_Msk (1UL << SCB_CCR_BP_Pos)
698#define SCB_CCR_IC_Pos 17U
699#define SCB_CCR_IC_Msk (1UL << SCB_CCR_IC_Pos)
701#define SCB_CCR_DC_Pos 16U
702#define SCB_CCR_DC_Msk (1UL << SCB_CCR_DC_Pos)
704#define SCB_CCR_STKOFHFNMIGN_Pos 10U
705#define SCB_CCR_STKOFHFNMIGN_Msk (1UL << SCB_CCR_STKOFHFNMIGN_Pos)
707#define SCB_CCR_BFHFNMIGN_Pos 8U
708#define SCB_CCR_BFHFNMIGN_Msk (1UL << SCB_CCR_BFHFNMIGN_Pos)
710#define SCB_CCR_DIV_0_TRP_Pos 4U
711#define SCB_CCR_DIV_0_TRP_Msk (1UL << SCB_CCR_DIV_0_TRP_Pos)
713#define SCB_CCR_UNALIGN_TRP_Pos 3U
714#define SCB_CCR_UNALIGN_TRP_Msk (1UL << SCB_CCR_UNALIGN_TRP_Pos)
716#define SCB_CCR_USERSETMPEND_Pos 1U
717#define SCB_CCR_USERSETMPEND_Msk (1UL << SCB_CCR_USERSETMPEND_Pos)
720#define SCB_SHCSR_HARDFAULTPENDED_Pos 21U
721#define SCB_SHCSR_HARDFAULTPENDED_Msk (1UL << SCB_SHCSR_HARDFAULTPENDED_Pos)
723#define SCB_SHCSR_SECUREFAULTPENDED_Pos 20U
724#define SCB_SHCSR_SECUREFAULTPENDED_Msk (1UL << SCB_SHCSR_SECUREFAULTPENDED_Pos)
726#define SCB_SHCSR_SECUREFAULTENA_Pos 19U
727#define SCB_SHCSR_SECUREFAULTENA_Msk (1UL << SCB_SHCSR_SECUREFAULTENA_Pos)
729#define SCB_SHCSR_USGFAULTENA_Pos 18U
730#define SCB_SHCSR_USGFAULTENA_Msk (1UL << SCB_SHCSR_USGFAULTENA_Pos)
732#define SCB_SHCSR_BUSFAULTENA_Pos 17U
733#define SCB_SHCSR_BUSFAULTENA_Msk (1UL << SCB_SHCSR_BUSFAULTENA_Pos)
735#define SCB_SHCSR_MEMFAULTENA_Pos 16U
736#define SCB_SHCSR_MEMFAULTENA_Msk (1UL << SCB_SHCSR_MEMFAULTENA_Pos)
738#define SCB_SHCSR_SVCALLPENDED_Pos 15U
739#define SCB_SHCSR_SVCALLPENDED_Msk (1UL << SCB_SHCSR_SVCALLPENDED_Pos)
741#define SCB_SHCSR_BUSFAULTPENDED_Pos 14U
742#define SCB_SHCSR_BUSFAULTPENDED_Msk (1UL << SCB_SHCSR_BUSFAULTPENDED_Pos)
744#define SCB_SHCSR_MEMFAULTPENDED_Pos 13U
745#define SCB_SHCSR_MEMFAULTPENDED_Msk (1UL << SCB_SHCSR_MEMFAULTPENDED_Pos)
747#define SCB_SHCSR_USGFAULTPENDED_Pos 12U
748#define SCB_SHCSR_USGFAULTPENDED_Msk (1UL << SCB_SHCSR_USGFAULTPENDED_Pos)
750#define SCB_SHCSR_SYSTICKACT_Pos 11U
751#define SCB_SHCSR_SYSTICKACT_Msk (1UL << SCB_SHCSR_SYSTICKACT_Pos)
753#define SCB_SHCSR_PENDSVACT_Pos 10U
754#define SCB_SHCSR_PENDSVACT_Msk (1UL << SCB_SHCSR_PENDSVACT_Pos)
756#define SCB_SHCSR_MONITORACT_Pos 8U
757#define SCB_SHCSR_MONITORACT_Msk (1UL << SCB_SHCSR_MONITORACT_Pos)
759#define SCB_SHCSR_SVCALLACT_Pos 7U
760#define SCB_SHCSR_SVCALLACT_Msk (1UL << SCB_SHCSR_SVCALLACT_Pos)
762#define SCB_SHCSR_NMIACT_Pos 5U
763#define SCB_SHCSR_NMIACT_Msk (1UL << SCB_SHCSR_NMIACT_Pos)
765#define SCB_SHCSR_SECUREFAULTACT_Pos 4U
766#define SCB_SHCSR_SECUREFAULTACT_Msk (1UL << SCB_SHCSR_SECUREFAULTACT_Pos)
768#define SCB_SHCSR_USGFAULTACT_Pos 3U
769#define SCB_SHCSR_USGFAULTACT_Msk (1UL << SCB_SHCSR_USGFAULTACT_Pos)
771#define SCB_SHCSR_HARDFAULTACT_Pos 2U
772#define SCB_SHCSR_HARDFAULTACT_Msk (1UL << SCB_SHCSR_HARDFAULTACT_Pos)
774#define SCB_SHCSR_BUSFAULTACT_Pos 1U
775#define SCB_SHCSR_BUSFAULTACT_Msk (1UL << SCB_SHCSR_BUSFAULTACT_Pos)
777#define SCB_SHCSR_MEMFAULTACT_Pos 0U
778#define SCB_SHCSR_MEMFAULTACT_Msk (1UL )
781#define SCB_CFSR_USGFAULTSR_Pos 16U
782#define SCB_CFSR_USGFAULTSR_Msk (0xFFFFUL << SCB_CFSR_USGFAULTSR_Pos)
784#define SCB_CFSR_BUSFAULTSR_Pos 8U
785#define SCB_CFSR_BUSFAULTSR_Msk (0xFFUL << SCB_CFSR_BUSFAULTSR_Pos)
787#define SCB_CFSR_MEMFAULTSR_Pos 0U
788#define SCB_CFSR_MEMFAULTSR_Msk (0xFFUL )
791#define SCB_CFSR_MMARVALID_Pos (SCB_CFSR_MEMFAULTSR_Pos + 7U)
792#define SCB_CFSR_MMARVALID_Msk (1UL << SCB_CFSR_MMARVALID_Pos)
794#define SCB_CFSR_MLSPERR_Pos (SCB_CFSR_MEMFAULTSR_Pos + 5U)
795#define SCB_CFSR_MLSPERR_Msk (1UL << SCB_CFSR_MLSPERR_Pos)
797#define SCB_CFSR_MSTKERR_Pos (SCB_CFSR_MEMFAULTSR_Pos + 4U)
798#define SCB_CFSR_MSTKERR_Msk (1UL << SCB_CFSR_MSTKERR_Pos)
800#define SCB_CFSR_MUNSTKERR_Pos (SCB_CFSR_MEMFAULTSR_Pos + 3U)
801#define SCB_CFSR_MUNSTKERR_Msk (1UL << SCB_CFSR_MUNSTKERR_Pos)
803#define SCB_CFSR_DACCVIOL_Pos (SCB_CFSR_MEMFAULTSR_Pos + 1U)
804#define SCB_CFSR_DACCVIOL_Msk (1UL << SCB_CFSR_DACCVIOL_Pos)
806#define SCB_CFSR_IACCVIOL_Pos (SCB_CFSR_MEMFAULTSR_Pos + 0U)
807#define SCB_CFSR_IACCVIOL_Msk (1UL )
810#define SCB_CFSR_BFARVALID_Pos (SCB_CFSR_BUSFAULTSR_Pos + 7U)
811#define SCB_CFSR_BFARVALID_Msk (1UL << SCB_CFSR_BFARVALID_Pos)
813#define SCB_CFSR_LSPERR_Pos (SCB_CFSR_BUSFAULTSR_Pos + 5U)
814#define SCB_CFSR_LSPERR_Msk (1UL << SCB_CFSR_LSPERR_Pos)
816#define SCB_CFSR_STKERR_Pos (SCB_CFSR_BUSFAULTSR_Pos + 4U)
817#define SCB_CFSR_STKERR_Msk (1UL << SCB_CFSR_STKERR_Pos)
819#define SCB_CFSR_UNSTKERR_Pos (SCB_CFSR_BUSFAULTSR_Pos + 3U)
820#define SCB_CFSR_UNSTKERR_Msk (1UL << SCB_CFSR_UNSTKERR_Pos)
822#define SCB_CFSR_IMPRECISERR_Pos (SCB_CFSR_BUSFAULTSR_Pos + 2U)
823#define SCB_CFSR_IMPRECISERR_Msk (1UL << SCB_CFSR_IMPRECISERR_Pos)
825#define SCB_CFSR_PRECISERR_Pos (SCB_CFSR_BUSFAULTSR_Pos + 1U)
826#define SCB_CFSR_PRECISERR_Msk (1UL << SCB_CFSR_PRECISERR_Pos)
828#define SCB_CFSR_IBUSERR_Pos (SCB_CFSR_BUSFAULTSR_Pos + 0U)
829#define SCB_CFSR_IBUSERR_Msk (1UL << SCB_CFSR_IBUSERR_Pos)
832#define SCB_CFSR_DIVBYZERO_Pos (SCB_CFSR_USGFAULTSR_Pos + 9U)
833#define SCB_CFSR_DIVBYZERO_Msk (1UL << SCB_CFSR_DIVBYZERO_Pos)
835#define SCB_CFSR_UNALIGNED_Pos (SCB_CFSR_USGFAULTSR_Pos + 8U)
836#define SCB_CFSR_UNALIGNED_Msk (1UL << SCB_CFSR_UNALIGNED_Pos)
838#define SCB_CFSR_STKOF_Pos (SCB_CFSR_USGFAULTSR_Pos + 4U)
839#define SCB_CFSR_STKOF_Msk (1UL << SCB_CFSR_STKOF_Pos)
841#define SCB_CFSR_NOCP_Pos (SCB_CFSR_USGFAULTSR_Pos + 3U)
842#define SCB_CFSR_NOCP_Msk (1UL << SCB_CFSR_NOCP_Pos)
844#define SCB_CFSR_INVPC_Pos (SCB_CFSR_USGFAULTSR_Pos + 2U)
845#define SCB_CFSR_INVPC_Msk (1UL << SCB_CFSR_INVPC_Pos)
847#define SCB_CFSR_INVSTATE_Pos (SCB_CFSR_USGFAULTSR_Pos + 1U)
848#define SCB_CFSR_INVSTATE_Msk (1UL << SCB_CFSR_INVSTATE_Pos)
850#define SCB_CFSR_UNDEFINSTR_Pos (SCB_CFSR_USGFAULTSR_Pos + 0U)
851#define SCB_CFSR_UNDEFINSTR_Msk (1UL << SCB_CFSR_UNDEFINSTR_Pos)
854#define SCB_HFSR_DEBUGEVT_Pos 31U
855#define SCB_HFSR_DEBUGEVT_Msk (1UL << SCB_HFSR_DEBUGEVT_Pos)
857#define SCB_HFSR_FORCED_Pos 30U
858#define SCB_HFSR_FORCED_Msk (1UL << SCB_HFSR_FORCED_Pos)
860#define SCB_HFSR_VECTTBL_Pos 1U
861#define SCB_HFSR_VECTTBL_Msk (1UL << SCB_HFSR_VECTTBL_Pos)
864#define SCB_DFSR_PMU_Pos 5U
865#define SCB_DFSR_PMU_Msk (1UL << SCB_DFSR_PMU_Pos)
867#define SCB_DFSR_EXTERNAL_Pos 4U
868#define SCB_DFSR_EXTERNAL_Msk (1UL << SCB_DFSR_EXTERNAL_Pos)
870#define SCB_DFSR_VCATCH_Pos 3U
871#define SCB_DFSR_VCATCH_Msk (1UL << SCB_DFSR_VCATCH_Pos)
873#define SCB_DFSR_DWTTRAP_Pos 2U
874#define SCB_DFSR_DWTTRAP_Msk (1UL << SCB_DFSR_DWTTRAP_Pos)
876#define SCB_DFSR_BKPT_Pos 1U
877#define SCB_DFSR_BKPT_Msk (1UL << SCB_DFSR_BKPT_Pos)
879#define SCB_DFSR_HALTED_Pos 0U
880#define SCB_DFSR_HALTED_Msk (1UL )
883#define SCB_NSACR_CP11_Pos 11U
884#define SCB_NSACR_CP11_Msk (1UL << SCB_NSACR_CP11_Pos)
886#define SCB_NSACR_CP10_Pos 10U
887#define SCB_NSACR_CP10_Msk (1UL << SCB_NSACR_CP10_Pos)
889#define SCB_NSACR_CP7_Pos 7U
890#define SCB_NSACR_CP7_Msk (1UL << SCB_NSACR_CP7_Pos)
892#define SCB_NSACR_CP6_Pos 6U
893#define SCB_NSACR_CP6_Msk (1UL << SCB_NSACR_CP6_Pos)
895#define SCB_NSACR_CP5_Pos 5U
896#define SCB_NSACR_CP5_Msk (1UL << SCB_NSACR_CP5_Pos)
898#define SCB_NSACR_CP4_Pos 4U
899#define SCB_NSACR_CP4_Msk (1UL << SCB_NSACR_CP4_Pos)
901#define SCB_NSACR_CP3_Pos 3U
902#define SCB_NSACR_CP3_Msk (1UL << SCB_NSACR_CP3_Pos)
904#define SCB_NSACR_CP2_Pos 2U
905#define SCB_NSACR_CP2_Msk (1UL << SCB_NSACR_CP2_Pos)
907#define SCB_NSACR_CP1_Pos 1U
908#define SCB_NSACR_CP1_Msk (1UL << SCB_NSACR_CP1_Pos)
910#define SCB_NSACR_CP0_Pos 0U
911#define SCB_NSACR_CP0_Msk (1UL )
914#define SCB_ID_DFR_UDE_Pos 28U
915#define SCB_ID_DFR_UDE_Msk (0xFUL << SCB_ID_DFR_UDE_Pos)
917#define SCB_ID_DFR_MProfDbg_Pos 20U
918#define SCB_ID_DFR_MProfDbg_Msk (0xFUL << SCB_ID_DFR_MProfDbg_Pos)
921#define SCB_CLIDR_LOUU_Pos 27U
922#define SCB_CLIDR_LOUU_Msk (7UL << SCB_CLIDR_LOUU_Pos)
924#define SCB_CLIDR_LOC_Pos 24U
925#define SCB_CLIDR_LOC_Msk (7UL << SCB_CLIDR_LOC_Pos)
928#define SCB_CTR_FORMAT_Pos 29U
929#define SCB_CTR_FORMAT_Msk (7UL << SCB_CTR_FORMAT_Pos)
931#define SCB_CTR_CWG_Pos 24U
932#define SCB_CTR_CWG_Msk (0xFUL << SCB_CTR_CWG_Pos)
934#define SCB_CTR_ERG_Pos 20U
935#define SCB_CTR_ERG_Msk (0xFUL << SCB_CTR_ERG_Pos)
937#define SCB_CTR_DMINLINE_Pos 16U
938#define SCB_CTR_DMINLINE_Msk (0xFUL << SCB_CTR_DMINLINE_Pos)
940#define SCB_CTR_IMINLINE_Pos 0U
941#define SCB_CTR_IMINLINE_Msk (0xFUL )
944#define SCB_CCSIDR_WT_Pos 31U
945#define SCB_CCSIDR_WT_Msk (1UL << SCB_CCSIDR_WT_Pos)
947#define SCB_CCSIDR_WB_Pos 30U
948#define SCB_CCSIDR_WB_Msk (1UL << SCB_CCSIDR_WB_Pos)
950#define SCB_CCSIDR_RA_Pos 29U
951#define SCB_CCSIDR_RA_Msk (1UL << SCB_CCSIDR_RA_Pos)
953#define SCB_CCSIDR_WA_Pos 28U
954#define SCB_CCSIDR_WA_Msk (1UL << SCB_CCSIDR_WA_Pos)
956#define SCB_CCSIDR_NUMSETS_Pos 13U
957#define SCB_CCSIDR_NUMSETS_Msk (0x7FFFUL << SCB_CCSIDR_NUMSETS_Pos)
959#define SCB_CCSIDR_ASSOCIATIVITY_Pos 3U
960#define SCB_CCSIDR_ASSOCIATIVITY_Msk (0x3FFUL << SCB_CCSIDR_ASSOCIATIVITY_Pos)
962#define SCB_CCSIDR_LINESIZE_Pos 0U
963#define SCB_CCSIDR_LINESIZE_Msk (7UL )
966#define SCB_CSSELR_LEVEL_Pos 1U
967#define SCB_CSSELR_LEVEL_Msk (7UL << SCB_CSSELR_LEVEL_Pos)
969#define SCB_CSSELR_IND_Pos 0U
970#define SCB_CSSELR_IND_Msk (1UL )
973#define SCB_STIR_INTID_Pos 0U
974#define SCB_STIR_INTID_Msk (0x1FFUL )
977#define SCB_RFSR_V_Pos 31U
978#define SCB_RFSR_V_Msk (1UL << SCB_RFSR_V_Pos)
980#define SCB_RFSR_IS_Pos 16U
981#define SCB_RFSR_IS_Msk (0x7FFFUL << SCB_RFSR_IS_Pos)
983#define SCB_RFSR_UET_Pos 0U
984#define SCB_RFSR_UET_Msk (3UL )
987#define SCB_DCISW_WAY_Pos 30U
988#define SCB_DCISW_WAY_Msk (3UL << SCB_DCISW_WAY_Pos)
990#define SCB_DCISW_SET_Pos 5U
991#define SCB_DCISW_SET_Msk (0x1FFUL << SCB_DCISW_SET_Pos)
994#define SCB_DCCSW_WAY_Pos 30U
995#define SCB_DCCSW_WAY_Msk (3UL << SCB_DCCSW_WAY_Pos)
997#define SCB_DCCSW_SET_Pos 5U
998#define SCB_DCCSW_SET_Msk (0x1FFUL << SCB_DCCSW_SET_Pos)
1001#define SCB_DCCISW_WAY_Pos 30U
1002#define SCB_DCCISW_WAY_Msk (3UL << SCB_DCCISW_WAY_Pos)
1004#define SCB_DCCISW_SET_Pos 5U
1005#define SCB_DCCISW_SET_Msk (0x1FFUL << SCB_DCCISW_SET_Pos)
1022 uint32_t RESERVED0[1U];
1024 __IOM uint32_t ACTLR;
1025 __IOM uint32_t CPPWR;
1029#define ICB_ACTLR_DISCRITAXIRUW_Pos 27U
1030#define ICB_ACTLR_DISCRITAXIRUW_Msk (1UL << ICB_ACTLR_DISCRITAXIRUW_Pos)
1032#define ICB_ACTLR_DISCRITAXIRUR_Pos 15U
1033#define ICB_ACTLR_DISCRITAXIRUR_Msk (1UL << ICB_ACTLR_DISCRITAXIRUR_Pos)
1035#define ICB_ACTLR_EVENTBUSEN_Pos 14U
1036#define ICB_ACTLR_EVENTBUSEN_Msk (1UL << ICB_ACTLR_EVENTBUSEN_Pos)
1038#define ICB_ACTLR_EVENTBUSEN_S_Pos 13U
1039#define ICB_ACTLR_EVENTBUSEN_S_Msk (1UL << ICB_ACTLR_EVENTBUSEN_S_Pos)
1041#define ICB_ACTLR_DISITMATBFLUSH_Pos 12U
1042#define ICB_ACTLR_DISITMATBFLUSH_Msk (1UL << ICB_ACTLR_DISITMATBFLUSH_Pos)
1044#define ICB_ACTLR_DISNWAMODE_Pos 11U
1045#define ICB_ACTLR_DISNWAMODE_Msk (1UL << ICB_ACTLR_DISNWAMODE_Pos)
1047#define ICB_ACTLR_FPEXCODIS_Pos 10U
1048#define ICB_ACTLR_FPEXCODIS_Msk (1UL << ICB_ACTLR_FPEXCODIS_Pos)
1051#define ICB_ICTR_INTLINESNUM_Pos 0U
1052#define ICB_ICTR_INTLINESNUM_Msk (0xFUL )
1069 __IOM uint32_t CTRL;
1070 __IOM uint32_t LOAD;
1072 __IM uint32_t CALIB;
1076#define SysTick_CTRL_COUNTFLAG_Pos 16U
1077#define SysTick_CTRL_COUNTFLAG_Msk (1UL << SysTick_CTRL_COUNTFLAG_Pos)
1079#define SysTick_CTRL_CLKSOURCE_Pos 2U
1080#define SysTick_CTRL_CLKSOURCE_Msk (1UL << SysTick_CTRL_CLKSOURCE_Pos)
1082#define SysTick_CTRL_TICKINT_Pos 1U
1083#define SysTick_CTRL_TICKINT_Msk (1UL << SysTick_CTRL_TICKINT_Pos)
1085#define SysTick_CTRL_ENABLE_Pos 0U
1086#define SysTick_CTRL_ENABLE_Msk (1UL )
1089#define SysTick_LOAD_RELOAD_Pos 0U
1090#define SysTick_LOAD_RELOAD_Msk (0xFFFFFFUL )
1093#define SysTick_VAL_CURRENT_Pos 0U
1094#define SysTick_VAL_CURRENT_Msk (0xFFFFFFUL )
1097#define SysTick_CALIB_NOREF_Pos 31U
1098#define SysTick_CALIB_NOREF_Msk (1UL << SysTick_CALIB_NOREF_Pos)
1100#define SysTick_CALIB_SKEW_Pos 30U
1101#define SysTick_CALIB_SKEW_Msk (1UL << SysTick_CALIB_SKEW_Pos)
1103#define SysTick_CALIB_TENMS_Pos 0U
1104#define SysTick_CALIB_TENMS_Msk (0xFFFFFFUL )
1127 uint32_t RESERVED0[864U];
1129 uint32_t RESERVED1[15U];
1131 uint32_t RESERVED2[15U];
1133 uint32_t RESERVED3[32U];
1134 uint32_t RESERVED4[43U];
1137 uint32_t RESERVED5[1U];
1138 __IM uint32_t DEVARCH;
1139 uint32_t RESERVED6[3U];
1140 __IM uint32_t DEVTYPE;
1156#define ITM_STIM_DISABLED_Pos 1U
1157#define ITM_STIM_DISABLED_Msk (0x1UL << ITM_STIM_DISABLED_Pos)
1159#define ITM_STIM_FIFOREADY_Pos 0U
1160#define ITM_STIM_FIFOREADY_Msk (0x1UL )
1163#define ITM_TPR_PRIVMASK_Pos 0U
1164#define ITM_TPR_PRIVMASK_Msk (0xFUL )
1167#define ITM_TCR_BUSY_Pos 23U
1168#define ITM_TCR_BUSY_Msk (1UL << ITM_TCR_BUSY_Pos)
1170#define ITM_TCR_TRACEBUSID_Pos 16U
1171#define ITM_TCR_TRACEBUSID_Msk (0x7FUL << ITM_TCR_TRACEBUSID_Pos)
1173#define ITM_TCR_GTSFREQ_Pos 10U
1174#define ITM_TCR_GTSFREQ_Msk (3UL << ITM_TCR_GTSFREQ_Pos)
1176#define ITM_TCR_TSPRESCALE_Pos 8U
1177#define ITM_TCR_TSPRESCALE_Msk (3UL << ITM_TCR_TSPRESCALE_Pos)
1179#define ITM_TCR_STALLENA_Pos 5U
1180#define ITM_TCR_STALLENA_Msk (1UL << ITM_TCR_STALLENA_Pos)
1182#define ITM_TCR_SWOENA_Pos 4U
1183#define ITM_TCR_SWOENA_Msk (1UL << ITM_TCR_SWOENA_Pos)
1185#define ITM_TCR_DWTENA_Pos 3U
1186#define ITM_TCR_DWTENA_Msk (1UL << ITM_TCR_DWTENA_Pos)
1188#define ITM_TCR_SYNCENA_Pos 2U
1189#define ITM_TCR_SYNCENA_Msk (1UL << ITM_TCR_SYNCENA_Pos)
1191#define ITM_TCR_TSENA_Pos 1U
1192#define ITM_TCR_TSENA_Msk (1UL << ITM_TCR_TSENA_Pos)
1194#define ITM_TCR_ITMENA_Pos 0U
1195#define ITM_TCR_ITMENA_Msk (1UL )
1198#define ITM_LSR_ByteAcc_Pos 2U
1199#define ITM_LSR_ByteAcc_Msk (1UL << ITM_LSR_ByteAcc_Pos)
1201#define ITM_LSR_Access_Pos 1U
1202#define ITM_LSR_Access_Msk (1UL << ITM_LSR_Access_Pos)
1204#define ITM_LSR_Present_Pos 0U
1205#define ITM_LSR_Present_Msk (1UL )
1222 __IOM uint32_t CTRL;
1223 __IOM uint32_t CYCCNT;
1224 __IOM uint32_t CPICNT;
1225 __IOM uint32_t EXCCNT;
1226 __IOM uint32_t SLEEPCNT;
1227 __IOM uint32_t LSUCNT;
1228 __IOM uint32_t FOLDCNT;
1230 __IOM uint32_t COMP0;
1231 uint32_t RESERVED1[1U];
1232 __IOM uint32_t FUNCTION0;
1233 uint32_t RESERVED2[1U];
1235 uint32_t RESERVED3[1U];
1236 __IOM uint32_t FUNCTION1;
1237 uint32_t RESERVED4[1U];
1239 uint32_t RESERVED5[1U];
1240 __IOM uint32_t FUNCTION2;
1241 uint32_t RESERVED6[1U];
1242 __IOM uint32_t COMP3;
1243 uint32_t RESERVED7[1U];
1244 __IOM uint32_t FUNCTION3;
1245 uint32_t RESERVED8[1U];
1246 __IOM uint32_t COMP4;
1247 uint32_t RESERVED9[1U];
1248 __IOM uint32_t FUNCTION4;
1249 uint32_t RESERVED10[1U];
1250 __IOM uint32_t COMP5;
1251 uint32_t RESERVED11[1U];
1252 __IOM uint32_t FUNCTION5;
1253 uint32_t RESERVED12[1U];
1254 __IOM uint32_t COMP6;
1255 uint32_t RESERVED13[1U];
1256 __IOM uint32_t FUNCTION6;
1257 uint32_t RESERVED14[1U];
1258 __IOM uint32_t COMP7;
1259 uint32_t RESERVED15[1U];
1260 __IOM uint32_t FUNCTION7;
1261 uint32_t RESERVED16[1U];
1262 __IOM uint32_t COMP8;
1263 uint32_t RESERVED17[1U];
1264 __IOM uint32_t FUNCTION8;
1265 uint32_t RESERVED18[1U];
1266 __IOM uint32_t COMP9;
1267 uint32_t RESERVED19[1U];
1268 __IOM uint32_t FUNCTION9;
1269 uint32_t RESERVED20[1U];
1270 __IOM uint32_t COMP10;
1271 uint32_t RESERVED21[1U];
1272 __IOM uint32_t FUNCTION10;
1273 uint32_t RESERVED22[1U];
1274 __IOM uint32_t COMP11;
1275 uint32_t RESERVED23[1U];
1276 __IOM uint32_t FUNCTION11;
1277 uint32_t RESERVED24[1U];
1279 uint32_t RESERVED25[1U];
1280 __IOM uint32_t FUNCTION12;
1281 uint32_t RESERVED26[1U];
1282 __IOM uint32_t COMP13;
1283 uint32_t RESERVED27[1U];
1284 __IOM uint32_t FUNCTION13;
1285 uint32_t RESERVED28[1U];
1286 __IOM uint32_t COMP14;
1287 uint32_t RESERVED29[1U];
1288 __IOM uint32_t FUNCTION14;
1289 uint32_t RESERVED30[1U];
1290 __IOM uint32_t COMP15;
1291 uint32_t RESERVED31[1U];
1292 __IOM uint32_t FUNCTION15;
1293 uint32_t RESERVED32[934U];
1295 uint32_t RESERVED33[1U];
1296 __IM uint32_t DEVARCH;
1300#define DWT_CTRL_NUMCOMP_Pos 28U
1301#define DWT_CTRL_NUMCOMP_Msk (0xFUL << DWT_CTRL_NUMCOMP_Pos)
1303#define DWT_CTRL_NOTRCPKT_Pos 27U
1304#define DWT_CTRL_NOTRCPKT_Msk (0x1UL << DWT_CTRL_NOTRCPKT_Pos)
1306#define DWT_CTRL_NOEXTTRIG_Pos 26U
1307#define DWT_CTRL_NOEXTTRIG_Msk (0x1UL << DWT_CTRL_NOEXTTRIG_Pos)
1309#define DWT_CTRL_NOCYCCNT_Pos 25U
1310#define DWT_CTRL_NOCYCCNT_Msk (0x1UL << DWT_CTRL_NOCYCCNT_Pos)
1312#define DWT_CTRL_NOPRFCNT_Pos 24U
1313#define DWT_CTRL_NOPRFCNT_Msk (0x1UL << DWT_CTRL_NOPRFCNT_Pos)
1315#define DWT_CTRL_CYCDISS_Pos 23U
1316#define DWT_CTRL_CYCDISS_Msk (0x1UL << DWT_CTRL_CYCDISS_Pos)
1318#define DWT_CTRL_CYCEVTENA_Pos 22U
1319#define DWT_CTRL_CYCEVTENA_Msk (0x1UL << DWT_CTRL_CYCEVTENA_Pos)
1321#define DWT_CTRL_FOLDEVTENA_Pos 21U
1322#define DWT_CTRL_FOLDEVTENA_Msk (0x1UL << DWT_CTRL_FOLDEVTENA_Pos)
1324#define DWT_CTRL_LSUEVTENA_Pos 20U
1325#define DWT_CTRL_LSUEVTENA_Msk (0x1UL << DWT_CTRL_LSUEVTENA_Pos)
1327#define DWT_CTRL_SLEEPEVTENA_Pos 19U
1328#define DWT_CTRL_SLEEPEVTENA_Msk (0x1UL << DWT_CTRL_SLEEPEVTENA_Pos)
1330#define DWT_CTRL_EXCEVTENA_Pos 18U
1331#define DWT_CTRL_EXCEVTENA_Msk (0x1UL << DWT_CTRL_EXCEVTENA_Pos)
1333#define DWT_CTRL_CPIEVTENA_Pos 17U
1334#define DWT_CTRL_CPIEVTENA_Msk (0x1UL << DWT_CTRL_CPIEVTENA_Pos)
1336#define DWT_CTRL_EXCTRCENA_Pos 16U
1337#define DWT_CTRL_EXCTRCENA_Msk (0x1UL << DWT_CTRL_EXCTRCENA_Pos)
1339#define DWT_CTRL_PCSAMPLENA_Pos 12U
1340#define DWT_CTRL_PCSAMPLENA_Msk (0x1UL << DWT_CTRL_PCSAMPLENA_Pos)
1342#define DWT_CTRL_SYNCTAP_Pos 10U
1343#define DWT_CTRL_SYNCTAP_Msk (0x3UL << DWT_CTRL_SYNCTAP_Pos)
1345#define DWT_CTRL_CYCTAP_Pos 9U
1346#define DWT_CTRL_CYCTAP_Msk (0x1UL << DWT_CTRL_CYCTAP_Pos)
1348#define DWT_CTRL_POSTINIT_Pos 5U
1349#define DWT_CTRL_POSTINIT_Msk (0xFUL << DWT_CTRL_POSTINIT_Pos)
1351#define DWT_CTRL_POSTPRESET_Pos 1U
1352#define DWT_CTRL_POSTPRESET_Msk (0xFUL << DWT_CTRL_POSTPRESET_Pos)
1354#define DWT_CTRL_CYCCNTENA_Pos 0U
1355#define DWT_CTRL_CYCCNTENA_Msk (0x1UL )
1358#define DWT_CPICNT_CPICNT_Pos 0U
1359#define DWT_CPICNT_CPICNT_Msk (0xFFUL )
1362#define DWT_EXCCNT_EXCCNT_Pos 0U
1363#define DWT_EXCCNT_EXCCNT_Msk (0xFFUL )
1366#define DWT_SLEEPCNT_SLEEPCNT_Pos 0U
1367#define DWT_SLEEPCNT_SLEEPCNT_Msk (0xFFUL )
1370#define DWT_LSUCNT_LSUCNT_Pos 0U
1371#define DWT_LSUCNT_LSUCNT_Msk (0xFFUL )
1374#define DWT_FOLDCNT_FOLDCNT_Pos 0U
1375#define DWT_FOLDCNT_FOLDCNT_Msk (0xFFUL )
1378#define DWT_FUNCTION_ID_Pos 27U
1379#define DWT_FUNCTION_ID_Msk (0x1FUL << DWT_FUNCTION_ID_Pos)
1381#define DWT_FUNCTION_MATCHED_Pos 24U
1382#define DWT_FUNCTION_MATCHED_Msk (0x1UL << DWT_FUNCTION_MATCHED_Pos)
1384#define DWT_FUNCTION_DATAVSIZE_Pos 10U
1385#define DWT_FUNCTION_DATAVSIZE_Msk (0x3UL << DWT_FUNCTION_DATAVSIZE_Pos)
1387#define DWT_FUNCTION_ACTION_Pos 4U
1388#define DWT_FUNCTION_ACTION_Msk (0x1UL << DWT_FUNCTION_ACTION_Pos)
1390#define DWT_FUNCTION_MATCH_Pos 0U
1391#define DWT_FUNCTION_MATCH_Msk (0xFUL )
1408 __IOM uint32_t MSCR;
1409 __IOM uint32_t PFCR;
1410 uint32_t RESERVED1[2U];
1411 __IOM uint32_t ITCMCR;
1412 __IOM uint32_t DTCMCR;
1413 __IOM uint32_t PAHBCR;
1414 uint32_t RESERVED2[313U];
1415 __IOM uint32_t ITGU_CTRL;
1416 __IOM uint32_t ITGU_CFG;
1417 uint32_t RESERVED3[2U];
1418 __IOM uint32_t ITGU_LUT[16U];
1419 uint32_t RESERVED4[44U];
1420 __IOM uint32_t DTGU_CTRL;
1421 __IOM uint32_t DTGU_CFG;
1422 uint32_t RESERVED5[2U];
1423 __IOM uint32_t DTGU_LUT[16U];
1427#define MEMSYSCTL_MSCR_CPWRDN_Pos 17U
1428#define MEMSYSCTL_MSCR_CPWRDN_Msk (0x1UL << MEMSYSCTL_MSCR_CPWRDN_Pos)
1430#define MEMSYSCTL_MSCR_DCCLEAN_Pos 16U
1431#define MEMSYSCTL_MSCR_DCCLEAN_Msk (0x1UL << MEMSYSCTL_MSCR_DCCLEAN_Pos)
1433#define MEMSYSCTL_MSCR_ICACTIVE_Pos 13U
1434#define MEMSYSCTL_MSCR_ICACTIVE_Msk (0x1UL << MEMSYSCTL_MSCR_ICACTIVE_Pos)
1436#define MEMSYSCTL_MSCR_DCACTIVE_Pos 12U
1437#define MEMSYSCTL_MSCR_DCACTIVE_Msk (0x1UL << MEMSYSCTL_MSCR_DCACTIVE_Pos)
1439#define MEMSYSCTL_MSCR_EVECCFAULT_Pos 3U
1440#define MEMSYSCTL_MSCR_EVECCFAULT_Msk (0x1UL << MEMSYSCTL_MSCR_EVECCFAULT_Pos)
1442#define MEMSYSCTL_MSCR_FORCEWT_Pos 2U
1443#define MEMSYSCTL_MSCR_FORCEWT_Msk (0x1UL << MEMSYSCTL_MSCR_FORCEWT_Pos)
1445#define MEMSYSCTL_MSCR_ECCEN_Pos 1U
1446#define MEMSYSCTL_MSCR_ECCEN_Msk (0x1UL << MEMSYSCTL_MSCR_ECCEN_Pos)
1449#define MEMSYSCTL_PFCR_DIS_NLP_Pos 7U
1450#define MEMSYSCTL_PFCR_DIS_NLP_Msk (0x1UL << MEMSYSCTL_PFCR_DIS_NLP_Pos)
1452#define MEMSYSCTL_PFCR_ENABLE_Pos 0U
1453#define MEMSYSCTL_PFCR_ENABLE_Msk (0x1UL )
1456#define MEMSYSCTL_ITCMCR_SZ_Pos 3U
1457#define MEMSYSCTL_ITCMCR_SZ_Msk (0xFUL << MEMSYSCTL_ITCMCR_SZ_Pos)
1459#define MEMSYSCTL_ITCMCR_EN_Pos 0U
1460#define MEMSYSCTL_ITCMCR_EN_Msk (0x1UL )
1463#define MEMSYSCTL_DTCMCR_SZ_Pos 3U
1464#define MEMSYSCTL_DTCMCR_SZ_Msk (0xFUL << MEMSYSCTL_DTCMCR_SZ_Pos)
1466#define MEMSYSCTL_DTCMCR_EN_Pos 0U
1467#define MEMSYSCTL_DTCMCR_EN_Msk (0x1UL )
1470#define MEMSYSCTL_PAHBCR_SZ_Pos 1U
1471#define MEMSYSCTL_PAHBCR_SZ_Msk (0x7UL << MEMSYSCTL_PAHBCR_SZ_Pos)
1473#define MEMSYSCTL_PAHBCR_EN_Pos 0U
1474#define MEMSYSCTL_PAHBCR_EN_Msk (0x1UL )
1477#define MEMSYSCTL_ITGU_CTRL_DEREN_Pos 1U
1478#define MEMSYSCTL_ITGU_CTRL_DEREN_Msk (0x1UL << MEMSYSCTL_ITGU_CTRL_DEREN_Pos)
1480#define MEMSYSCTL_ITGU_CTRL_DBFEN_Pos 0U
1481#define MEMSYSCTL_ITGU_CTRL_DBFEN_Msk (0x1UL )
1484#define MEMSYSCTL_ITGU_CFG_PRESENT_Pos 31U
1485#define MEMSYSCTL_ITGU_CFG_PRESENT_Msk (0x1UL << MEMSYSCTL_ITGU_CFG_PRESENT_Pos)
1487#define MEMSYSCTL_ITGU_CFG_NUMBLKS_Pos 8U
1488#define MEMSYSCTL_ITGU_CFG_NUMBLKS_Msk (0xFUL << MEMSYSCTL_ITGU_CFG_NUMBLKS_Pos)
1490#define MEMSYSCTL_ITGU_CFG_BLKSZ_Pos 0U
1491#define MEMSYSCTL_ITGU_CFG_BLKSZ_Msk (0xFUL )
1494#define MEMSYSCTL_DTGU_CTRL_DEREN_Pos 1U
1495#define MEMSYSCTL_DTGU_CTRL_DEREN_Msk (0x1UL << MEMSYSCTL_DTGU_CTRL_DEREN_Pos)
1497#define MEMSYSCTL_DTGU_CTRL_DBFEN_Pos 0U
1498#define MEMSYSCTL_DTGU_CTRL_DBFEN_Msk (0x1UL )
1501#define MEMSYSCTL_DTGU_CFG_PRESENT_Pos 31U
1502#define MEMSYSCTL_DTGU_CFG_PRESENT_Msk (0x1UL << MEMSYSCTL_DTGU_CFG_PRESENT_Pos)
1504#define MEMSYSCTL_DTGU_CFG_NUMBLKS_Pos 8U
1505#define MEMSYSCTL_DTGU_CFG_NUMBLKS_Msk (0xFUL << MEMSYSCTL_DTGU_CFG_NUMBLKS_Pos)
1507#define MEMSYSCTL_DTGU_CFG_BLKSZ_Pos 0U
1508#define MEMSYSCTL_DTGU_CFG_BLKSZ_Msk (0xFUL )
1526 __IOM uint32_t CPDLPSTATE;
1527 __IOM uint32_t DPDLPSTATE;
1531#define PWRMODCTL_CPDLPSTATE_RLPSTATE_Pos 8U
1532#define PWRMODCTL_CPDLPSTATE_RLPSTATE_Msk (0x3UL << PWRMODCTL_CPDLPSTATE_RLPSTATE_Pos)
1534#define PWRMODCTL_CPDLPSTATE_ELPSTATE_Pos 4U
1535#define PWRMODCTL_CPDLPSTATE_ELPSTATE_Msk (0x3UL << PWRMODCTL_CPDLPSTATE_ELPSTATE_Pos)
1537#define PWRMODCTL_CPDLPSTATE_CLPSTATE_Pos 0U
1538#define PWRMODCTL_CPDLPSTATE_CLPSTATE_Msk (0x3UL )
1541#define PWRMODCTL_DPDLPSTATE_DLPSTATE_Pos 0U
1542#define PWRMODCTL_DPDLPSTATE_DLPSTATE_Msk (0x3UL )
1559 __OM uint32_t EVENTSPR;
1560 uint32_t RESERVED0[31U];
1561 __IM uint32_t EVENTMASKA;
1562 __IM uint32_t EVENTMASK[15];
1566#define EWIC_EVENTSPR_EDBGREQ_Pos 2U
1567#define EWIC_EVENTSPR_EDBGREQ_Msk (0x1UL << EWIC_EVENTSPR_EDBGREQ_Pos)
1569#define EWIC_EVENTSPR_NMI_Pos 1U
1570#define EWIC_EVENTSPR_NMI_Msk (0x1UL << EWIC_EVENTSPR_NMI_Pos)
1572#define EWIC_EVENTSPR_EVENT_Pos 0U
1573#define EWIC_EVENTSPR_EVENT_Msk (0x1UL )
1576#define EWIC_EVENTMASKA_EDBGREQ_Pos 2U
1577#define EWIC_EVENTMASKA_EDBGREQ_Msk (0x1UL << EWIC_EVENTMASKA_EDBGREQ_Pos)
1579#define EWIC_EVENTMASKA_NMI_Pos 1U
1580#define EWIC_EVENTMASKA_NMI_Msk (0x1UL << EWIC_EVENTMASKA_NMI_Pos)
1582#define EWIC_EVENTMASKA_EVENT_Pos 0U
1583#define EWIC_EVENTMASKA_EVENT_Msk (0x1UL )
1586#define EWIC_EVENTMASK_IRQ_Pos 0U
1587#define EWIC_EVENTMASK_IRQ_Msk (0xFFFFFFFFUL )
1604 __IOM uint32_t IEBR0;
1605 __IOM uint32_t IEBR1;
1606 uint32_t RESERVED0[2U];
1607 __IOM uint32_t DEBR0;
1608 __IOM uint32_t DEBR1;
1609 uint32_t RESERVED1[2U];
1610 __IOM uint32_t TEBR0;
1611 uint32_t RESERVED2[1U];
1612 __IOM uint32_t TEBR1;
1616#define ERRBNK_IEBR0_SWDEF_Pos 30U
1617#define ERRBNK_IEBR0_SWDEF_Msk (0x3UL << ERRBNK_IEBR0_SWDEF_Pos)
1619#define ERRBNK_IEBR0_BANK_Pos 16U
1620#define ERRBNK_IEBR0_BANK_Msk (0x1UL << ERRBNK_IEBR0_BANK_Pos)
1622#define ERRBNK_IEBR0_LOCATION_Pos 2U
1623#define ERRBNK_IEBR0_LOCATION_Msk (0x3FFFUL << ERRBNK_IEBR0_LOCATION_Pos)
1625#define ERRBNK_IEBR0_LOCKED_Pos 1U
1626#define ERRBNK_IEBR0_LOCKED_Msk (0x1UL << ERRBNK_IEBR0_LOCKED_Pos)
1628#define ERRBNK_IEBR0_VALID_Pos 0U
1629#define ERRBNK_IEBR0_VALID_Msk (0x1UL << )
1632#define ERRBNK_IEBR1_SWDEF_Pos 30U
1633#define ERRBNK_IEBR1_SWDEF_Msk (0x3UL << ERRBNK_IEBR1_SWDEF_Pos)
1635#define ERRBNK_IEBR1_BANK_Pos 16U
1636#define ERRBNK_IEBR1_BANK_Msk (0x1UL << ERRBNK_IEBR1_BANK_Pos)
1638#define ERRBNK_IEBR1_LOCATION_Pos 2U
1639#define ERRBNK_IEBR1_LOCATION_Msk (0x3FFFUL << ERRBNK_IEBR1_LOCATION_Pos)
1641#define ERRBNK_IEBR1_LOCKED_Pos 1U
1642#define ERRBNK_IEBR1_LOCKED_Msk (0x1UL << ERRBNK_IEBR1_LOCKED_Pos)
1644#define ERRBNK_IEBR1_VALID_Pos 0U
1645#define ERRBNK_IEBR1_VALID_Msk (0x1UL << )
1648#define ERRBNK_DEBR0_SWDEF_Pos 30U
1649#define ERRBNK_DEBR0_SWDEF_Msk (0x3UL << ERRBNK_DEBR0_SWDEF_Pos)
1651#define ERRBNK_DEBR0_TYPE_Pos 17U
1652#define ERRBNK_DEBR0_TYPE_Msk (0x1UL << ERRBNK_DEBR0_TYPE_Pos)
1654#define ERRBNK_DEBR0_BANK_Pos 16U
1655#define ERRBNK_DEBR0_BANK_Msk (0x1UL << ERRBNK_DEBR0_BANK_Pos)
1657#define ERRBNK_DEBR0_LOCATION_Pos 2U
1658#define ERRBNK_DEBR0_LOCATION_Msk (0x3FFFUL << ERRBNK_DEBR0_LOCATION_Pos)
1660#define ERRBNK_DEBR0_LOCKED_Pos 1U
1661#define ERRBNK_DEBR0_LOCKED_Msk (0x1UL << ERRBNK_DEBR0_LOCKED_Pos)
1663#define ERRBNK_DEBR0_VALID_Pos 0U
1664#define ERRBNK_DEBR0_VALID_Msk (0x1UL << )
1667#define ERRBNK_DEBR1_SWDEF_Pos 30U
1668#define ERRBNK_DEBR1_SWDEF_Msk (0x3UL << ERRBNK_DEBR1_SWDEF_Pos)
1670#define ERRBNK_DEBR1_TYPE_Pos 17U
1671#define ERRBNK_DEBR1_TYPE_Msk (0x1UL << ERRBNK_DEBR1_TYPE_Pos)
1673#define ERRBNK_DEBR1_BANK_Pos 16U
1674#define ERRBNK_DEBR1_BANK_Msk (0x1UL << ERRBNK_DEBR1_BANK_Pos)
1676#define ERRBNK_DEBR1_LOCATION_Pos 2U
1677#define ERRBNK_DEBR1_LOCATION_Msk (0x3FFFUL << ERRBNK_DEBR1_LOCATION_Pos)
1679#define ERRBNK_DEBR1_LOCKED_Pos 1U
1680#define ERRBNK_DEBR1_LOCKED_Msk (0x1UL << ERRBNK_DEBR1_LOCKED_Pos)
1682#define ERRBNK_DEBR1_VALID_Pos 0U
1683#define ERRBNK_DEBR1_VALID_Msk (0x1UL << )
1686#define ERRBNK_TEBR0_SWDEF_Pos 30U
1687#define ERRBNK_TEBR0_SWDEF_Msk (0x3UL << ERRBNK_TEBR0_SWDEF_Pos)
1689#define ERRBNK_TEBR0_POISON_Pos 28U
1690#define ERRBNK_TEBR0_POISON_Msk (0x1UL << ERRBNK_TEBR0_POISON_Pos)
1692#define ERRBNK_TEBR0_TYPE_Pos 27U
1693#define ERRBNK_TEBR0_TYPE_Msk (0x1UL << ERRBNK_TEBR0_TYPE_Pos)
1695#define ERRBNK_TEBR0_BANK_Pos 24U
1696#define ERRBNK_TEBR0_BANK_Msk (0x3UL << ERRBNK_TEBR0_BANK_Pos)
1698#define ERRBNK_TEBR0_LOCATION_Pos 2U
1699#define ERRBNK_TEBR0_LOCATION_Msk (0x3FFFFFUL << ERRBNK_TEBR0_LOCATION_Pos)
1701#define ERRBNK_TEBR0_LOCKED_Pos 1U
1702#define ERRBNK_TEBR0_LOCKED_Msk (0x1UL << ERRBNK_TEBR0_LOCKED_Pos)
1704#define ERRBNK_TEBR0_VALID_Pos 0U
1705#define ERRBNK_TEBR0_VALID_Msk (0x1UL << )
1708#define ERRBNK_TEBR1_SWDEF_Pos 30U
1709#define ERRBNK_TEBR1_SWDEF_Msk (0x3UL << ERRBNK_TEBR1_SWDEF_Pos)
1711#define ERRBNK_TEBR1_POISON_Pos 28U
1712#define ERRBNK_TEBR1_POISON_Msk (0x1UL << ERRBNK_TEBR1_POISON_Pos)
1714#define ERRBNK_TEBR1_TYPE_Pos 27U
1715#define ERRBNK_TEBR1_TYPE_Msk (0x1UL << ERRBNK_TEBR1_TYPE_Pos)
1717#define ERRBNK_TEBR1_BANK_Pos 24U
1718#define ERRBNK_TEBR1_BANK_Msk (0x3UL << ERRBNK_TEBR1_BANK_Pos)
1720#define ERRBNK_TEBR1_LOCATION_Pos 2U
1721#define ERRBNK_TEBR1_LOCATION_Msk (0x3FFFFFUL << ERRBNK_TEBR1_LOCATION_Pos)
1723#define ERRBNK_TEBR1_LOCKED_Pos 1U
1724#define ERRBNK_TEBR1_LOCKED_Msk (0x1UL << ERRBNK_TEBR1_LOCKED_Pos)
1726#define ERRBNK_TEBR1_VALID_Pos 0U
1727#define ERRBNK_TEBR1_VALID_Msk (0x1UL << )
1744 __OM uint32_t CFGINFOSEL;
1745 __IM uint32_t CFGINFORD;
1767 __IM uint32_t SSPSR;
1768 __IOM uint32_t CSPSR;
1769 uint32_t RESERVED0[2U];
1770 __IOM uint32_t ACPR;
1771 uint32_t RESERVED1[55U];
1772 __IOM uint32_t SPPR;
1773 uint32_t RESERVED2[131U];
1775 __IOM uint32_t FFCR;
1776 __IOM uint32_t PSCR;
1777 uint32_t RESERVED3[809U];
1780 uint32_t RESERVED4[4U];
1782 __IM uint32_t DEVTYPE;
1786#define TPI_ACPR_SWOSCALER_Pos 0U
1787#define TPI_ACPR_SWOSCALER_Msk (0xFFFFUL )
1790#define TPI_SPPR_TXMODE_Pos 0U
1791#define TPI_SPPR_TXMODE_Msk (0x3UL )
1794#define TPI_FFSR_FtNonStop_Pos 3U
1795#define TPI_FFSR_FtNonStop_Msk (0x1UL << TPI_FFSR_FtNonStop_Pos)
1797#define TPI_FFSR_TCPresent_Pos 2U
1798#define TPI_FFSR_TCPresent_Msk (0x1UL << TPI_FFSR_TCPresent_Pos)
1800#define TPI_FFSR_FtStopped_Pos 1U
1801#define TPI_FFSR_FtStopped_Msk (0x1UL << TPI_FFSR_FtStopped_Pos)
1803#define TPI_FFSR_FlInProg_Pos 0U
1804#define TPI_FFSR_FlInProg_Msk (0x1UL )
1807#define TPI_FFCR_TrigIn_Pos 8U
1808#define TPI_FFCR_TrigIn_Msk (0x1UL << TPI_FFCR_TrigIn_Pos)
1810#define TPI_FFCR_FOnMan_Pos 6U
1811#define TPI_FFCR_FOnMan_Msk (0x1UL << TPI_FFCR_FOnMan_Pos)
1813#define TPI_FFCR_EnFmt_Pos 0U
1814#define TPI_FFCR_EnFmt_Msk (0x3UL << )
1817#define TPI_PSCR_PSCount_Pos 0U
1818#define TPI_PSCR_PSCount_Msk (0x1FUL )
1821#define TPI_LSR_nTT_Pos 1U
1822#define TPI_LSR_nTT_Msk (0x1UL << TPI_LSR_nTT_Pos)
1824#define TPI_LSR_SLK_Pos 1U
1825#define TPI_LSR_SLK_Msk (0x1UL << TPI_LSR_SLK_Pos)
1827#define TPI_LSR_SLI_Pos 0U
1828#define TPI_LSR_SLI_Msk (0x1UL )
1831#define TPI_DEVID_NRZVALID_Pos 11U
1832#define TPI_DEVID_NRZVALID_Msk (0x1UL << TPI_DEVID_NRZVALID_Pos)
1834#define TPI_DEVID_MANCVALID_Pos 10U
1835#define TPI_DEVID_MANCVALID_Msk (0x1UL << TPI_DEVID_MANCVALID_Pos)
1837#define TPI_DEVID_PTINVALID_Pos 9U
1838#define TPI_DEVID_PTINVALID_Msk (0x1UL << TPI_DEVID_PTINVALID_Pos)
1840#define TPI_DEVID_FIFOSZ_Pos 6U
1841#define TPI_DEVID_FIFOSZ_Msk (0x7UL << TPI_DEVID_FIFOSZ_Pos)
1844#define TPI_DEVTYPE_SubType_Pos 4U
1845#define TPI_DEVTYPE_SubType_Msk (0xFUL )
1847#define TPI_DEVTYPE_MajorType_Pos 0U
1848#define TPI_DEVTYPE_MajorType_Msk (0xFUL << TPI_DEVTYPE_MajorType_Pos)
1852#if defined (__PMU_PRESENT) && (__PMU_PRESENT == 1U)
1865 __IOM uint32_t EVCNTR[__PMU_NUM_EVENTCNT];
1866#if __PMU_NUM_EVENTCNT<31
1867 uint32_t RESERVED0[31U-__PMU_NUM_EVENTCNT];
1869 __IOM uint32_t CCNTR;
1870 uint32_t RESERVED1[224];
1871 __IOM uint32_t EVTYPER[__PMU_NUM_EVENTCNT];
1872#if __PMU_NUM_EVENTCNT<31
1873 uint32_t RESERVED2[31U-__PMU_NUM_EVENTCNT];
1875 __IOM uint32_t CCFILTR;
1876 uint32_t RESERVED3[480];
1877 __IOM uint32_t CNTENSET;
1878 uint32_t RESERVED4[7];
1879 __IOM uint32_t CNTENCLR;
1880 uint32_t RESERVED5[7];
1881 __IOM uint32_t INTENSET;
1882 uint32_t RESERVED6[7];
1883 __IOM uint32_t INTENCLR;
1884 uint32_t RESERVED7[7];
1885 __IOM uint32_t OVSCLR;
1886 uint32_t RESERVED8[7];
1887 __IOM uint32_t SWINC;
1888 uint32_t RESERVED9[7];
1889 __IOM uint32_t OVSSET;
1890 uint32_t RESERVED10[79];
1891 __IOM uint32_t TYPE;
1892 __IOM uint32_t CTRL;
1893 uint32_t RESERVED11[108];
1894 __IOM uint32_t AUTHSTATUS;
1895 __IOM uint32_t DEVARCH;
1896 uint32_t RESERVED12[3];
1897 __IOM uint32_t DEVTYPE;
1898 __IOM uint32_t PIDR4;
1899 uint32_t RESERVED13[3];
1900 __IOM uint32_t PIDR0;
1901 __IOM uint32_t PIDR1;
1902 __IOM uint32_t PIDR2;
1903 __IOM uint32_t PIDR3;
1904 __IOM uint32_t CIDR0;
1905 __IOM uint32_t CIDR1;
1906 __IOM uint32_t CIDR2;
1907 __IOM uint32_t CIDR3;
1912#define PMU_EVCNTR_CNT_Pos 0U
1913#define PMU_EVCNTR_CNT_Msk (0xFFFFUL )
1917#define PMU_EVTYPER_EVENTTOCNT_Pos 0U
1918#define PMU_EVTYPER_EVENTTOCNT_Msk (0xFFFFUL )
1922#define PMU_CNTENSET_CNT0_ENABLE_Pos 0U
1923#define PMU_CNTENSET_CNT0_ENABLE_Msk (1UL )
1925#define PMU_CNTENSET_CNT1_ENABLE_Pos 1U
1926#define PMU_CNTENSET_CNT1_ENABLE_Msk (1UL << PMU_CNTENSET_CNT1_ENABLE_Pos)
1928#define PMU_CNTENSET_CNT2_ENABLE_Pos 2U
1929#define PMU_CNTENSET_CNT2_ENABLE_Msk (1UL << PMU_CNTENSET_CNT2_ENABLE_Pos)
1931#define PMU_CNTENSET_CNT3_ENABLE_Pos 3U
1932#define PMU_CNTENSET_CNT3_ENABLE_Msk (1UL << PMU_CNTENSET_CNT3_ENABLE_Pos)
1934#define PMU_CNTENSET_CNT4_ENABLE_Pos 4U
1935#define PMU_CNTENSET_CNT4_ENABLE_Msk (1UL << PMU_CNTENSET_CNT4_ENABLE_Pos)
1937#define PMU_CNTENSET_CNT5_ENABLE_Pos 5U
1938#define PMU_CNTENSET_CNT5_ENABLE_Msk (1UL << PMU_CNTENSET_CNT5_ENABLE_Pos)
1940#define PMU_CNTENSET_CNT6_ENABLE_Pos 6U
1941#define PMU_CNTENSET_CNT6_ENABLE_Msk (1UL << PMU_CNTENSET_CNT6_ENABLE_Pos)
1943#define PMU_CNTENSET_CNT7_ENABLE_Pos 7U
1944#define PMU_CNTENSET_CNT7_ENABLE_Msk (1UL << PMU_CNTENSET_CNT7_ENABLE_Pos)
1946#define PMU_CNTENSET_CNT8_ENABLE_Pos 8U
1947#define PMU_CNTENSET_CNT8_ENABLE_Msk (1UL << PMU_CNTENSET_CNT8_ENABLE_Pos)
1949#define PMU_CNTENSET_CNT9_ENABLE_Pos 9U
1950#define PMU_CNTENSET_CNT9_ENABLE_Msk (1UL << PMU_CNTENSET_CNT9_ENABLE_Pos)
1952#define PMU_CNTENSET_CNT10_ENABLE_Pos 10U
1953#define PMU_CNTENSET_CNT10_ENABLE_Msk (1UL << PMU_CNTENSET_CNT10_ENABLE_Pos)
1955#define PMU_CNTENSET_CNT11_ENABLE_Pos 11U
1956#define PMU_CNTENSET_CNT11_ENABLE_Msk (1UL << PMU_CNTENSET_CNT11_ENABLE_Pos)
1958#define PMU_CNTENSET_CNT12_ENABLE_Pos 12U
1959#define PMU_CNTENSET_CNT12_ENABLE_Msk (1UL << PMU_CNTENSET_CNT12_ENABLE_Pos)
1961#define PMU_CNTENSET_CNT13_ENABLE_Pos 13U
1962#define PMU_CNTENSET_CNT13_ENABLE_Msk (1UL << PMU_CNTENSET_CNT13_ENABLE_Pos)
1964#define PMU_CNTENSET_CNT14_ENABLE_Pos 14U
1965#define PMU_CNTENSET_CNT14_ENABLE_Msk (1UL << PMU_CNTENSET_CNT14_ENABLE_Pos)
1967#define PMU_CNTENSET_CNT15_ENABLE_Pos 15U
1968#define PMU_CNTENSET_CNT15_ENABLE_Msk (1UL << PMU_CNTENSET_CNT15_ENABLE_Pos)
1970#define PMU_CNTENSET_CNT16_ENABLE_Pos 16U
1971#define PMU_CNTENSET_CNT16_ENABLE_Msk (1UL << PMU_CNTENSET_CNT16_ENABLE_Pos)
1973#define PMU_CNTENSET_CNT17_ENABLE_Pos 17U
1974#define PMU_CNTENSET_CNT17_ENABLE_Msk (1UL << PMU_CNTENSET_CNT17_ENABLE_Pos)
1976#define PMU_CNTENSET_CNT18_ENABLE_Pos 18U
1977#define PMU_CNTENSET_CNT18_ENABLE_Msk (1UL << PMU_CNTENSET_CNT18_ENABLE_Pos)
1979#define PMU_CNTENSET_CNT19_ENABLE_Pos 19U
1980#define PMU_CNTENSET_CNT19_ENABLE_Msk (1UL << PMU_CNTENSET_CNT19_ENABLE_Pos)
1982#define PMU_CNTENSET_CNT20_ENABLE_Pos 20U
1983#define PMU_CNTENSET_CNT20_ENABLE_Msk (1UL << PMU_CNTENSET_CNT20_ENABLE_Pos)
1985#define PMU_CNTENSET_CNT21_ENABLE_Pos 21U
1986#define PMU_CNTENSET_CNT21_ENABLE_Msk (1UL << PMU_CNTENSET_CNT21_ENABLE_Pos)
1988#define PMU_CNTENSET_CNT22_ENABLE_Pos 22U
1989#define PMU_CNTENSET_CNT22_ENABLE_Msk (1UL << PMU_CNTENSET_CNT22_ENABLE_Pos)
1991#define PMU_CNTENSET_CNT23_ENABLE_Pos 23U
1992#define PMU_CNTENSET_CNT23_ENABLE_Msk (1UL << PMU_CNTENSET_CNT23_ENABLE_Pos)
1994#define PMU_CNTENSET_CNT24_ENABLE_Pos 24U
1995#define PMU_CNTENSET_CNT24_ENABLE_Msk (1UL << PMU_CNTENSET_CNT24_ENABLE_Pos)
1997#define PMU_CNTENSET_CNT25_ENABLE_Pos 25U
1998#define PMU_CNTENSET_CNT25_ENABLE_Msk (1UL << PMU_CNTENSET_CNT25_ENABLE_Pos)
2000#define PMU_CNTENSET_CNT26_ENABLE_Pos 26U
2001#define PMU_CNTENSET_CNT26_ENABLE_Msk (1UL << PMU_CNTENSET_CNT26_ENABLE_Pos)
2003#define PMU_CNTENSET_CNT27_ENABLE_Pos 27U
2004#define PMU_CNTENSET_CNT27_ENABLE_Msk (1UL << PMU_CNTENSET_CNT27_ENABLE_Pos)
2006#define PMU_CNTENSET_CNT28_ENABLE_Pos 28U
2007#define PMU_CNTENSET_CNT28_ENABLE_Msk (1UL << PMU_CNTENSET_CNT28_ENABLE_Pos)
2009#define PMU_CNTENSET_CNT29_ENABLE_Pos 29U
2010#define PMU_CNTENSET_CNT29_ENABLE_Msk (1UL << PMU_CNTENSET_CNT29_ENABLE_Pos)
2012#define PMU_CNTENSET_CNT30_ENABLE_Pos 30U
2013#define PMU_CNTENSET_CNT30_ENABLE_Msk (1UL << PMU_CNTENSET_CNT30_ENABLE_Pos)
2015#define PMU_CNTENSET_CCNTR_ENABLE_Pos 31U
2016#define PMU_CNTENSET_CCNTR_ENABLE_Msk (1UL << PMU_CNTENSET_CCNTR_ENABLE_Pos)
2020#define PMU_CNTENSET_CNT0_ENABLE_Pos 0U
2021#define PMU_CNTENCLR_CNT0_ENABLE_Msk (1UL )
2023#define PMU_CNTENCLR_CNT1_ENABLE_Pos 1U
2024#define PMU_CNTENCLR_CNT1_ENABLE_Msk (1UL << PMU_CNTENCLR_CNT1_ENABLE_Pos)
2026#define PMU_CNTENCLR_CNT2_ENABLE_Pos 2U
2027#define PMU_CNTENCLR_CNT2_ENABLE_Msk (1UL << PMU_CNTENCLR_CNT2_ENABLE_Pos)
2029#define PMU_CNTENCLR_CNT3_ENABLE_Pos 3U
2030#define PMU_CNTENCLR_CNT3_ENABLE_Msk (1UL << PMU_CNTENCLR_CNT3_ENABLE_Pos)
2032#define PMU_CNTENCLR_CNT4_ENABLE_Pos 4U
2033#define PMU_CNTENCLR_CNT4_ENABLE_Msk (1UL << PMU_CNTENCLR_CNT4_ENABLE_Pos)
2035#define PMU_CNTENCLR_CNT5_ENABLE_Pos 5U
2036#define PMU_CNTENCLR_CNT5_ENABLE_Msk (1UL << PMU_CNTENCLR_CNT5_ENABLE_Pos)
2038#define PMU_CNTENCLR_CNT6_ENABLE_Pos 6U
2039#define PMU_CNTENCLR_CNT6_ENABLE_Msk (1UL << PMU_CNTENCLR_CNT6_ENABLE_Pos)
2041#define PMU_CNTENCLR_CNT7_ENABLE_Pos 7U
2042#define PMU_CNTENCLR_CNT7_ENABLE_Msk (1UL << PMU_CNTENCLR_CNT7_ENABLE_Pos)
2044#define PMU_CNTENCLR_CNT8_ENABLE_Pos 8U
2045#define PMU_CNTENCLR_CNT8_ENABLE_Msk (1UL << PMU_CNTENCLR_CNT8_ENABLE_Pos)
2047#define PMU_CNTENCLR_CNT9_ENABLE_Pos 9U
2048#define PMU_CNTENCLR_CNT9_ENABLE_Msk (1UL << PMU_CNTENCLR_CNT9_ENABLE_Pos)
2050#define PMU_CNTENCLR_CNT10_ENABLE_Pos 10U
2051#define PMU_CNTENCLR_CNT10_ENABLE_Msk (1UL << PMU_CNTENCLR_CNT10_ENABLE_Pos)
2053#define PMU_CNTENCLR_CNT11_ENABLE_Pos 11U
2054#define PMU_CNTENCLR_CNT11_ENABLE_Msk (1UL << PMU_CNTENCLR_CNT11_ENABLE_Pos)
2056#define PMU_CNTENCLR_CNT12_ENABLE_Pos 12U
2057#define PMU_CNTENCLR_CNT12_ENABLE_Msk (1UL << PMU_CNTENCLR_CNT12_ENABLE_Pos)
2059#define PMU_CNTENCLR_CNT13_ENABLE_Pos 13U
2060#define PMU_CNTENCLR_CNT13_ENABLE_Msk (1UL << PMU_CNTENCLR_CNT13_ENABLE_Pos)
2062#define PMU_CNTENCLR_CNT14_ENABLE_Pos 14U
2063#define PMU_CNTENCLR_CNT14_ENABLE_Msk (1UL << PMU_CNTENCLR_CNT14_ENABLE_Pos)
2065#define PMU_CNTENCLR_CNT15_ENABLE_Pos 15U
2066#define PMU_CNTENCLR_CNT15_ENABLE_Msk (1UL << PMU_CNTENCLR_CNT15_ENABLE_Pos)
2068#define PMU_CNTENCLR_CNT16_ENABLE_Pos 16U
2069#define PMU_CNTENCLR_CNT16_ENABLE_Msk (1UL << PMU_CNTENCLR_CNT16_ENABLE_Pos)
2071#define PMU_CNTENCLR_CNT17_ENABLE_Pos 17U
2072#define PMU_CNTENCLR_CNT17_ENABLE_Msk (1UL << PMU_CNTENCLR_CNT17_ENABLE_Pos)
2074#define PMU_CNTENCLR_CNT18_ENABLE_Pos 18U
2075#define PMU_CNTENCLR_CNT18_ENABLE_Msk (1UL << PMU_CNTENCLR_CNT18_ENABLE_Pos)
2077#define PMU_CNTENCLR_CNT19_ENABLE_Pos 19U
2078#define PMU_CNTENCLR_CNT19_ENABLE_Msk (1UL << PMU_CNTENCLR_CNT19_ENABLE_Pos)
2080#define PMU_CNTENCLR_CNT20_ENABLE_Pos 20U
2081#define PMU_CNTENCLR_CNT20_ENABLE_Msk (1UL << PMU_CNTENCLR_CNT20_ENABLE_Pos)
2083#define PMU_CNTENCLR_CNT21_ENABLE_Pos 21U
2084#define PMU_CNTENCLR_CNT21_ENABLE_Msk (1UL << PMU_CNTENCLR_CNT21_ENABLE_Pos)
2086#define PMU_CNTENCLR_CNT22_ENABLE_Pos 22U
2087#define PMU_CNTENCLR_CNT22_ENABLE_Msk (1UL << PMU_CNTENCLR_CNT22_ENABLE_Pos)
2089#define PMU_CNTENCLR_CNT23_ENABLE_Pos 23U
2090#define PMU_CNTENCLR_CNT23_ENABLE_Msk (1UL << PMU_CNTENCLR_CNT23_ENABLE_Pos)
2092#define PMU_CNTENCLR_CNT24_ENABLE_Pos 24U
2093#define PMU_CNTENCLR_CNT24_ENABLE_Msk (1UL << PMU_CNTENCLR_CNT24_ENABLE_Pos)
2095#define PMU_CNTENCLR_CNT25_ENABLE_Pos 25U
2096#define PMU_CNTENCLR_CNT25_ENABLE_Msk (1UL << PMU_CNTENCLR_CNT25_ENABLE_Pos)
2098#define PMU_CNTENCLR_CNT26_ENABLE_Pos 26U
2099#define PMU_CNTENCLR_CNT26_ENABLE_Msk (1UL << PMU_CNTENCLR_CNT26_ENABLE_Pos)
2101#define PMU_CNTENCLR_CNT27_ENABLE_Pos 27U
2102#define PMU_CNTENCLR_CNT27_ENABLE_Msk (1UL << PMU_CNTENCLR_CNT27_ENABLE_Pos)
2104#define PMU_CNTENCLR_CNT28_ENABLE_Pos 28U
2105#define PMU_CNTENCLR_CNT28_ENABLE_Msk (1UL << PMU_CNTENCLR_CNT28_ENABLE_Pos)
2107#define PMU_CNTENCLR_CNT29_ENABLE_Pos 29U
2108#define PMU_CNTENCLR_CNT29_ENABLE_Msk (1UL << PMU_CNTENCLR_CNT29_ENABLE_Pos)
2110#define PMU_CNTENCLR_CNT30_ENABLE_Pos 30U
2111#define PMU_CNTENCLR_CNT30_ENABLE_Msk (1UL << PMU_CNTENCLR_CNT30_ENABLE_Pos)
2113#define PMU_CNTENCLR_CCNTR_ENABLE_Pos 31U
2114#define PMU_CNTENCLR_CCNTR_ENABLE_Msk (1UL << PMU_CNTENCLR_CCNTR_ENABLE_Pos)
2118#define PMU_INTENSET_CNT0_ENABLE_Pos 0U
2119#define PMU_INTENSET_CNT0_ENABLE_Msk (1UL )
2121#define PMU_INTENSET_CNT1_ENABLE_Pos 1U
2122#define PMU_INTENSET_CNT1_ENABLE_Msk (1UL << PMU_INTENSET_CNT1_ENABLE_Pos)
2124#define PMU_INTENSET_CNT2_ENABLE_Pos 2U
2125#define PMU_INTENSET_CNT2_ENABLE_Msk (1UL << PMU_INTENSET_CNT2_ENABLE_Pos)
2127#define PMU_INTENSET_CNT3_ENABLE_Pos 3U
2128#define PMU_INTENSET_CNT3_ENABLE_Msk (1UL << PMU_INTENSET_CNT3_ENABLE_Pos)
2130#define PMU_INTENSET_CNT4_ENABLE_Pos 4U
2131#define PMU_INTENSET_CNT4_ENABLE_Msk (1UL << PMU_INTENSET_CNT4_ENABLE_Pos)
2133#define PMU_INTENSET_CNT5_ENABLE_Pos 5U
2134#define PMU_INTENSET_CNT5_ENABLE_Msk (1UL << PMU_INTENSET_CNT5_ENABLE_Pos)
2136#define PMU_INTENSET_CNT6_ENABLE_Pos 6U
2137#define PMU_INTENSET_CNT6_ENABLE_Msk (1UL << PMU_INTENSET_CNT6_ENABLE_Pos)
2139#define PMU_INTENSET_CNT7_ENABLE_Pos 7U
2140#define PMU_INTENSET_CNT7_ENABLE_Msk (1UL << PMU_INTENSET_CNT7_ENABLE_Pos)
2142#define PMU_INTENSET_CNT8_ENABLE_Pos 8U
2143#define PMU_INTENSET_CNT8_ENABLE_Msk (1UL << PMU_INTENSET_CNT8_ENABLE_Pos)
2145#define PMU_INTENSET_CNT9_ENABLE_Pos 9U
2146#define PMU_INTENSET_CNT9_ENABLE_Msk (1UL << PMU_INTENSET_CNT9_ENABLE_Pos)
2148#define PMU_INTENSET_CNT10_ENABLE_Pos 10U
2149#define PMU_INTENSET_CNT10_ENABLE_Msk (1UL << PMU_INTENSET_CNT10_ENABLE_Pos)
2151#define PMU_INTENSET_CNT11_ENABLE_Pos 11U
2152#define PMU_INTENSET_CNT11_ENABLE_Msk (1UL << PMU_INTENSET_CNT11_ENABLE_Pos)
2154#define PMU_INTENSET_CNT12_ENABLE_Pos 12U
2155#define PMU_INTENSET_CNT12_ENABLE_Msk (1UL << PMU_INTENSET_CNT12_ENABLE_Pos)
2157#define PMU_INTENSET_CNT13_ENABLE_Pos 13U
2158#define PMU_INTENSET_CNT13_ENABLE_Msk (1UL << PMU_INTENSET_CNT13_ENABLE_Pos)
2160#define PMU_INTENSET_CNT14_ENABLE_Pos 14U
2161#define PMU_INTENSET_CNT14_ENABLE_Msk (1UL << PMU_INTENSET_CNT14_ENABLE_Pos)
2163#define PMU_INTENSET_CNT15_ENABLE_Pos 15U
2164#define PMU_INTENSET_CNT15_ENABLE_Msk (1UL << PMU_INTENSET_CNT15_ENABLE_Pos)
2166#define PMU_INTENSET_CNT16_ENABLE_Pos 16U
2167#define PMU_INTENSET_CNT16_ENABLE_Msk (1UL << PMU_INTENSET_CNT16_ENABLE_Pos)
2169#define PMU_INTENSET_CNT17_ENABLE_Pos 17U
2170#define PMU_INTENSET_CNT17_ENABLE_Msk (1UL << PMU_INTENSET_CNT17_ENABLE_Pos)
2172#define PMU_INTENSET_CNT18_ENABLE_Pos 18U
2173#define PMU_INTENSET_CNT18_ENABLE_Msk (1UL << PMU_INTENSET_CNT18_ENABLE_Pos)
2175#define PMU_INTENSET_CNT19_ENABLE_Pos 19U
2176#define PMU_INTENSET_CNT19_ENABLE_Msk (1UL << PMU_INTENSET_CNT19_ENABLE_Pos)
2178#define PMU_INTENSET_CNT20_ENABLE_Pos 20U
2179#define PMU_INTENSET_CNT20_ENABLE_Msk (1UL << PMU_INTENSET_CNT20_ENABLE_Pos)
2181#define PMU_INTENSET_CNT21_ENABLE_Pos 21U
2182#define PMU_INTENSET_CNT21_ENABLE_Msk (1UL << PMU_INTENSET_CNT21_ENABLE_Pos)
2184#define PMU_INTENSET_CNT22_ENABLE_Pos 22U
2185#define PMU_INTENSET_CNT22_ENABLE_Msk (1UL << PMU_INTENSET_CNT22_ENABLE_Pos)
2187#define PMU_INTENSET_CNT23_ENABLE_Pos 23U
2188#define PMU_INTENSET_CNT23_ENABLE_Msk (1UL << PMU_INTENSET_CNT23_ENABLE_Pos)
2190#define PMU_INTENSET_CNT24_ENABLE_Pos 24U
2191#define PMU_INTENSET_CNT24_ENABLE_Msk (1UL << PMU_INTENSET_CNT24_ENABLE_Pos)
2193#define PMU_INTENSET_CNT25_ENABLE_Pos 25U
2194#define PMU_INTENSET_CNT25_ENABLE_Msk (1UL << PMU_INTENSET_CNT25_ENABLE_Pos)
2196#define PMU_INTENSET_CNT26_ENABLE_Pos 26U
2197#define PMU_INTENSET_CNT26_ENABLE_Msk (1UL << PMU_INTENSET_CNT26_ENABLE_Pos)
2199#define PMU_INTENSET_CNT27_ENABLE_Pos 27U
2200#define PMU_INTENSET_CNT27_ENABLE_Msk (1UL << PMU_INTENSET_CNT27_ENABLE_Pos)
2202#define PMU_INTENSET_CNT28_ENABLE_Pos 28U
2203#define PMU_INTENSET_CNT28_ENABLE_Msk (1UL << PMU_INTENSET_CNT28_ENABLE_Pos)
2205#define PMU_INTENSET_CNT29_ENABLE_Pos 29U
2206#define PMU_INTENSET_CNT29_ENABLE_Msk (1UL << PMU_INTENSET_CNT29_ENABLE_Pos)
2208#define PMU_INTENSET_CNT30_ENABLE_Pos 30U
2209#define PMU_INTENSET_CNT30_ENABLE_Msk (1UL << PMU_INTENSET_CNT30_ENABLE_Pos)
2211#define PMU_INTENSET_CYCCNT_ENABLE_Pos 31U
2212#define PMU_INTENSET_CCYCNT_ENABLE_Msk (1UL << PMU_INTENSET_CYCCNT_ENABLE_Pos)
2216#define PMU_INTENSET_CNT0_ENABLE_Pos 0U
2217#define PMU_INTENCLR_CNT0_ENABLE_Msk (1UL )
2219#define PMU_INTENCLR_CNT1_ENABLE_Pos 1U
2220#define PMU_INTENCLR_CNT1_ENABLE_Msk (1UL << PMU_INTENCLR_CNT1_ENABLE_Pos)
2222#define PMU_INTENCLR_CNT2_ENABLE_Pos 2U
2223#define PMU_INTENCLR_CNT2_ENABLE_Msk (1UL << PMU_INTENCLR_CNT2_ENABLE_Pos)
2225#define PMU_INTENCLR_CNT3_ENABLE_Pos 3U
2226#define PMU_INTENCLR_CNT3_ENABLE_Msk (1UL << PMU_INTENCLR_CNT3_ENABLE_Pos)
2228#define PMU_INTENCLR_CNT4_ENABLE_Pos 4U
2229#define PMU_INTENCLR_CNT4_ENABLE_Msk (1UL << PMU_INTENCLR_CNT4_ENABLE_Pos)
2231#define PMU_INTENCLR_CNT5_ENABLE_Pos 5U
2232#define PMU_INTENCLR_CNT5_ENABLE_Msk (1UL << PMU_INTENCLR_CNT5_ENABLE_Pos)
2234#define PMU_INTENCLR_CNT6_ENABLE_Pos 6U
2235#define PMU_INTENCLR_CNT6_ENABLE_Msk (1UL << PMU_INTENCLR_CNT6_ENABLE_Pos)
2237#define PMU_INTENCLR_CNT7_ENABLE_Pos 7U
2238#define PMU_INTENCLR_CNT7_ENABLE_Msk (1UL << PMU_INTENCLR_CNT7_ENABLE_Pos)
2240#define PMU_INTENCLR_CNT8_ENABLE_Pos 8U
2241#define PMU_INTENCLR_CNT8_ENABLE_Msk (1UL << PMU_INTENCLR_CNT8_ENABLE_Pos)
2243#define PMU_INTENCLR_CNT9_ENABLE_Pos 9U
2244#define PMU_INTENCLR_CNT9_ENABLE_Msk (1UL << PMU_INTENCLR_CNT9_ENABLE_Pos)
2246#define PMU_INTENCLR_CNT10_ENABLE_Pos 10U
2247#define PMU_INTENCLR_CNT10_ENABLE_Msk (1UL << PMU_INTENCLR_CNT10_ENABLE_Pos)
2249#define PMU_INTENCLR_CNT11_ENABLE_Pos 11U
2250#define PMU_INTENCLR_CNT11_ENABLE_Msk (1UL << PMU_INTENCLR_CNT11_ENABLE_Pos)
2252#define PMU_INTENCLR_CNT12_ENABLE_Pos 12U
2253#define PMU_INTENCLR_CNT12_ENABLE_Msk (1UL << PMU_INTENCLR_CNT12_ENABLE_Pos)
2255#define PMU_INTENCLR_CNT13_ENABLE_Pos 13U
2256#define PMU_INTENCLR_CNT13_ENABLE_Msk (1UL << PMU_INTENCLR_CNT13_ENABLE_Pos)
2258#define PMU_INTENCLR_CNT14_ENABLE_Pos 14U
2259#define PMU_INTENCLR_CNT14_ENABLE_Msk (1UL << PMU_INTENCLR_CNT14_ENABLE_Pos)
2261#define PMU_INTENCLR_CNT15_ENABLE_Pos 15U
2262#define PMU_INTENCLR_CNT15_ENABLE_Msk (1UL << PMU_INTENCLR_CNT15_ENABLE_Pos)
2264#define PMU_INTENCLR_CNT16_ENABLE_Pos 16U
2265#define PMU_INTENCLR_CNT16_ENABLE_Msk (1UL << PMU_INTENCLR_CNT16_ENABLE_Pos)
2267#define PMU_INTENCLR_CNT17_ENABLE_Pos 17U
2268#define PMU_INTENCLR_CNT17_ENABLE_Msk (1UL << PMU_INTENCLR_CNT17_ENABLE_Pos)
2270#define PMU_INTENCLR_CNT18_ENABLE_Pos 18U
2271#define PMU_INTENCLR_CNT18_ENABLE_Msk (1UL << PMU_INTENCLR_CNT18_ENABLE_Pos)
2273#define PMU_INTENCLR_CNT19_ENABLE_Pos 19U
2274#define PMU_INTENCLR_CNT19_ENABLE_Msk (1UL << PMU_INTENCLR_CNT19_ENABLE_Pos)
2276#define PMU_INTENCLR_CNT20_ENABLE_Pos 20U
2277#define PMU_INTENCLR_CNT20_ENABLE_Msk (1UL << PMU_INTENCLR_CNT20_ENABLE_Pos)
2279#define PMU_INTENCLR_CNT21_ENABLE_Pos 21U
2280#define PMU_INTENCLR_CNT21_ENABLE_Msk (1UL << PMU_INTENCLR_CNT21_ENABLE_Pos)
2282#define PMU_INTENCLR_CNT22_ENABLE_Pos 22U
2283#define PMU_INTENCLR_CNT22_ENABLE_Msk (1UL << PMU_INTENCLR_CNT22_ENABLE_Pos)
2285#define PMU_INTENCLR_CNT23_ENABLE_Pos 23U
2286#define PMU_INTENCLR_CNT23_ENABLE_Msk (1UL << PMU_INTENCLR_CNT23_ENABLE_Pos)
2288#define PMU_INTENCLR_CNT24_ENABLE_Pos 24U
2289#define PMU_INTENCLR_CNT24_ENABLE_Msk (1UL << PMU_INTENCLR_CNT24_ENABLE_Pos)
2291#define PMU_INTENCLR_CNT25_ENABLE_Pos 25U
2292#define PMU_INTENCLR_CNT25_ENABLE_Msk (1UL << PMU_INTENCLR_CNT25_ENABLE_Pos)
2294#define PMU_INTENCLR_CNT26_ENABLE_Pos 26U
2295#define PMU_INTENCLR_CNT26_ENABLE_Msk (1UL << PMU_INTENCLR_CNT26_ENABLE_Pos)
2297#define PMU_INTENCLR_CNT27_ENABLE_Pos 27U
2298#define PMU_INTENCLR_CNT27_ENABLE_Msk (1UL << PMU_INTENCLR_CNT27_ENABLE_Pos)
2300#define PMU_INTENCLR_CNT28_ENABLE_Pos 28U
2301#define PMU_INTENCLR_CNT28_ENABLE_Msk (1UL << PMU_INTENCLR_CNT28_ENABLE_Pos)
2303#define PMU_INTENCLR_CNT29_ENABLE_Pos 29U
2304#define PMU_INTENCLR_CNT29_ENABLE_Msk (1UL << PMU_INTENCLR_CNT29_ENABLE_Pos)
2306#define PMU_INTENCLR_CNT30_ENABLE_Pos 30U
2307#define PMU_INTENCLR_CNT30_ENABLE_Msk (1UL << PMU_INTENCLR_CNT30_ENABLE_Pos)
2309#define PMU_INTENCLR_CYCCNT_ENABLE_Pos 31U
2310#define PMU_INTENCLR_CYCCNT_ENABLE_Msk (1UL << PMU_INTENCLR_CYCCNT_ENABLE_Pos)
2314#define PMU_OVSSET_CNT0_STATUS_Pos 0U
2315#define PMU_OVSSET_CNT0_STATUS_Msk (1UL )
2317#define PMU_OVSSET_CNT1_STATUS_Pos 1U
2318#define PMU_OVSSET_CNT1_STATUS_Msk (1UL << PMU_OVSSET_CNT1_STATUS_Pos)
2320#define PMU_OVSSET_CNT2_STATUS_Pos 2U
2321#define PMU_OVSSET_CNT2_STATUS_Msk (1UL << PMU_OVSSET_CNT2_STATUS_Pos)
2323#define PMU_OVSSET_CNT3_STATUS_Pos 3U
2324#define PMU_OVSSET_CNT3_STATUS_Msk (1UL << PMU_OVSSET_CNT3_STATUS_Pos)
2326#define PMU_OVSSET_CNT4_STATUS_Pos 4U
2327#define PMU_OVSSET_CNT4_STATUS_Msk (1UL << PMU_OVSSET_CNT4_STATUS_Pos)
2329#define PMU_OVSSET_CNT5_STATUS_Pos 5U
2330#define PMU_OVSSET_CNT5_STATUS_Msk (1UL << PMU_OVSSET_CNT5_STATUS_Pos)
2332#define PMU_OVSSET_CNT6_STATUS_Pos 6U
2333#define PMU_OVSSET_CNT6_STATUS_Msk (1UL << PMU_OVSSET_CNT6_STATUS_Pos)
2335#define PMU_OVSSET_CNT7_STATUS_Pos 7U
2336#define PMU_OVSSET_CNT7_STATUS_Msk (1UL << PMU_OVSSET_CNT7_STATUS_Pos)
2338#define PMU_OVSSET_CNT8_STATUS_Pos 8U
2339#define PMU_OVSSET_CNT8_STATUS_Msk (1UL << PMU_OVSSET_CNT8_STATUS_Pos)
2341#define PMU_OVSSET_CNT9_STATUS_Pos 9U
2342#define PMU_OVSSET_CNT9_STATUS_Msk (1UL << PMU_OVSSET_CNT9_STATUS_Pos)
2344#define PMU_OVSSET_CNT10_STATUS_Pos 10U
2345#define PMU_OVSSET_CNT10_STATUS_Msk (1UL << PMU_OVSSET_CNT10_STATUS_Pos)
2347#define PMU_OVSSET_CNT11_STATUS_Pos 11U
2348#define PMU_OVSSET_CNT11_STATUS_Msk (1UL << PMU_OVSSET_CNT11_STATUS_Pos)
2350#define PMU_OVSSET_CNT12_STATUS_Pos 12U
2351#define PMU_OVSSET_CNT12_STATUS_Msk (1UL << PMU_OVSSET_CNT12_STATUS_Pos)
2353#define PMU_OVSSET_CNT13_STATUS_Pos 13U
2354#define PMU_OVSSET_CNT13_STATUS_Msk (1UL << PMU_OVSSET_CNT13_STATUS_Pos)
2356#define PMU_OVSSET_CNT14_STATUS_Pos 14U
2357#define PMU_OVSSET_CNT14_STATUS_Msk (1UL << PMU_OVSSET_CNT14_STATUS_Pos)
2359#define PMU_OVSSET_CNT15_STATUS_Pos 15U
2360#define PMU_OVSSET_CNT15_STATUS_Msk (1UL << PMU_OVSSET_CNT15_STATUS_Pos)
2362#define PMU_OVSSET_CNT16_STATUS_Pos 16U
2363#define PMU_OVSSET_CNT16_STATUS_Msk (1UL << PMU_OVSSET_CNT16_STATUS_Pos)
2365#define PMU_OVSSET_CNT17_STATUS_Pos 17U
2366#define PMU_OVSSET_CNT17_STATUS_Msk (1UL << PMU_OVSSET_CNT17_STATUS_Pos)
2368#define PMU_OVSSET_CNT18_STATUS_Pos 18U
2369#define PMU_OVSSET_CNT18_STATUS_Msk (1UL << PMU_OVSSET_CNT18_STATUS_Pos)
2371#define PMU_OVSSET_CNT19_STATUS_Pos 19U
2372#define PMU_OVSSET_CNT19_STATUS_Msk (1UL << PMU_OVSSET_CNT19_STATUS_Pos)
2374#define PMU_OVSSET_CNT20_STATUS_Pos 20U
2375#define PMU_OVSSET_CNT20_STATUS_Msk (1UL << PMU_OVSSET_CNT20_STATUS_Pos)
2377#define PMU_OVSSET_CNT21_STATUS_Pos 21U
2378#define PMU_OVSSET_CNT21_STATUS_Msk (1UL << PMU_OVSSET_CNT21_STATUS_Pos)
2380#define PMU_OVSSET_CNT22_STATUS_Pos 22U
2381#define PMU_OVSSET_CNT22_STATUS_Msk (1UL << PMU_OVSSET_CNT22_STATUS_Pos)
2383#define PMU_OVSSET_CNT23_STATUS_Pos 23U
2384#define PMU_OVSSET_CNT23_STATUS_Msk (1UL << PMU_OVSSET_CNT23_STATUS_Pos)
2386#define PMU_OVSSET_CNT24_STATUS_Pos 24U
2387#define PMU_OVSSET_CNT24_STATUS_Msk (1UL << PMU_OVSSET_CNT24_STATUS_Pos)
2389#define PMU_OVSSET_CNT25_STATUS_Pos 25U
2390#define PMU_OVSSET_CNT25_STATUS_Msk (1UL << PMU_OVSSET_CNT25_STATUS_Pos)
2392#define PMU_OVSSET_CNT26_STATUS_Pos 26U
2393#define PMU_OVSSET_CNT26_STATUS_Msk (1UL << PMU_OVSSET_CNT26_STATUS_Pos)
2395#define PMU_OVSSET_CNT27_STATUS_Pos 27U
2396#define PMU_OVSSET_CNT27_STATUS_Msk (1UL << PMU_OVSSET_CNT27_STATUS_Pos)
2398#define PMU_OVSSET_CNT28_STATUS_Pos 28U
2399#define PMU_OVSSET_CNT28_STATUS_Msk (1UL << PMU_OVSSET_CNT28_STATUS_Pos)
2401#define PMU_OVSSET_CNT29_STATUS_Pos 29U
2402#define PMU_OVSSET_CNT29_STATUS_Msk (1UL << PMU_OVSSET_CNT29_STATUS_Pos)
2404#define PMU_OVSSET_CNT30_STATUS_Pos 30U
2405#define PMU_OVSSET_CNT30_STATUS_Msk (1UL << PMU_OVSSET_CNT30_STATUS_Pos)
2407#define PMU_OVSSET_CYCCNT_STATUS_Pos 31U
2408#define PMU_OVSSET_CYCCNT_STATUS_Msk (1UL << PMU_OVSSET_CYCCNT_STATUS_Pos)
2412#define PMU_OVSCLR_CNT0_STATUS_Pos 0U
2413#define PMU_OVSCLR_CNT0_STATUS_Msk (1UL )
2415#define PMU_OVSCLR_CNT1_STATUS_Pos 1U
2416#define PMU_OVSCLR_CNT1_STATUS_Msk (1UL << PMU_OVSCLR_CNT1_STATUS_Pos)
2418#define PMU_OVSCLR_CNT2_STATUS_Pos 2U
2419#define PMU_OVSCLR_CNT2_STATUS_Msk (1UL << PMU_OVSCLR_CNT2_STATUS_Pos)
2421#define PMU_OVSCLR_CNT3_STATUS_Pos 3U
2422#define PMU_OVSCLR_CNT3_STATUS_Msk (1UL << PMU_OVSCLR_CNT3_STATUS_Pos)
2424#define PMU_OVSCLR_CNT4_STATUS_Pos 4U
2425#define PMU_OVSCLR_CNT4_STATUS_Msk (1UL << PMU_OVSCLR_CNT4_STATUS_Pos)
2427#define PMU_OVSCLR_CNT5_STATUS_Pos 5U
2428#define PMU_OVSCLR_CNT5_STATUS_Msk (1UL << PMU_OVSCLR_CNT5_STATUS_Pos)
2430#define PMU_OVSCLR_CNT6_STATUS_Pos 6U
2431#define PMU_OVSCLR_CNT6_STATUS_Msk (1UL << PMU_OVSCLR_CNT6_STATUS_Pos)
2433#define PMU_OVSCLR_CNT7_STATUS_Pos 7U
2434#define PMU_OVSCLR_CNT7_STATUS_Msk (1UL << PMU_OVSCLR_CNT7_STATUS_Pos)
2436#define PMU_OVSCLR_CNT8_STATUS_Pos 8U
2437#define PMU_OVSCLR_CNT8_STATUS_Msk (1UL << PMU_OVSCLR_CNT8_STATUS_Pos)
2439#define PMU_OVSCLR_CNT9_STATUS_Pos 9U
2440#define PMU_OVSCLR_CNT9_STATUS_Msk (1UL << PMU_OVSCLR_CNT9_STATUS_Pos)
2442#define PMU_OVSCLR_CNT10_STATUS_Pos 10U
2443#define PMU_OVSCLR_CNT10_STATUS_Msk (1UL << PMU_OVSCLR_CNT10_STATUS_Pos)
2445#define PMU_OVSCLR_CNT11_STATUS_Pos 11U
2446#define PMU_OVSCLR_CNT11_STATUS_Msk (1UL << PMU_OVSCLR_CNT11_STATUS_Pos)
2448#define PMU_OVSCLR_CNT12_STATUS_Pos 12U
2449#define PMU_OVSCLR_CNT12_STATUS_Msk (1UL << PMU_OVSCLR_CNT12_STATUS_Pos)
2451#define PMU_OVSCLR_CNT13_STATUS_Pos 13U
2452#define PMU_OVSCLR_CNT13_STATUS_Msk (1UL << PMU_OVSCLR_CNT13_STATUS_Pos)
2454#define PMU_OVSCLR_CNT14_STATUS_Pos 14U
2455#define PMU_OVSCLR_CNT14_STATUS_Msk (1UL << PMU_OVSCLR_CNT14_STATUS_Pos)
2457#define PMU_OVSCLR_CNT15_STATUS_Pos 15U
2458#define PMU_OVSCLR_CNT15_STATUS_Msk (1UL << PMU_OVSCLR_CNT15_STATUS_Pos)
2460#define PMU_OVSCLR_CNT16_STATUS_Pos 16U
2461#define PMU_OVSCLR_CNT16_STATUS_Msk (1UL << PMU_OVSCLR_CNT16_STATUS_Pos)
2463#define PMU_OVSCLR_CNT17_STATUS_Pos 17U
2464#define PMU_OVSCLR_CNT17_STATUS_Msk (1UL << PMU_OVSCLR_CNT17_STATUS_Pos)
2466#define PMU_OVSCLR_CNT18_STATUS_Pos 18U
2467#define PMU_OVSCLR_CNT18_STATUS_Msk (1UL << PMU_OVSCLR_CNT18_STATUS_Pos)
2469#define PMU_OVSCLR_CNT19_STATUS_Pos 19U
2470#define PMU_OVSCLR_CNT19_STATUS_Msk (1UL << PMU_OVSCLR_CNT19_STATUS_Pos)
2472#define PMU_OVSCLR_CNT20_STATUS_Pos 20U
2473#define PMU_OVSCLR_CNT20_STATUS_Msk (1UL << PMU_OVSCLR_CNT20_STATUS_Pos)
2475#define PMU_OVSCLR_CNT21_STATUS_Pos 21U
2476#define PMU_OVSCLR_CNT21_STATUS_Msk (1UL << PMU_OVSCLR_CNT21_STATUS_Pos)
2478#define PMU_OVSCLR_CNT22_STATUS_Pos 22U
2479#define PMU_OVSCLR_CNT22_STATUS_Msk (1UL << PMU_OVSCLR_CNT22_STATUS_Pos)
2481#define PMU_OVSCLR_CNT23_STATUS_Pos 23U
2482#define PMU_OVSCLR_CNT23_STATUS_Msk (1UL << PMU_OVSCLR_CNT23_STATUS_Pos)
2484#define PMU_OVSCLR_CNT24_STATUS_Pos 24U
2485#define PMU_OVSCLR_CNT24_STATUS_Msk (1UL << PMU_OVSCLR_CNT24_STATUS_Pos)
2487#define PMU_OVSCLR_CNT25_STATUS_Pos 25U
2488#define PMU_OVSCLR_CNT25_STATUS_Msk (1UL << PMU_OVSCLR_CNT25_STATUS_Pos)
2490#define PMU_OVSCLR_CNT26_STATUS_Pos 26U
2491#define PMU_OVSCLR_CNT26_STATUS_Msk (1UL << PMU_OVSCLR_CNT26_STATUS_Pos)
2493#define PMU_OVSCLR_CNT27_STATUS_Pos 27U
2494#define PMU_OVSCLR_CNT27_STATUS_Msk (1UL << PMU_OVSCLR_CNT27_STATUS_Pos)
2496#define PMU_OVSCLR_CNT28_STATUS_Pos 28U
2497#define PMU_OVSCLR_CNT28_STATUS_Msk (1UL << PMU_OVSCLR_CNT28_STATUS_Pos)
2499#define PMU_OVSCLR_CNT29_STATUS_Pos 29U
2500#define PMU_OVSCLR_CNT29_STATUS_Msk (1UL << PMU_OVSCLR_CNT29_STATUS_Pos)
2502#define PMU_OVSCLR_CNT30_STATUS_Pos 30U
2503#define PMU_OVSCLR_CNT30_STATUS_Msk (1UL << PMU_OVSCLR_CNT30_STATUS_Pos)
2505#define PMU_OVSCLR_CYCCNT_STATUS_Pos 31U
2506#define PMU_OVSCLR_CYCCNT_STATUS_Msk (1UL << PMU_OVSCLR_CYCCNT_STATUS_Pos)
2510#define PMU_SWINC_CNT0_Pos 0U
2511#define PMU_SWINC_CNT0_Msk (1UL )
2513#define PMU_SWINC_CNT1_Pos 1U
2514#define PMU_SWINC_CNT1_Msk (1UL << PMU_SWINC_CNT1_Pos)
2516#define PMU_SWINC_CNT2_Pos 2U
2517#define PMU_SWINC_CNT2_Msk (1UL << PMU_SWINC_CNT2_Pos)
2519#define PMU_SWINC_CNT3_Pos 3U
2520#define PMU_SWINC_CNT3_Msk (1UL << PMU_SWINC_CNT3_Pos)
2522#define PMU_SWINC_CNT4_Pos 4U
2523#define PMU_SWINC_CNT4_Msk (1UL << PMU_SWINC_CNT4_Pos)
2525#define PMU_SWINC_CNT5_Pos 5U
2526#define PMU_SWINC_CNT5_Msk (1UL << PMU_SWINC_CNT5_Pos)
2528#define PMU_SWINC_CNT6_Pos 6U
2529#define PMU_SWINC_CNT6_Msk (1UL << PMU_SWINC_CNT6_Pos)
2531#define PMU_SWINC_CNT7_Pos 7U
2532#define PMU_SWINC_CNT7_Msk (1UL << PMU_SWINC_CNT7_Pos)
2534#define PMU_SWINC_CNT8_Pos 8U
2535#define PMU_SWINC_CNT8_Msk (1UL << PMU_SWINC_CNT8_Pos)
2537#define PMU_SWINC_CNT9_Pos 9U
2538#define PMU_SWINC_CNT9_Msk (1UL << PMU_SWINC_CNT9_Pos)
2540#define PMU_SWINC_CNT10_Pos 10U
2541#define PMU_SWINC_CNT10_Msk (1UL << PMU_SWINC_CNT10_Pos)
2543#define PMU_SWINC_CNT11_Pos 11U
2544#define PMU_SWINC_CNT11_Msk (1UL << PMU_SWINC_CNT11_Pos)
2546#define PMU_SWINC_CNT12_Pos 12U
2547#define PMU_SWINC_CNT12_Msk (1UL << PMU_SWINC_CNT12_Pos)
2549#define PMU_SWINC_CNT13_Pos 13U
2550#define PMU_SWINC_CNT13_Msk (1UL << PMU_SWINC_CNT13_Pos)
2552#define PMU_SWINC_CNT14_Pos 14U
2553#define PMU_SWINC_CNT14_Msk (1UL << PMU_SWINC_CNT14_Pos)
2555#define PMU_SWINC_CNT15_Pos 15U
2556#define PMU_SWINC_CNT15_Msk (1UL << PMU_SWINC_CNT15_Pos)
2558#define PMU_SWINC_CNT16_Pos 16U
2559#define PMU_SWINC_CNT16_Msk (1UL << PMU_SWINC_CNT16_Pos)
2561#define PMU_SWINC_CNT17_Pos 17U
2562#define PMU_SWINC_CNT17_Msk (1UL << PMU_SWINC_CNT17_Pos)
2564#define PMU_SWINC_CNT18_Pos 18U
2565#define PMU_SWINC_CNT18_Msk (1UL << PMU_SWINC_CNT18_Pos)
2567#define PMU_SWINC_CNT19_Pos 19U
2568#define PMU_SWINC_CNT19_Msk (1UL << PMU_SWINC_CNT19_Pos)
2570#define PMU_SWINC_CNT20_Pos 20U
2571#define PMU_SWINC_CNT20_Msk (1UL << PMU_SWINC_CNT20_Pos)
2573#define PMU_SWINC_CNT21_Pos 21U
2574#define PMU_SWINC_CNT21_Msk (1UL << PMU_SWINC_CNT21_Pos)
2576#define PMU_SWINC_CNT22_Pos 22U
2577#define PMU_SWINC_CNT22_Msk (1UL << PMU_SWINC_CNT22_Pos)
2579#define PMU_SWINC_CNT23_Pos 23U
2580#define PMU_SWINC_CNT23_Msk (1UL << PMU_SWINC_CNT23_Pos)
2582#define PMU_SWINC_CNT24_Pos 24U
2583#define PMU_SWINC_CNT24_Msk (1UL << PMU_SWINC_CNT24_Pos)
2585#define PMU_SWINC_CNT25_Pos 25U
2586#define PMU_SWINC_CNT25_Msk (1UL << PMU_SWINC_CNT25_Pos)
2588#define PMU_SWINC_CNT26_Pos 26U
2589#define PMU_SWINC_CNT26_Msk (1UL << PMU_SWINC_CNT26_Pos)
2591#define PMU_SWINC_CNT27_Pos 27U
2592#define PMU_SWINC_CNT27_Msk (1UL << PMU_SWINC_CNT27_Pos)
2594#define PMU_SWINC_CNT28_Pos 28U
2595#define PMU_SWINC_CNT28_Msk (1UL << PMU_SWINC_CNT28_Pos)
2597#define PMU_SWINC_CNT29_Pos 29U
2598#define PMU_SWINC_CNT29_Msk (1UL << PMU_SWINC_CNT29_Pos)
2600#define PMU_SWINC_CNT30_Pos 30U
2601#define PMU_SWINC_CNT30_Msk (1UL << PMU_SWINC_CNT30_Pos)
2605#define PMU_CTRL_ENABLE_Pos 0U
2606#define PMU_CTRL_ENABLE_Msk (1UL )
2608#define PMU_CTRL_EVENTCNT_RESET_Pos 1U
2609#define PMU_CTRL_EVENTCNT_RESET_Msk (1UL << PMU_CTRL_EVENTCNT_RESET_Pos)
2611#define PMU_CTRL_CYCCNT_RESET_Pos 2U
2612#define PMU_CTRL_CYCCNT_RESET_Msk (1UL << PMU_CTRL_CYCCNT_RESET_Pos)
2614#define PMU_CTRL_CYCCNT_DISABLE_Pos 5U
2615#define PMU_CTRL_CYCCNT_DISABLE_Msk (1UL << PMU_CTRL_CYCCNT_DISABLE_Pos)
2617#define PMU_CTRL_FRZ_ON_OV_Pos 9U
2618#define PMU_CTRL_FRZ_ON_OV_Msk (1UL << PMU_CTRL_FRZ_ON_OVERFLOW_Pos)
2620#define PMU_CTRL_TRACE_ON_OV_Pos 11U
2621#define PMU_CTRL_TRACE_ON_OV_Msk (1UL << PMU_CTRL_TRACE_ON_OVERFLOW_Pos)
2625#define PMU_TYPE_NUM_CNTS_Pos 0U
2626#define PMU_TYPE_NUM_CNTS_Msk (0xFFUL )
2628#define PMU_TYPE_SIZE_CNTS_Pos 8U
2629#define PMU_TYPE_SIZE_CNTS_Msk (0x3FUL << PMU_TYPE_SIZE_CNTS_Pos)
2631#define PMU_TYPE_CYCCNT_PRESENT_Pos 14U
2632#define PMU_TYPE_CYCCNT_PRESENT_Msk (1UL << PMU_TYPE_CYCCNT_PRESENT_Pos)
2634#define PMU_TYPE_FRZ_OV_SUPPORT_Pos 21U
2635#define PMU_TYPE_FRZ_OV_SUPPORT_Msk (1UL << PMU_TYPE_FRZ_OV_SUPPORT_Pos)
2637#define PMU_TYPE_TRACE_ON_OV_SUPPORT_Pos 23U
2638#define PMU_TYPE_TRACE_ON_OV_SUPPORT_Msk (1UL << PMU_TYPE_FRZ_OV_SUPPORT_Pos)
2642#define PMU_AUTHSTATUS_NSID_Pos 0U
2643#define PMU_AUTHSTATUS_NSID_Msk (0x3UL )
2645#define PMU_AUTHSTATUS_NSNID_Pos 2U
2646#define PMU_AUTHSTATUS_NSNID_Msk (0x3UL << PMU_AUTHSTATUS_NSNID_Pos)
2648#define PMU_AUTHSTATUS_SID_Pos 4U
2649#define PMU_AUTHSTATUS_SID_Msk (0x3UL << PMU_AUTHSTATUS_SID_Pos)
2651#define PMU_AUTHSTATUS_SNID_Pos 6U
2652#define PMU_AUTHSTATUS_SNID_Msk (0x3UL << PMU_AUTHSTATUS_SNID_Pos)
2654#define PMU_AUTHSTATUS_NSUID_Pos 16U
2655#define PMU_AUTHSTATUS_NSUID_Msk (0x3UL << PMU_AUTHSTATUS_NSUID_Pos)
2657#define PMU_AUTHSTATUS_NSUNID_Pos 18U
2658#define PMU_AUTHSTATUS_NSUNID_Msk (0x3UL << PMU_AUTHSTATUS_NSUNID_Pos)
2660#define PMU_AUTHSTATUS_SUID_Pos 20U
2661#define PMU_AUTHSTATUS_SUID_Msk (0x3UL << PMU_AUTHSTATUS_SUID_Pos)
2663#define PMU_AUTHSTATUS_SUNID_Pos 22U
2664#define PMU_AUTHSTATUS_SUNID_Msk (0x3UL << PMU_AUTHSTATUS_SUNID_Pos)
2670#if defined (__MPU_PRESENT) && (__MPU_PRESENT == 1U)
2684 __IOM uint32_t CTRL;
2686 __IOM uint32_t RBAR;
2687 __IOM uint32_t RLAR;
2688 __IOM uint32_t RBAR_A1;
2689 __IOM uint32_t RLAR_A1;
2690 __IOM uint32_t RBAR_A2;
2691 __IOM uint32_t RLAR_A2;
2692 __IOM uint32_t RBAR_A3;
2693 __IOM uint32_t RLAR_A3;
2694 uint32_t RESERVED0[1];
2704#define MPU_TYPE_RALIASES 4U
2707#define MPU_TYPE_IREGION_Pos 16U
2708#define MPU_TYPE_IREGION_Msk (0xFFUL << MPU_TYPE_IREGION_Pos)
2710#define MPU_TYPE_DREGION_Pos 8U
2711#define MPU_TYPE_DREGION_Msk (0xFFUL << MPU_TYPE_DREGION_Pos)
2713#define MPU_TYPE_SEPARATE_Pos 0U
2714#define MPU_TYPE_SEPARATE_Msk (1UL )
2717#define MPU_CTRL_PRIVDEFENA_Pos 2U
2718#define MPU_CTRL_PRIVDEFENA_Msk (1UL << MPU_CTRL_PRIVDEFENA_Pos)
2720#define MPU_CTRL_HFNMIENA_Pos 1U
2721#define MPU_CTRL_HFNMIENA_Msk (1UL << MPU_CTRL_HFNMIENA_Pos)
2723#define MPU_CTRL_ENABLE_Pos 0U
2724#define MPU_CTRL_ENABLE_Msk (1UL )
2727#define MPU_RNR_REGION_Pos 0U
2728#define MPU_RNR_REGION_Msk (0xFFUL )
2731#define MPU_RBAR_BASE_Pos 5U
2732#define MPU_RBAR_BASE_Msk (0x7FFFFFFUL << MPU_RBAR_BASE_Pos)
2734#define MPU_RBAR_SH_Pos 3U
2735#define MPU_RBAR_SH_Msk (0x3UL << MPU_RBAR_SH_Pos)
2737#define MPU_RBAR_AP_Pos 1U
2738#define MPU_RBAR_AP_Msk (0x3UL << MPU_RBAR_AP_Pos)
2740#define MPU_RBAR_XN_Pos 0U
2741#define MPU_RBAR_XN_Msk (01UL )
2744#define MPU_RLAR_LIMIT_Pos 5U
2745#define MPU_RLAR_LIMIT_Msk (0x7FFFFFFUL << MPU_RLAR_LIMIT_Pos)
2747#define MPU_RLAR_PXN_Pos 4U
2748#define MPU_RLAR_PXN_Msk (1UL << MPU_RLAR_PXN_Pos)
2750#define MPU_RLAR_AttrIndx_Pos 1U
2751#define MPU_RLAR_AttrIndx_Msk (7UL << MPU_RLAR_AttrIndx_Pos)
2753#define MPU_RLAR_EN_Pos 0U
2754#define MPU_RLAR_EN_Msk (1UL )
2757#define MPU_MAIR0_Attr3_Pos 24U
2758#define MPU_MAIR0_Attr3_Msk (0xFFUL << MPU_MAIR0_Attr3_Pos)
2760#define MPU_MAIR0_Attr2_Pos 16U
2761#define MPU_MAIR0_Attr2_Msk (0xFFUL << MPU_MAIR0_Attr2_Pos)
2763#define MPU_MAIR0_Attr1_Pos 8U
2764#define MPU_MAIR0_Attr1_Msk (0xFFUL << MPU_MAIR0_Attr1_Pos)
2766#define MPU_MAIR0_Attr0_Pos 0U
2767#define MPU_MAIR0_Attr0_Msk (0xFFUL )
2770#define MPU_MAIR1_Attr7_Pos 24U
2771#define MPU_MAIR1_Attr7_Msk (0xFFUL << MPU_MAIR1_Attr7_Pos)
2773#define MPU_MAIR1_Attr6_Pos 16U
2774#define MPU_MAIR1_Attr6_Msk (0xFFUL << MPU_MAIR1_Attr6_Pos)
2776#define MPU_MAIR1_Attr5_Pos 8U
2777#define MPU_MAIR1_Attr5_Msk (0xFFUL << MPU_MAIR1_Attr5_Pos)
2779#define MPU_MAIR1_Attr4_Pos 0U
2780#define MPU_MAIR1_Attr4_Msk (0xFFUL )
2786#if defined (__ARM_FEATURE_CMSE) && (__ARM_FEATURE_CMSE == 3U)
2799 __IOM uint32_t CTRL;
2801#if defined (__SAUREGION_PRESENT) && (__SAUREGION_PRESENT == 1U)
2803 __IOM uint32_t RBAR;
2804 __IOM uint32_t RLAR;
2806 uint32_t RESERVED0[3];
2808 __IOM uint32_t SFSR;
2809 __IOM uint32_t SFAR;
2813#define SAU_CTRL_ALLNS_Pos 1U
2814#define SAU_CTRL_ALLNS_Msk (1UL << SAU_CTRL_ALLNS_Pos)
2816#define SAU_CTRL_ENABLE_Pos 0U
2817#define SAU_CTRL_ENABLE_Msk (1UL )
2820#define SAU_TYPE_SREGION_Pos 0U
2821#define SAU_TYPE_SREGION_Msk (0xFFUL )
2823#if defined (__SAUREGION_PRESENT) && (__SAUREGION_PRESENT == 1U)
2825#define SAU_RNR_REGION_Pos 0U
2826#define SAU_RNR_REGION_Msk (0xFFUL )
2829#define SAU_RBAR_BADDR_Pos 5U
2830#define SAU_RBAR_BADDR_Msk (0x7FFFFFFUL << SAU_RBAR_BADDR_Pos)
2833#define SAU_RLAR_LADDR_Pos 5U
2834#define SAU_RLAR_LADDR_Msk (0x7FFFFFFUL << SAU_RLAR_LADDR_Pos)
2836#define SAU_RLAR_NSC_Pos 1U
2837#define SAU_RLAR_NSC_Msk (1UL << SAU_RLAR_NSC_Pos)
2839#define SAU_RLAR_ENABLE_Pos 0U
2840#define SAU_RLAR_ENABLE_Msk (1UL )
2845#define SAU_SFSR_LSERR_Pos 7U
2846#define SAU_SFSR_LSERR_Msk (1UL << SAU_SFSR_LSERR_Pos)
2848#define SAU_SFSR_SFARVALID_Pos 6U
2849#define SAU_SFSR_SFARVALID_Msk (1UL << SAU_SFSR_SFARVALID_Pos)
2851#define SAU_SFSR_LSPERR_Pos 5U
2852#define SAU_SFSR_LSPERR_Msk (1UL << SAU_SFSR_LSPERR_Pos)
2854#define SAU_SFSR_INVTRAN_Pos 4U
2855#define SAU_SFSR_INVTRAN_Msk (1UL << SAU_SFSR_INVTRAN_Pos)
2857#define SAU_SFSR_AUVIOL_Pos 3U
2858#define SAU_SFSR_AUVIOL_Msk (1UL << SAU_SFSR_AUVIOL_Pos)
2860#define SAU_SFSR_INVER_Pos 2U
2861#define SAU_SFSR_INVER_Msk (1UL << SAU_SFSR_INVER_Pos)
2863#define SAU_SFSR_INVIS_Pos 1U
2864#define SAU_SFSR_INVIS_Msk (1UL << SAU_SFSR_INVIS_Pos)
2866#define SAU_SFSR_INVEP_Pos 0U
2867#define SAU_SFSR_INVEP_Msk (1UL )
2885 uint32_t RESERVED0[1U];
2886 __IOM uint32_t FPCCR;
2887 __IOM uint32_t FPCAR;
2888 __IOM uint32_t FPDSCR;
2889 __IM uint32_t MVFR0;
2890 __IM uint32_t MVFR1;
2891 __IM uint32_t MVFR2;
2895#define FPU_FPCCR_ASPEN_Pos 31U
2896#define FPU_FPCCR_ASPEN_Msk (1UL << FPU_FPCCR_ASPEN_Pos)
2898#define FPU_FPCCR_LSPEN_Pos 30U
2899#define FPU_FPCCR_LSPEN_Msk (1UL << FPU_FPCCR_LSPEN_Pos)
2901#define FPU_FPCCR_LSPENS_Pos 29U
2902#define FPU_FPCCR_LSPENS_Msk (1UL << FPU_FPCCR_LSPENS_Pos)
2904#define FPU_FPCCR_CLRONRET_Pos 28U
2905#define FPU_FPCCR_CLRONRET_Msk (1UL << FPU_FPCCR_CLRONRET_Pos)
2907#define FPU_FPCCR_CLRONRETS_Pos 27U
2908#define FPU_FPCCR_CLRONRETS_Msk (1UL << FPU_FPCCR_CLRONRETS_Pos)
2910#define FPU_FPCCR_TS_Pos 26U
2911#define FPU_FPCCR_TS_Msk (1UL << FPU_FPCCR_TS_Pos)
2913#define FPU_FPCCR_UFRDY_Pos 10U
2914#define FPU_FPCCR_UFRDY_Msk (1UL << FPU_FPCCR_UFRDY_Pos)
2916#define FPU_FPCCR_SPLIMVIOL_Pos 9U
2917#define FPU_FPCCR_SPLIMVIOL_Msk (1UL << FPU_FPCCR_SPLIMVIOL_Pos)
2919#define FPU_FPCCR_MONRDY_Pos 8U
2920#define FPU_FPCCR_MONRDY_Msk (1UL << FPU_FPCCR_MONRDY_Pos)
2922#define FPU_FPCCR_SFRDY_Pos 7U
2923#define FPU_FPCCR_SFRDY_Msk (1UL << FPU_FPCCR_SFRDY_Pos)
2925#define FPU_FPCCR_BFRDY_Pos 6U
2926#define FPU_FPCCR_BFRDY_Msk (1UL << FPU_FPCCR_BFRDY_Pos)
2928#define FPU_FPCCR_MMRDY_Pos 5U
2929#define FPU_FPCCR_MMRDY_Msk (1UL << FPU_FPCCR_MMRDY_Pos)
2931#define FPU_FPCCR_HFRDY_Pos 4U
2932#define FPU_FPCCR_HFRDY_Msk (1UL << FPU_FPCCR_HFRDY_Pos)
2934#define FPU_FPCCR_THREAD_Pos 3U
2935#define FPU_FPCCR_THREAD_Msk (1UL << FPU_FPCCR_THREAD_Pos)
2937#define FPU_FPCCR_S_Pos 2U
2938#define FPU_FPCCR_S_Msk (1UL << FPU_FPCCR_S_Pos)
2940#define FPU_FPCCR_USER_Pos 1U
2941#define FPU_FPCCR_USER_Msk (1UL << FPU_FPCCR_USER_Pos)
2943#define FPU_FPCCR_LSPACT_Pos 0U
2944#define FPU_FPCCR_LSPACT_Msk (1UL )
2947#define FPU_FPCAR_ADDRESS_Pos 3U
2948#define FPU_FPCAR_ADDRESS_Msk (0x1FFFFFFFUL << FPU_FPCAR_ADDRESS_Pos)
2951#define FPU_FPDSCR_AHP_Pos 26U
2952#define FPU_FPDSCR_AHP_Msk (1UL << FPU_FPDSCR_AHP_Pos)
2954#define FPU_FPDSCR_DN_Pos 25U
2955#define FPU_FPDSCR_DN_Msk (1UL << FPU_FPDSCR_DN_Pos)
2957#define FPU_FPDSCR_FZ_Pos 24U
2958#define FPU_FPDSCR_FZ_Msk (1UL << FPU_FPDSCR_FZ_Pos)
2960#define FPU_FPDSCR_RMode_Pos 22U
2961#define FPU_FPDSCR_RMode_Msk (3UL << FPU_FPDSCR_RMode_Pos)
2963#define FPU_FPDSCR_FZ16_Pos 19U
2964#define FPU_FPDSCR_FZ16_Msk (1UL << FPU_FPDSCR_FZ16_Pos)
2966#define FPU_FPDSCR_LTPSIZE_Pos 16U
2967#define FPU_FPDSCR_LTPSIZE_Msk (7UL << FPU_FPDSCR_LTPSIZE_Pos)
2970#define FPU_MVFR0_FPRound_Pos 28U
2971#define FPU_MVFR0_FPRound_Msk (0xFUL << FPU_MVFR0_FPRound_Pos)
2973#define FPU_MVFR0_FPSqrt_Pos 20U
2974#define FPU_MVFR0_FPSqrt_Msk (0xFUL << FPU_MVFR0_FPSqrt_Pos)
2976#define FPU_MVFR0_FPDivide_Pos 16U
2977#define FPU_MVFR0_FPDivide_Msk (0xFUL << FPU_MVFR0_FPDivide_Pos)
2979#define FPU_MVFR0_FPDP_Pos 8U
2980#define FPU_MVFR0_FPDP_Msk (0xFUL << FPU_MVFR0_FPDP_Pos)
2982#define FPU_MVFR0_FPSP_Pos 4U
2983#define FPU_MVFR0_FPSP_Msk (0xFUL << FPU_MVFR0_FPSP_Pos)
2985#define FPU_MVFR0_SIMDReg_Pos 0U
2986#define FPU_MVFR0_SIMDReg_Msk (0xFUL )
2989#define FPU_MVFR1_FMAC_Pos 28U
2990#define FPU_MVFR1_FMAC_Msk (0xFUL << FPU_MVFR1_FMAC_Pos)
2992#define FPU_MVFR1_FPHP_Pos 24U
2993#define FPU_MVFR1_FPHP_Msk (0xFUL << FPU_MVFR1_FPHP_Pos)
2995#define FPU_MVFR1_FP16_Pos 20U
2996#define FPU_MVFR1_FP16_Msk (0xFUL << FPU_MVFR1_FP16_Pos)
2998#define FPU_MVFR1_MVE_Pos 8U
2999#define FPU_MVFR1_MVE_Msk (0xFUL << FPU_MVFR1_MVE_Pos)
3001#define FPU_MVFR1_FPDNaN_Pos 4U
3002#define FPU_MVFR1_FPDNaN_Msk (0xFUL << FPU_MVFR1_FPDNaN_Pos)
3004#define FPU_MVFR1_FPFtZ_Pos 0U
3005#define FPU_MVFR1_FPFtZ_Msk (0xFUL )
3008#define FPU_MVFR2_FPMisc_Pos 4U
3009#define FPU_MVFR2_FPMisc_Msk (0xFUL << FPU_MVFR2_FPMisc_Pos)
3026 __IOM uint32_t DHCSR;
3027 __OM uint32_t DCRSR;
3028 __IOM uint32_t DCRDR;
3029 __IOM uint32_t DEMCR;
3030 __OM uint32_t DSCEMCR;
3031 __IOM uint32_t DAUTHCTRL;
3032 __IOM uint32_t DSCSR;
3036#define CoreDebug_DHCSR_DBGKEY_Pos 16U
3037#define CoreDebug_DHCSR_DBGKEY_Msk (0xFFFFUL << CoreDebug_DHCSR_DBGKEY_Pos)
3039#define CoreDebug_DHCSR_S_RESTART_ST_Pos 26U
3040#define CoreDebug_DHCSR_S_RESTART_ST_Msk (1UL << CoreDebug_DHCSR_S_RESTART_ST_Pos)
3042#define CoreDebug_DHCSR_S_RESET_ST_Pos 25U
3043#define CoreDebug_DHCSR_S_RESET_ST_Msk (1UL << CoreDebug_DHCSR_S_RESET_ST_Pos)
3045#define CoreDebug_DHCSR_S_RETIRE_ST_Pos 24U
3046#define CoreDebug_DHCSR_S_RETIRE_ST_Msk (1UL << CoreDebug_DHCSR_S_RETIRE_ST_Pos)
3048#define CoreDebug_DHCSR_S_FPD_Pos 23U
3049#define CoreDebug_DHCSR_S_FPD_Msk (1UL << CoreDebug_DHCSR_S_FPD_Pos)
3051#define CoreDebug_DHCSR_S_SUIDE_Pos 22U
3052#define CoreDebug_DHCSR_S_SUIDE_Msk (1UL << CoreDebug_DHCSR_S_SUIDE_Pos)
3054#define CoreDebug_DHCSR_S_NSUIDE_Pos 21U
3055#define CoreDebug_DHCSR_S_NSUIDE_Msk (1UL << CoreDebug_DHCSR_S_NSUIDE_Pos)
3057#define CoreDebug_DHCSR_S_SDE_Pos 20U
3058#define CoreDebug_DHCSR_S_SDE_Msk (1UL << CoreDebug_DHCSR_S_SDE_Pos)
3060#define CoreDebug_DHCSR_S_LOCKUP_Pos 19U
3061#define CoreDebug_DHCSR_S_LOCKUP_Msk (1UL << CoreDebug_DHCSR_S_LOCKUP_Pos)
3063#define CoreDebug_DHCSR_S_SLEEP_Pos 18U
3064#define CoreDebug_DHCSR_S_SLEEP_Msk (1UL << CoreDebug_DHCSR_S_SLEEP_Pos)
3066#define CoreDebug_DHCSR_S_HALT_Pos 17U
3067#define CoreDebug_DHCSR_S_HALT_Msk (1UL << CoreDebug_DHCSR_S_HALT_Pos)
3069#define CoreDebug_DHCSR_S_REGRDY_Pos 16U
3070#define CoreDebug_DHCSR_S_REGRDY_Msk (1UL << CoreDebug_DHCSR_S_REGRDY_Pos)
3072#define CoreDebug_DHCSR_C_PMOV_Pos 6U
3073#define CoreDebug_DHCSR_C_PMOV_Msk (1UL << CoreDebug_DHCSR_C_PMOV_Pos)
3075#define CoreDebug_DHCSR_C_SNAPSTALL_Pos 5U
3076#define CoreDebug_DHCSR_C_SNAPSTALL_Msk (1UL << CoreDebug_DHCSR_C_SNAPSTALL_Pos)
3078#define CoreDebug_DHCSR_C_MASKINTS_Pos 3U
3079#define CoreDebug_DHCSR_C_MASKINTS_Msk (1UL << CoreDebug_DHCSR_C_MASKINTS_Pos)
3081#define CoreDebug_DHCSR_C_STEP_Pos 2U
3082#define CoreDebug_DHCSR_C_STEP_Msk (1UL << CoreDebug_DHCSR_C_STEP_Pos)
3084#define CoreDebug_DHCSR_C_HALT_Pos 1U
3085#define CoreDebug_DHCSR_C_HALT_Msk (1UL << CoreDebug_DHCSR_C_HALT_Pos)
3087#define CoreDebug_DHCSR_C_DEBUGEN_Pos 0U
3088#define CoreDebug_DHCSR_C_DEBUGEN_Msk (1UL )
3091#define CoreDebug_DCRSR_REGWnR_Pos 16U
3092#define CoreDebug_DCRSR_REGWnR_Msk (1UL << CoreDebug_DCRSR_REGWnR_Pos)
3094#define CoreDebug_DCRSR_REGSEL_Pos 0U
3095#define CoreDebug_DCRSR_REGSEL_Msk (0x1FUL )
3098#define CoreDebug_DEMCR_TRCENA_Pos 24U
3099#define CoreDebug_DEMCR_TRCENA_Msk (1UL << CoreDebug_DEMCR_TRCENA_Pos)
3101#define CoreDebug_DEMCR_MON_REQ_Pos 19U
3102#define CoreDebug_DEMCR_MON_REQ_Msk (1UL << CoreDebug_DEMCR_MON_REQ_Pos)
3104#define CoreDebug_DEMCR_MON_STEP_Pos 18U
3105#define CoreDebug_DEMCR_MON_STEP_Msk (1UL << CoreDebug_DEMCR_MON_STEP_Pos)
3107#define CoreDebug_DEMCR_MON_PEND_Pos 17U
3108#define CoreDebug_DEMCR_MON_PEND_Msk (1UL << CoreDebug_DEMCR_MON_PEND_Pos)
3110#define CoreDebug_DEMCR_MON_EN_Pos 16U
3111#define CoreDebug_DEMCR_MON_EN_Msk (1UL << CoreDebug_DEMCR_MON_EN_Pos)
3113#define CoreDebug_DEMCR_VC_HARDERR_Pos 10U
3114#define CoreDebug_DEMCR_VC_HARDERR_Msk (1UL << CoreDebug_DEMCR_VC_HARDERR_Pos)
3116#define CoreDebug_DEMCR_VC_INTERR_Pos 9U
3117#define CoreDebug_DEMCR_VC_INTERR_Msk (1UL << CoreDebug_DEMCR_VC_INTERR_Pos)
3119#define CoreDebug_DEMCR_VC_BUSERR_Pos 8U
3120#define CoreDebug_DEMCR_VC_BUSERR_Msk (1UL << CoreDebug_DEMCR_VC_BUSERR_Pos)
3122#define CoreDebug_DEMCR_VC_STATERR_Pos 7U
3123#define CoreDebug_DEMCR_VC_STATERR_Msk (1UL << CoreDebug_DEMCR_VC_STATERR_Pos)
3125#define CoreDebug_DEMCR_VC_CHKERR_Pos 6U
3126#define CoreDebug_DEMCR_VC_CHKERR_Msk (1UL << CoreDebug_DEMCR_VC_CHKERR_Pos)
3128#define CoreDebug_DEMCR_VC_NOCPERR_Pos 5U
3129#define CoreDebug_DEMCR_VC_NOCPERR_Msk (1UL << CoreDebug_DEMCR_VC_NOCPERR_Pos)
3131#define CoreDebug_DEMCR_VC_MMERR_Pos 4U
3132#define CoreDebug_DEMCR_VC_MMERR_Msk (1UL << CoreDebug_DEMCR_VC_MMERR_Pos)
3134#define CoreDebug_DEMCR_VC_CORERESET_Pos 0U
3135#define CoreDebug_DEMCR_VC_CORERESET_Msk (1UL )
3138#define CoreDebug_DSCEMCR_CLR_MON_REQ_Pos 19U
3139#define CoreDebug_DSCEMCR_CLR_MON_REQ_Msk (1UL << CoreDebug_DSCEMCR_CLR_MON_REQ_Pos)
3141#define CoreDebug_DSCEMCR_CLR_MON_PEND_Pos 17U
3142#define CoreDebug_DSCEMCR_CLR_MON_PEND_Msk (1UL << CoreDebug_DSCEMCR_CLR_MON_PEND_Pos)
3144#define CoreDebug_DSCEMCR_SET_MON_REQ_Pos 3U
3145#define CoreDebug_DSCEMCR_SET_MON_REQ_Msk (1UL << CoreDebug_DSCEMCR_SET_MON_REQ_Pos)
3147#define CoreDebug_DSCEMCR_SET_MON_PEND_Pos 1U
3148#define CoreDebug_DSCEMCR_SET_MON_PEND_Msk (1UL << CoreDebug_DSCEMCR_SET_MON_PEND_Pos)
3151#define CoreDebug_DAUTHCTRL_UIDEN_Pos 10U
3152#define CoreDebug_DAUTHCTRL_UIDEN_Msk (1UL << CoreDebug_DAUTHCTRL_UIDEN_Pos)
3154#define CoreDebug_DAUTHCTRL_UIDAPEN_Pos 9U
3155#define CoreDebug_DAUTHCTRL_UIDAPEN_Msk (1UL << CoreDebug_DAUTHCTRL_UIDAPEN_Pos)
3157#define CoreDebug_DAUTHCTRL_FSDMA_Pos 8U
3158#define CoreDebug_DAUTHCTRL_FSDMA_Msk (1UL << CoreDebug_DAUTHCTRL_FSDMA_Pos)
3160#define CoreDebug_DAUTHCTRL_INTSPNIDEN_Pos 3U
3161#define CoreDebug_DAUTHCTRL_INTSPNIDEN_Msk (1UL << CoreDebug_DAUTHCTRL_INTSPNIDEN_Pos)
3163#define CoreDebug_DAUTHCTRL_SPNIDENSEL_Pos 2U
3164#define CoreDebug_DAUTHCTRL_SPNIDENSEL_Msk (1UL << CoreDebug_DAUTHCTRL_SPNIDENSEL_Pos)
3166#define CoreDebug_DAUTHCTRL_INTSPIDEN_Pos 1U
3167#define CoreDebug_DAUTHCTRL_INTSPIDEN_Msk (1UL << CoreDebug_DAUTHCTRL_INTSPIDEN_Pos)
3169#define CoreDebug_DAUTHCTRL_SPIDENSEL_Pos 0U
3170#define CoreDebug_DAUTHCTRL_SPIDENSEL_Msk (1UL )
3173#define CoreDebug_DSCSR_CDS_Pos 16U
3174#define CoreDebug_DSCSR_CDS_Msk (1UL << CoreDebug_DSCSR_CDS_Pos)
3176#define CoreDebug_DSCSR_SBRSEL_Pos 1U
3177#define CoreDebug_DSCSR_SBRSEL_Msk (1UL << CoreDebug_DSCSR_SBRSEL_Pos)
3179#define CoreDebug_DSCSR_SBRSELEN_Pos 0U
3180#define CoreDebug_DSCSR_SBRSELEN_Msk (1UL )
3197 __IOM uint32_t DHCSR;
3198 __OM uint32_t DCRSR;
3199 __IOM uint32_t DCRDR;
3200 __IOM uint32_t DEMCR;
3201 __OM uint32_t DSCEMCR;
3202 __IOM uint32_t DAUTHCTRL;
3203 __IOM uint32_t DSCSR;
3207#define DCB_DHCSR_DBGKEY_Pos 16U
3208#define DCB_DHCSR_DBGKEY_Msk (0xFFFFUL << DCB_DHCSR_DBGKEY_Pos)
3210#define DCB_DHCSR_S_RESTART_ST_Pos 26U
3211#define DCB_DHCSR_S_RESTART_ST_Msk (0x1UL << DCB_DHCSR_S_RESTART_ST_Pos)
3213#define DCB_DHCSR_S_RESET_ST_Pos 25U
3214#define DCB_DHCSR_S_RESET_ST_Msk (0x1UL << DCB_DHCSR_S_RESET_ST_Pos)
3216#define DCB_DHCSR_S_RETIRE_ST_Pos 24U
3217#define DCB_DHCSR_S_RETIRE_ST_Msk (0x1UL << DCB_DHCSR_S_RETIRE_ST_Pos)
3219#define DCB_DHCSR_S_FPD_Pos 23U
3220#define DCB_DHCSR_S_FPD_Msk (0x1UL << DCB_DHCSR_S_FPD_Pos)
3222#define DCB_DHCSR_S_SUIDE_Pos 22U
3223#define DCB_DHCSR_S_SUIDE_Msk (0x1UL << DCB_DHCSR_S_SUIDE_Pos)
3225#define DCB_DHCSR_S_NSUIDE_Pos 21U
3226#define DCB_DHCSR_S_NSUIDE_Msk (0x1UL << DCB_DHCSR_S_NSUIDE_Pos)
3228#define DCB_DHCSR_S_SDE_Pos 20U
3229#define DCB_DHCSR_S_SDE_Msk (0x1UL << DCB_DHCSR_S_SDE_Pos)
3231#define DCB_DHCSR_S_LOCKUP_Pos 19U
3232#define DCB_DHCSR_S_LOCKUP_Msk (0x1UL << DCB_DHCSR_S_LOCKUP_Pos)
3234#define DCB_DHCSR_S_SLEEP_Pos 18U
3235#define DCB_DHCSR_S_SLEEP_Msk (0x1UL << DCB_DHCSR_S_SLEEP_Pos)
3237#define DCB_DHCSR_S_HALT_Pos 17U
3238#define DCB_DHCSR_S_HALT_Msk (0x1UL << DCB_DHCSR_S_HALT_Pos)
3240#define DCB_DHCSR_S_REGRDY_Pos 16U
3241#define DCB_DHCSR_S_REGRDY_Msk (0x1UL << DCB_DHCSR_S_REGRDY_Pos)
3243#define DCB_DHCSR_C_PMOV_Pos 6U
3244#define DCB_DHCSR_C_PMOV_Msk (0x1UL << DCB_DHCSR_C_PMOV_Pos)
3246#define DCB_DHCSR_C_SNAPSTALL_Pos 5U
3247#define DCB_DHCSR_C_SNAPSTALL_Msk (0x1UL << DCB_DHCSR_C_SNAPSTALL_Pos)
3249#define DCB_DHCSR_C_MASKINTS_Pos 3U
3250#define DCB_DHCSR_C_MASKINTS_Msk (0x1UL << DCB_DHCSR_C_MASKINTS_Pos)
3252#define DCB_DHCSR_C_STEP_Pos 2U
3253#define DCB_DHCSR_C_STEP_Msk (0x1UL << DCB_DHCSR_C_STEP_Pos)
3255#define DCB_DHCSR_C_HALT_Pos 1U
3256#define DCB_DHCSR_C_HALT_Msk (0x1UL << DCB_DHCSR_C_HALT_Pos)
3258#define DCB_DHCSR_C_DEBUGEN_Pos 0U
3259#define DCB_DHCSR_C_DEBUGEN_Msk (0x1UL )
3262#define DCB_DCRSR_REGWnR_Pos 16U
3263#define DCB_DCRSR_REGWnR_Msk (0x1UL << DCB_DCRSR_REGWnR_Pos)
3265#define DCB_DCRSR_REGSEL_Pos 0U
3266#define DCB_DCRSR_REGSEL_Msk (0x7FUL )
3269#define DCB_DCRDR_DBGTMP_Pos 0U
3270#define DCB_DCRDR_DBGTMP_Msk (0xFFFFFFFFUL )
3273#define DCB_DEMCR_TRCENA_Pos 24U
3274#define DCB_DEMCR_TRCENA_Msk (0x1UL << DCB_DEMCR_TRCENA_Pos)
3276#define DCB_DEMCR_MONPRKEY_Pos 23U
3277#define DCB_DEMCR_MONPRKEY_Msk (0x1UL << DCB_DEMCR_MONPRKEY_Pos)
3279#define DCB_DEMCR_UMON_EN_Pos 21U
3280#define DCB_DEMCR_UMON_EN_Msk (0x1UL << DCB_DEMCR_UMON_EN_Pos)
3282#define DCB_DEMCR_SDME_Pos 20U
3283#define DCB_DEMCR_SDME_Msk (0x1UL << DCB_DEMCR_SDME_Pos)
3285#define DCB_DEMCR_MON_REQ_Pos 19U
3286#define DCB_DEMCR_MON_REQ_Msk (0x1UL << DCB_DEMCR_MON_REQ_Pos)
3288#define DCB_DEMCR_MON_STEP_Pos 18U
3289#define DCB_DEMCR_MON_STEP_Msk (0x1UL << DCB_DEMCR_MON_STEP_Pos)
3291#define DCB_DEMCR_MON_PEND_Pos 17U
3292#define DCB_DEMCR_MON_PEND_Msk (0x1UL << DCB_DEMCR_MON_PEND_Pos)
3294#define DCB_DEMCR_MON_EN_Pos 16U
3295#define DCB_DEMCR_MON_EN_Msk (0x1UL << DCB_DEMCR_MON_EN_Pos)
3297#define DCB_DEMCR_VC_SFERR_Pos 11U
3298#define DCB_DEMCR_VC_SFERR_Msk (0x1UL << DCB_DEMCR_VC_SFERR_Pos)
3300#define DCB_DEMCR_VC_HARDERR_Pos 10U
3301#define DCB_DEMCR_VC_HARDERR_Msk (0x1UL << DCB_DEMCR_VC_HARDERR_Pos)
3303#define DCB_DEMCR_VC_INTERR_Pos 9U
3304#define DCB_DEMCR_VC_INTERR_Msk (0x1UL << DCB_DEMCR_VC_INTERR_Pos)
3306#define DCB_DEMCR_VC_BUSERR_Pos 8U
3307#define DCB_DEMCR_VC_BUSERR_Msk (0x1UL << DCB_DEMCR_VC_BUSERR_Pos)
3309#define DCB_DEMCR_VC_STATERR_Pos 7U
3310#define DCB_DEMCR_VC_STATERR_Msk (0x1UL << DCB_DEMCR_VC_STATERR_Pos)
3312#define DCB_DEMCR_VC_CHKERR_Pos 6U
3313#define DCB_DEMCR_VC_CHKERR_Msk (0x1UL << DCB_DEMCR_VC_CHKERR_Pos)
3315#define DCB_DEMCR_VC_NOCPERR_Pos 5U
3316#define DCB_DEMCR_VC_NOCPERR_Msk (0x1UL << DCB_DEMCR_VC_NOCPERR_Pos)
3318#define DCB_DEMCR_VC_MMERR_Pos 4U
3319#define DCB_DEMCR_VC_MMERR_Msk (0x1UL << DCB_DEMCR_VC_MMERR_Pos)
3321#define DCB_DEMCR_VC_CORERESET_Pos 0U
3322#define DCB_DEMCR_VC_CORERESET_Msk (0x1UL )
3325#define DCB_DSCEMCR_CLR_MON_REQ_Pos 19U
3326#define DCB_DSCEMCR_CLR_MON_REQ_Msk (0x1UL << DCB_DSCEMCR_CLR_MON_REQ_Pos)
3328#define DCB_DSCEMCR_CLR_MON_PEND_Pos 17U
3329#define DCB_DSCEMCR_CLR_MON_PEND_Msk (0x1UL << DCB_DSCEMCR_CLR_MON_PEND_Pos)
3331#define DCB_DSCEMCR_SET_MON_REQ_Pos 3U
3332#define DCB_DSCEMCR_SET_MON_REQ_Msk (0x1UL << DCB_DSCEMCR_SET_MON_REQ_Pos)
3334#define DCB_DSCEMCR_SET_MON_PEND_Pos 1U
3335#define DCB_DSCEMCR_SET_MON_PEND_Msk (0x1UL << DCB_DSCEMCR_SET_MON_PEND_Pos)
3338#define DCB_DAUTHCTRL_UIDEN_Pos 10U
3339#define DCB_DAUTHCTRL_UIDEN_Msk (0x1UL << DCB_DAUTHCTRL_UIDEN_Pos)
3341#define DCB_DAUTHCTRL_UIDAPEN_Pos 9U
3342#define DCB_DAUTHCTRL_UIDAPEN_Msk (0x1UL << DCB_DAUTHCTRL_UIDAPEN_Pos)
3344#define DCB_DAUTHCTRL_FSDMA_Pos 8U
3345#define DCB_DAUTHCTRL_FSDMA_Msk (0x1UL << DCB_DAUTHCTRL_FSDMA_Pos)
3347#define DCB_DAUTHCTRL_INTSPNIDEN_Pos 3U
3348#define DCB_DAUTHCTRL_INTSPNIDEN_Msk (0x1UL << DCB_DAUTHCTRL_INTSPNIDEN_Pos)
3350#define DCB_DAUTHCTRL_SPNIDENSEL_Pos 2U
3351#define DCB_DAUTHCTRL_SPNIDENSEL_Msk (0x1UL << DCB_DAUTHCTRL_SPNIDENSEL_Pos)
3353#define DCB_DAUTHCTRL_INTSPIDEN_Pos 1U
3354#define DCB_DAUTHCTRL_INTSPIDEN_Msk (0x1UL << DCB_DAUTHCTRL_INTSPIDEN_Pos)
3356#define DCB_DAUTHCTRL_SPIDENSEL_Pos 0U
3357#define DCB_DAUTHCTRL_SPIDENSEL_Msk (0x1UL )
3360#define DCB_DSCSR_CDSKEY_Pos 17U
3361#define DCB_DSCSR_CDSKEY_Msk (0x1UL << DCB_DSCSR_CDSKEY_Pos)
3363#define DCB_DSCSR_CDS_Pos 16U
3364#define DCB_DSCSR_CDS_Msk (0x1UL << DCB_DSCSR_CDS_Pos)
3366#define DCB_DSCSR_SBRSEL_Pos 1U
3367#define DCB_DSCSR_SBRSEL_Msk (0x1UL << DCB_DSCSR_SBRSEL_Pos)
3369#define DCB_DSCSR_SBRSELEN_Pos 0U
3370#define DCB_DSCSR_SBRSELEN_Msk (0x1UL )
3390 __IM uint32_t DAUTHSTATUS;
3391 __IM uint32_t DDEVARCH;
3392 __IM uint32_t DDEVTYPE;
3396#define DIB_DLAR_KEY_Pos 0U
3397#define DIB_DLAR_KEY_Msk (0xFFFFFFFFUL )
3400#define DIB_DLSR_nTT_Pos 2U
3401#define DIB_DLSR_nTT_Msk (0x1UL << DIB_DLSR_nTT_Pos )
3403#define DIB_DLSR_SLK_Pos 1U
3404#define DIB_DLSR_SLK_Msk (0x1UL << DIB_DLSR_SLK_Pos )
3406#define DIB_DLSR_SLI_Pos 0U
3407#define DIB_DLSR_SLI_Msk (0x1UL )
3410#define DIB_DAUTHSTATUS_SUNID_Pos 22U
3411#define DIB_DAUTHSTATUS_SUNID_Msk (0x3UL << DIB_DAUTHSTATUS_SUNID_Pos )
3413#define DIB_DAUTHSTATUS_SUID_Pos 20U
3414#define DIB_DAUTHSTATUS_SUID_Msk (0x3UL << DIB_DAUTHSTATUS_SUID_Pos )
3416#define DIB_DAUTHSTATUS_NSUNID_Pos 18U
3417#define DIB_DAUTHSTATUS_NSUNID_Msk (0x3UL << DIB_DAUTHSTATUS_NSUNID_Pos )
3419#define DIB_DAUTHSTATUS_NSUID_Pos 16U
3420#define DIB_DAUTHSTATUS_NSUID_Msk (0x3UL << DIB_DAUTHSTATUS_NSUID_Pos )
3422#define DIB_DAUTHSTATUS_SNID_Pos 6U
3423#define DIB_DAUTHSTATUS_SNID_Msk (0x3UL << DIB_DAUTHSTATUS_SNID_Pos )
3425#define DIB_DAUTHSTATUS_SID_Pos 4U
3426#define DIB_DAUTHSTATUS_SID_Msk (0x3UL << DIB_DAUTHSTATUS_SID_Pos )
3428#define DIB_DAUTHSTATUS_NSNID_Pos 2U
3429#define DIB_DAUTHSTATUS_NSNID_Msk (0x3UL << DIB_DAUTHSTATUS_NSNID_Pos )
3431#define DIB_DAUTHSTATUS_NSID_Pos 0U
3432#define DIB_DAUTHSTATUS_NSID_Msk (0x3UL )
3435#define DIB_DDEVARCH_ARCHITECT_Pos 21U
3436#define DIB_DDEVARCH_ARCHITECT_Msk (0x7FFUL << DIB_DDEVARCH_ARCHITECT_Pos )
3438#define DIB_DDEVARCH_PRESENT_Pos 20U
3439#define DIB_DDEVARCH_PRESENT_Msk (0x1FUL << DIB_DDEVARCH_PRESENT_Pos )
3441#define DIB_DDEVARCH_REVISION_Pos 16U
3442#define DIB_DDEVARCH_REVISION_Msk (0xFUL << DIB_DDEVARCH_REVISION_Pos )
3444#define DIB_DDEVARCH_ARCHVER_Pos 12U
3445#define DIB_DDEVARCH_ARCHVER_Msk (0xFUL << DIB_DDEVARCH_ARCHVER_Pos )
3447#define DIB_DDEVARCH_ARCHPART_Pos 0U
3448#define DIB_DDEVARCH_ARCHPART_Msk (0xFFFUL )
3451#define DIB_DDEVTYPE_SUB_Pos 4U
3452#define DIB_DDEVTYPE_SUB_Msk (0xFUL << DIB_DDEVTYPE_SUB_Pos )
3454#define DIB_DDEVTYPE_MAJOR_Pos 0U
3455#define DIB_DDEVTYPE_MAJOR_Msk (0xFUL )
3474#define _VAL2FLD(field, value) (((uint32_t)(value) << field ## _Pos) & field ## _Msk)
3482#define _FLD2VAL(field, value) (((uint32_t)(value) & field ## _Msk) >> field ## _Pos)
3495 #define SCS_BASE (0xE000E000UL)
3496 #define ITM_BASE (0xE0000000UL)
3497 #define DWT_BASE (0xE0001000UL)
3498 #define MEMSYSCTL_BASE (0xE001E000UL)
3499 #define ERRBNK_BASE (0xE001E100UL)
3500 #define PWRMODCTL_BASE (0xE001E300UL)
3501 #define EWIC_BASE (0xE001E400UL)
3502 #define PRCCFGINF_BASE (0xE001E700UL)
3503 #define TPI_BASE (0xE0040000UL)
3504 #define CoreDebug_BASE (0xE000EDF0UL)
3505 #define DCB_BASE (0xE000EDF0UL)
3506 #define DIB_BASE (0xE000EFB0UL)
3507 #define SysTick_BASE (SCS_BASE + 0x0010UL)
3508 #define NVIC_BASE (SCS_BASE + 0x0100UL)
3509 #define SCB_BASE (SCS_BASE + 0x0D00UL)
3511 #define ICB ((ICB_Type *) SCS_BASE )
3512 #define SCB ((SCB_Type *) SCB_BASE )
3513 #define SysTick ((SysTick_Type *) SysTick_BASE )
3514 #define NVIC ((NVIC_Type *) NVIC_BASE )
3515 #define ITM ((ITM_Type *) ITM_BASE )
3516 #define DWT ((DWT_Type *) DWT_BASE )
3517 #define TPI ((TPI_Type *) TPI_BASE )
3518 #define MEMSYSCTL ((MemSysCtl_Type *) MEMSYSCTL_BASE )
3519 #define ERRBNK ((ErrBnk_Type *) ERRBNK_BASE )
3520 #define PWRMODCTL ((PwrModCtl_Type *) PWRMODCTL_BASE )
3521 #define EWIC ((EWIC_Type *) EWIC_BASE )
3522 #define PRCCFGINF ((PrcCfgInf_Type *) PRCCFGINF_BASE )
3523 #define CoreDebug ((CoreDebug_Type *) CoreDebug_BASE )
3524 #define DCB ((DCB_Type *) DCB_BASE )
3525 #define DIB ((DIB_Type *) DIB_BASE )
3527 #if defined (__MPU_PRESENT) && (__MPU_PRESENT == 1U)
3528 #define MPU_BASE (SCS_BASE + 0x0D90UL)
3529 #define MPU ((MPU_Type *) MPU_BASE )
3532 #if defined (__PMU_PRESENT) && (__PMU_PRESENT == 1U)
3533 #define PMU_BASE (0xE0003000UL)
3534 #define PMU ((PMU_Type *) PMU_BASE )
3537 #if defined (__ARM_FEATURE_CMSE) && (__ARM_FEATURE_CMSE == 3U)
3538 #define SAU_BASE (SCS_BASE + 0x0DD0UL)
3539 #define SAU ((SAU_Type *) SAU_BASE )
3542 #define FPU_BASE (SCS_BASE + 0x0F30UL)
3543 #define FPU ((FPU_Type *) FPU_BASE )
3545#if defined (__ARM_FEATURE_CMSE) && (__ARM_FEATURE_CMSE == 3U)
3546 #define SCS_BASE_NS (0xE002E000UL)
3547 #define CoreDebug_BASE_NS (0xE002EDF0UL)
3548 #define DCB_BASE_NS (0xE002EDF0UL)
3549 #define DIB_BASE_NS (0xE002EFB0UL)
3550 #define SysTick_BASE_NS (SCS_BASE_NS + 0x0010UL)
3551 #define NVIC_BASE_NS (SCS_BASE_NS + 0x0100UL)
3552 #define SCB_BASE_NS (SCS_BASE_NS + 0x0D00UL)
3554 #define ICB_NS ((ICB_Type *) SCS_BASE_NS )
3555 #define SCB_NS ((SCB_Type *) SCB_BASE_NS )
3556 #define SysTick_NS ((SysTick_Type *) SysTick_BASE_NS )
3557 #define NVIC_NS ((NVIC_Type *) NVIC_BASE_NS )
3558 #define CoreDebug_NS ((CoreDebug_Type *) CoreDebug_BASE_NS)
3559 #define DCB_NS ((DCB_Type *) DCB_BASE_NS )
3560 #define DIB_NS ((DIB_Type *) DIB_BASE_NS )
3562 #if defined (__MPU_PRESENT) && (__MPU_PRESENT == 1U)
3563 #define MPU_BASE_NS (SCS_BASE_NS + 0x0D90UL)
3564 #define MPU_NS ((MPU_Type *) MPU_BASE_NS )
3567 #define FPU_BASE_NS (SCS_BASE_NS + 0x0F30UL)
3568 #define FPU_NS ((FPU_Type *) FPU_BASE_NS )
3606#ifdef CMSIS_NVIC_VIRTUAL
3607 #ifndef CMSIS_NVIC_VIRTUAL_HEADER_FILE
3608 #define CMSIS_NVIC_VIRTUAL_HEADER_FILE "cmsis_nvic_virtual.h"
3610 #include CMSIS_NVIC_VIRTUAL_HEADER_FILE
3612 #define NVIC_SetPriorityGrouping __NVIC_SetPriorityGrouping
3613 #define NVIC_GetPriorityGrouping __NVIC_GetPriorityGrouping
3614 #define NVIC_EnableIRQ __NVIC_EnableIRQ
3615 #define NVIC_GetEnableIRQ __NVIC_GetEnableIRQ
3616 #define NVIC_DisableIRQ __NVIC_DisableIRQ
3617 #define NVIC_GetPendingIRQ __NVIC_GetPendingIRQ
3618 #define NVIC_SetPendingIRQ __NVIC_SetPendingIRQ
3619 #define NVIC_ClearPendingIRQ __NVIC_ClearPendingIRQ
3620 #define NVIC_GetActive __NVIC_GetActive
3621 #define NVIC_SetPriority __NVIC_SetPriority
3622 #define NVIC_GetPriority __NVIC_GetPriority
3623 #define NVIC_SystemReset __NVIC_SystemReset
3626#ifdef CMSIS_VECTAB_VIRTUAL
3627 #ifndef CMSIS_VECTAB_VIRTUAL_HEADER_FILE
3628 #define CMSIS_VECTAB_VIRTUAL_HEADER_FILE "cmsis_vectab_virtual.h"
3630 #include CMSIS_VECTAB_VIRTUAL_HEADER_FILE
3632 #define NVIC_SetVector __NVIC_SetVector
3633 #define NVIC_GetVector __NVIC_GetVector
3636#define NVIC_USER_IRQ_OFFSET 16
3642#define FNC_RETURN (0xFEFFFFFFUL)
3645#define EXC_RETURN_PREFIX (0xFF000000UL)
3646#define EXC_RETURN_S (0x00000040UL)
3647#define EXC_RETURN_DCRS (0x00000020UL)
3648#define EXC_RETURN_FTYPE (0x00000010UL)
3649#define EXC_RETURN_MODE (0x00000008UL)
3650#define EXC_RETURN_SPSEL (0x00000004UL)
3651#define EXC_RETURN_ES (0x00000001UL)
3654#if defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)
3655#define EXC_INTEGRITY_SIGNATURE (0xFEFA125AUL)
3657#define EXC_INTEGRITY_SIGNATURE (0xFEFA125BUL)
3673 uint32_t PriorityGroupTmp = (PriorityGroup & (uint32_t)0x07UL);
3675 reg_value =
SCB->AIRCR;
3677 reg_value = (reg_value |
3680 SCB->AIRCR = reg_value;
3703 if ((int32_t)(IRQn) >= 0)
3706 NVIC->ISER[(((uint32_t)IRQn) >> 5UL)] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL));
3722 if ((int32_t)(IRQn) >= 0)
3724 return((uint32_t)(((
NVIC->ISER[(((uint32_t)IRQn) >> 5UL)] & (1UL << (((uint32_t)IRQn) & 0x1FUL))) != 0UL) ? 1UL : 0UL));
3741 if ((int32_t)(IRQn) >= 0)
3743 NVIC->ICER[(((uint32_t)IRQn) >> 5UL)] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL));
3760 if ((int32_t)(IRQn) >= 0)
3762 return((uint32_t)(((
NVIC->ISPR[(((uint32_t)IRQn) >> 5UL)] & (1UL << (((uint32_t)IRQn) & 0x1FUL))) != 0UL) ? 1UL : 0UL));
3779 if ((int32_t)(IRQn) >= 0)
3781 NVIC->ISPR[(((uint32_t)IRQn) >> 5UL)] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL));
3794 if ((int32_t)(IRQn) >= 0)
3796 NVIC->ICPR[(((uint32_t)IRQn) >> 5UL)] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL));
3811 if ((int32_t)(IRQn) >= 0)
3813 return((uint32_t)(((
NVIC->IABR[(((uint32_t)IRQn) >> 5UL)] & (1UL << (((uint32_t)IRQn) & 0x1FUL))) != 0UL) ? 1UL : 0UL));
3822#if defined (__ARM_FEATURE_CMSE) && (__ARM_FEATURE_CMSE == 3U)
3833 if ((int32_t)(IRQn) >= 0)
3835 return((uint32_t)(((
NVIC->ITNS[(((uint32_t)IRQn) >> 5UL)] & (1UL << (((uint32_t)IRQn) & 0x1FUL))) != 0UL) ? 1UL : 0UL));
3854 if ((int32_t)(IRQn) >= 0)
3856 NVIC->ITNS[(((uint32_t)IRQn) >> 5UL)] |= ((uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL)));
3857 return((uint32_t)(((
NVIC->ITNS[(((uint32_t)IRQn) >> 5UL)] & (1UL << (((uint32_t)IRQn) & 0x1FUL))) != 0UL) ? 1UL : 0UL));
3876 if ((int32_t)(IRQn) >= 0)
3878 NVIC->ITNS[(((uint32_t)IRQn) >> 5UL)] &= ~((uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL)));
3879 return((uint32_t)(((
NVIC->ITNS[(((uint32_t)IRQn) >> 5UL)] & (1UL << (((uint32_t)IRQn) & 0x1FUL))) != 0UL) ? 1UL : 0UL));
3900 if ((int32_t)(IRQn) >= 0)
3902 NVIC->IPR[((uint32_t)IRQn)] = (uint8_t)((priority << (8U -
__NVIC_PRIO_BITS)) & (uint32_t)0xFFUL);
3906 SCB->SHPR[(((uint32_t)IRQn) & 0xFUL)-4UL] = (uint8_t)((priority << (8U -
__NVIC_PRIO_BITS)) & (uint32_t)0xFFUL);
3923 if ((int32_t)(IRQn) >= 0)
3947 uint32_t PriorityGroupTmp = (PriorityGroup & (uint32_t)0x07UL);
3948 uint32_t PreemptPriorityBits;
3949 uint32_t SubPriorityBits;
3952 SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(
__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint32_t)0UL : (uint32_t)((PriorityGroupTmp - 7UL) + (uint32_t)(
__NVIC_PRIO_BITS));
3955 ((PreemptPriority & (uint32_t)((1UL << (PreemptPriorityBits)) - 1UL)) << SubPriorityBits) |
3956 ((SubPriority & (uint32_t)((1UL << (SubPriorityBits )) - 1UL)))
3974 uint32_t PriorityGroupTmp = (PriorityGroup & (uint32_t)0x07UL);
3975 uint32_t PreemptPriorityBits;
3976 uint32_t SubPriorityBits;
3979 SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(
__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint32_t)0UL : (uint32_t)((PriorityGroupTmp - 7UL) + (uint32_t)(
__NVIC_PRIO_BITS));
3981 *pPreemptPriority = (Priority >> SubPriorityBits) & (uint32_t)((1UL << (PreemptPriorityBits)) - 1UL);
3982 *pSubPriority = (Priority ) & (uint32_t)((1UL << (SubPriorityBits )) - 1UL);
3997 uint32_t *vectors = (uint32_t *)
SCB->VTOR;
4013 uint32_t *vectors = (uint32_t *)
SCB->VTOR;
4037#if defined (__ARM_FEATURE_CMSE) && (__ARM_FEATURE_CMSE == 3U)
4047__STATIC_INLINE void TZ_NVIC_SetPriorityGrouping_NS(uint32_t PriorityGroup)
4050 uint32_t PriorityGroupTmp = (PriorityGroup & (uint32_t)0x07UL);
4052 reg_value = SCB_NS->AIRCR;
4054 reg_value = (reg_value |
4057 SCB_NS->AIRCR = reg_value;
4080 if ((int32_t)(IRQn) >= 0)
4082 NVIC_NS->ISER[(((uint32_t)IRQn) >> 5UL)] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL));
4097 if ((int32_t)(IRQn) >= 0)
4099 return((uint32_t)(((NVIC_NS->ISER[(((uint32_t)IRQn) >> 5UL)] & (1UL << (((uint32_t)IRQn) & 0x1FUL))) != 0UL) ? 1UL : 0UL));
4116 if ((int32_t)(IRQn) >= 0)
4118 NVIC_NS->ICER[(((uint32_t)IRQn) >> 5UL)] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL));
4133 if ((int32_t)(IRQn) >= 0)
4135 return((uint32_t)(((NVIC_NS->ISPR[(((uint32_t)IRQn) >> 5UL)] & (1UL << (((uint32_t)IRQn) & 0x1FUL))) != 0UL) ? 1UL : 0UL));
4152 if ((int32_t)(IRQn) >= 0)
4154 NVIC_NS->ISPR[(((uint32_t)IRQn) >> 5UL)] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL));
4167 if ((int32_t)(IRQn) >= 0)
4169 NVIC_NS->ICPR[(((uint32_t)IRQn) >> 5UL)] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL));
4184 if ((int32_t)(IRQn) >= 0)
4186 return((uint32_t)(((NVIC_NS->IABR[(((uint32_t)IRQn) >> 5UL)] & (1UL << (((uint32_t)IRQn) & 0x1FUL))) != 0UL) ? 1UL : 0UL));
4206 if ((int32_t)(IRQn) >= 0)
4208 NVIC_NS->IPR[((uint32_t)IRQn)] = (uint8_t)((priority << (8U -
__NVIC_PRIO_BITS)) & (uint32_t)0xFFUL);
4212 SCB_NS->SHPR[(((uint32_t)IRQn) & 0xFUL)-4UL] = (uint8_t)((priority << (8U -
__NVIC_PRIO_BITS)) & (uint32_t)0xFFUL);
4228 if ((int32_t)(IRQn) >= 0)
4230 return(((uint32_t)NVIC_NS->IPR[((uint32_t)IRQn)] >> (8U -
__NVIC_PRIO_BITS)));
4234 return(((uint32_t)SCB_NS->SHPR[(((uint32_t)IRQn) & 0xFUL)-4UL] >> (8U -
__NVIC_PRIO_BITS)));
4243#if defined (__MPU_PRESENT) && (__MPU_PRESENT == 1U)
4251#if defined (__PMU_PRESENT) && (__PMU_PRESENT == 1U)
4260#define ARMCM85_PMU_ECC_ERR 0xC000
4261#define ARMCM85_PMU_ECC_ERR_MBIT 0xC001
4262#define ARMCM85_PMU_ECC_ERR_DCACHE 0xC010
4263#define ARMCM85_PMU_ECC_ERR_ICACHE 0xC011
4264#define ARMCM85_PMU_ECC_ERR_MBIT_DCACHE 0xC012
4265#define ARMCM85_PMU_ECC_ERR_MBIT_ICACHE 0xC013
4266#define ARMCM85_PMU_ECC_ERR_DTCM 0xC020
4267#define ARMCM85_PMU_ECC_ERR_ITCM 0xC021
4268#define ARMCM85_PMU_ECC_ERR_MBIT_DTCM 0xC022
4269#define ARMCM85_PMU_ECC_ERR_MBIT_ITCM 0xC023
4270#define ARMCM85_PMU_PF_LINEFILL 0xC100
4271#define ARMCM85_PMU_PF_CANCEL 0xC101
4272#define ARMCM85_PMU_PF_DROP_LINEFILL 0xC102
4273#define ARMCM85_PMU_NWAMODE_ENTER 0xC200
4274#define ARMCM85_PMU_NWAMODE 0xC201
4275#define ARMCM85_PMU_SAHB_ACCESS 0xC300
4276#define ARMCM85_PMU_PAHB_ACCESS 0xC301
4277#define ARMCM85_PMU_AXI_WRITE_ACCESS 0xC302
4278#define ARMCM85_PMU_AXI_READ_ACCESS 0xC303
4279#define ARMCM85_PMU_DOSTIMEOUT_DOUBLE 0xC400
4280#define ARMCM85_PMU_DOSTIMEOUT_TRIPLE 0xC401
4340 const uint32_t mvfr1 =
FPU->MVFR1;
4361#if ((defined (__ICACHE_PRESENT) && (__ICACHE_PRESENT == 1U)) || \
4362 (defined (__DCACHE_PRESENT) && (__DCACHE_PRESENT == 1U)))
4375#if defined (__ARM_FEATURE_CMSE) && (__ARM_FEATURE_CMSE == 3U)
4383 SAU->CTRL |= (SAU_CTRL_ENABLE_Msk);
4394 SAU->CTRL &= ~(SAU_CTRL_ENABLE_Msk);
4405#if (defined (__ARM_FEATURE_PAUTH) && (__ARM_FEATURE_PAUTH == 1))
4441 return (
DCB->DAUTHCTRL);
4445#if defined (__ARM_FEATURE_CMSE) && (__ARM_FEATURE_CMSE == 3U)
4455 DCB_NS->DAUTHCTRL =
value;
4468 return (DCB_NS->DAUTHCTRL);
4493 return (
DIB->DAUTHSTATUS);
4497#if defined (__ARM_FEATURE_CMSE) && (__ARM_FEATURE_CMSE == 3U)
4505 return (DIB_NS->DAUTHSTATUS);
4522#if defined (__Vendor_SysTickConfig) && (__Vendor_SysTickConfig == 0U)
4542 SysTick->LOAD = (uint32_t)(ticks - 1UL);
4551#if defined (__ARM_FEATURE_CMSE) && (__ARM_FEATURE_CMSE == 3U)
4571 SysTick_NS->LOAD = (uint32_t)(ticks - 1UL);
4573 SysTick_NS->VAL = 0UL;
4596#define ITM_RXBUFFER_EMPTY ((int32_t)0x5AA55AA5U)
4610 ((
ITM->TER & 1UL ) != 0UL) )
4612 while (
ITM->PORT[0U].u32 == 0UL)
4616 ITM->PORT[0U].u8 = (uint8_t)
ch;
#define __COMPILER_BARRIER()
CMSIS compiler generic header file.
CMSIS Core(M) Version definitions.
#define SysTick_CTRL_ENABLE_Msk
SysTick CTRL: ENABLE Mask.
#define DCB
DCB configuration struct.
#define SysTick_LOAD_RELOAD_Msk
SysTick LOAD: RELOAD Mask.
#define ITM_TCR_ITMENA_Msk
ITM TCR: ITM Enable bit Mask.
#define SCB_AIRCR_PRIGROUP_Msk
SCB AIRCR: PRIGROUP Mask.
#define SCB_AIRCR_VECTKEY_Msk
SCB AIRCR: VECTKEY Mask.
#define SysTick_CTRL_TICKINT_Msk
SysTick CTRL: TICKINT Mask.
#define SysTick_CTRL_CLKSOURCE_Msk
SysTick CTRL: CLKSOURCE Mask.
#define SCB_AIRCR_VECTKEY_Pos
SCB AIRCR: VECTKEY Position.
#define SCB
SCB configuration struct.
#define DIB
DIB configuration struct.
#define SCB_AIRCR_SYSRESETREQ_Msk
SCB AIRCR: SYSRESETREQ Mask.
#define ITM
ITM configuration struct.
#define FPU
Floating Point Unit.
#define NVIC
NVIC configuration struct.
#define SCB_AIRCR_PRIGROUP_Pos
SCB AIRCR: PRIGROUP Position.
#define SysTick
SysTick configuration struct.
#define __NVIC_SetPriorityGrouping(X)
#define __NVIC_GetPriorityGrouping()
Get Priority Grouping.
#define __DSB()
Data Synchronization Barrier.
#define __ISB()
Instruction Synchronization Barrier.
#define __NOP
No Operation.
__NO_RETURN __STATIC_INLINE void __NVIC_SystemReset(void)
System Reset.
__STATIC_INLINE void __NVIC_SetVector(IRQn_Type IRQn, uint32_t vector)
Set Interrupt Vector.
__STATIC_INLINE uint32_t DIB_GetAuthStatus(void)
Get Debug Authentication Status Register.
__STATIC_INLINE void NVIC_DecodePriority(uint32_t Priority, uint32_t PriorityGroup, uint32_t *const pPreemptPriority, uint32_t *const pSubPriority)
Decode Priority.
__STATIC_INLINE uint32_t __NVIC_GetVector(IRQn_Type IRQn)
Get Interrupt Vector.
__STATIC_INLINE void __NVIC_SetPriority(IRQn_Type IRQn, uint32_t priority)
Set Interrupt Priority.
__STATIC_INLINE void __NVIC_ClearPendingIRQ(IRQn_Type IRQn)
Clear Pending Interrupt.
__STATIC_INLINE uint32_t __NVIC_GetPendingIRQ(IRQn_Type IRQn)
Get Pending Interrupt.
__STATIC_INLINE uint32_t SCB_GetFPUType(void)
get FPU type
__STATIC_INLINE void __NVIC_EnableIRQ(IRQn_Type IRQn)
Enable Interrupt.
#define NVIC_USER_IRQ_OFFSET
__STATIC_INLINE void DCB_SetAuthCtrl(uint32_t value)
Set Debug Authentication Control Register.
__STATIC_INLINE uint32_t SCB_GetMVEType(void)
get MVE type
__STATIC_INLINE uint32_t __NVIC_GetActive(IRQn_Type IRQn)
Get Active Interrupt.
__STATIC_INLINE void __NVIC_SetPendingIRQ(IRQn_Type IRQn)
Set Pending Interrupt.
__STATIC_INLINE uint32_t __NVIC_GetEnableIRQ(IRQn_Type IRQn)
Get Interrupt Enable status.
__STATIC_INLINE uint32_t NVIC_EncodePriority(uint32_t PriorityGroup, uint32_t PreemptPriority, uint32_t SubPriority)
Encode Priority.
__STATIC_INLINE void __NVIC_DisableIRQ(IRQn_Type IRQn)
Disable Interrupt.
__STATIC_INLINE uint32_t SysTick_Config(uint32_t ticks)
System Tick Configuration.
__STATIC_INLINE uint32_t __NVIC_GetPriority(IRQn_Type IRQn)
Get Interrupt Priority.
__STATIC_INLINE uint32_t DCB_GetAuthCtrl(void)
Get Debug Authentication Control Register.
#define FPU_MVFR0_FPDP_Msk
MVFR0: FPDP bits Mask.
#define FPU_MVFR1_MVE_Msk
MVFR1: MVE bits Mask.
#define FPU_MVFR1_MVE_Pos
MVFR1: MVE bits Position.
#define FPU_MVFR0_FPSP_Msk
MVFR0: FPSP bits Mask.
uint32_t _reserved0
bit: 0..15 Reserved
uint32_t _reserved0
bit: 9..31 Reserved
volatile int32_t ITM_RxBuffer
External variable to receive characters.
uint32_t SPSEL
bit: 1 Stack-pointer select
uint32_t FPCA
bit: 2 Floating-point context active
uint32_t _reserved0
bit: 9..15 Reserved
uint32_t nPRIV
bit: 0 Execution privilege in Thread mode
uint32_t GE
bit: 16..19 Greater than or Equal flags
uint32_t _reserved2
bit: 22..23 Reserved
uint32_t UBTI_EN
bit: 5 Unprivileged branch target identification enable
uint32_t N
bit: 31 Negative condition code flag
uint32_t SFPA
bit: 3 Secure floating-point active
__OM uint8_t u8
Offset: 0x000 ( /W) ITM Stimulus Port 8-bit.
__IOM uint32_t MAIR0
Offset: 0x030 (R/W) MPU Memory Attribute Indirection Register 0.
uint32_t UPAC_EN
bit: 7 Unprivileged pointer authentication enable
uint32_t PAC_EN
bit: 6 Privileged pointer authentication enable
uint32_t V
bit: 28 Overflow condition code flag
uint32_t IT
bit: 25..26 saved IT state (read 0)
uint32_t B
bit: 21 BTI active (read 0)
uint32_t V
bit: 28 Overflow condition code flag
__OM uint16_t u16
Offset: 0x000 ( /W) ITM Stimulus Port 16-bit.
#define ITM_RXBUFFER_EMPTY
Value identifying ITM_RxBuffer is ready for next character.
uint32_t Z
bit: 30 Zero condition code flag
__IOM uint32_t MAIR1
Offset: 0x034 (R/W) MPU Memory Attribute Indirection Register 1.
uint32_t C
bit: 29 Carry condition code flag
__STATIC_INLINE int32_t ITM_ReceiveChar(void)
ITM Receive Character.
__STATIC_INLINE uint32_t ITM_SendChar(uint32_t ch)
ITM Send Character.
uint32_t BTI_EN
bit: 4 Privileged branch target identification enable
uint32_t _reserved1
bit: 20 Reserved
uint32_t T
bit: 24 Thumb bit (read 0)
uint32_t N
bit: 31 Negative condition code flag
uint32_t _reserved1
bit: 20..26 Reserved
uint32_t C
bit: 29 Carry condition code flag
uint32_t Q
bit: 27 Saturation condition flag
__STATIC_INLINE int32_t ITM_CheckChar(void)
ITM Check Character.
uint32_t Z
bit: 30 Zero condition code flag
__OM uint32_t u32
Offset: 0x000 ( /W) ITM Stimulus Port 32-bit.
uint32_t Q
bit: 27 Saturation condition flag
uint32_t GE
bit: 16..19 Greater than or Equal flags
uint32_t _reserved1
bit: 8..31 Reserved
#define __NVIC_PRIO_BITS
CM7 uses 4 Bits for the Priority Levels.
IRQn_Type
STM32H7XX Interrupt Number Definition, according to the selected device in Library_configuration_sect...
@ SysTick_IRQn
15 Cortex-M System Tick Interrupt
*brief create JSON pointer *sa reference_tokens const string_t const string_t & b
Structure type to access the Core Debug Register (CoreDebug).
Structure type to access the Debug Control Block Registers (DCB).
Structure type to access the Debug Identification Block Registers (DIB).
Structure type to access the Data Watchpoint and Trace Register (DWT).
Structure type to access the External Wakeup Interrupt Controller Registers (EWIC).
Structure type to access the Error Banking Registers (ERRBNK).
Structure type to access the Floating Point Unit (FPU).
Structure type to access the Implementation Control Block (ICB).
Structure type to access the Instrumentation Trace Macrocell Register (ITM).
Structure type to access the Memory Protection Unit (MPU).
Structure type to access the Memory System Control Registers (MEMSYSCTL).
Structure type to access the Nested Vectored Interrupt Controller (NVIC).
Structure type to access the Processor Configuration Information Registerss (PRCCFGINF).
Structure type to access the Power Mode Control Registers (PWRMODCTL).
Structure type to access the System Control Block (SCB).
Structure type to access the System Timer (SysTick).
Structure type to access the Trace Port Interface Register (TPI).
static std::string ch(int ain, const std::string &kind, const std::string &extra="", const std::string &board="lj")
Union type to access the Application Program Status Register (APSR).
Union type to access the Control Registers (CONTROL).
Union type to access the Interrupt Program Status Register (IPSR).
Union type to access the Special-Purpose Program Status Registers (xPSR).