core_cm0.h
Go to the documentation of this file.
1 /**************************************************************************/
23 #if defined ( __ICCARM__ )
24  #pragma system_include /* treat file as system include file for MISRA check */
25 #endif
26 
27 #ifdef __cplusplus
28  extern "C" {
29 #endif
30 
31 #ifndef __CORE_CM0_H_GENERIC
32 #define __CORE_CM0_H_GENERIC
33 
48 /*******************************************************************************
49  * CMSIS definitions
50  ******************************************************************************/
55 /* CMSIS CM0 definitions */
56 #define __CM0_CMSIS_VERSION_MAIN (0x03)
57 #define __CM0_CMSIS_VERSION_SUB (0x01)
58 #define __CM0_CMSIS_VERSION ((__CM0_CMSIS_VERSION_MAIN << 16) | \
59  __CM0_CMSIS_VERSION_SUB )
61 #define __CORTEX_M (0x00)
64 #if defined ( __CC_ARM )
65  #define __ASM __asm
66  #define __INLINE __inline
67  #define __STATIC_INLINE static __inline
68 
69 #elif defined ( __ICCARM__ )
70  #define __ASM __asm
71  #define __INLINE inline
72  #define __STATIC_INLINE static inline
73 
74 #elif defined ( __GNUC__ )
75  #define __ASM __asm
76  #define __INLINE inline
77  #define __STATIC_INLINE static inline
78 
79 #elif defined ( __TASKING__ )
80  #define __ASM __asm
81  #define __INLINE inline
82  #define __STATIC_INLINE static inline
83 
84 #endif
85 
88 #define __FPU_USED 0
89 
90 #if defined ( __CC_ARM )
91  #if defined __TARGET_FPU_VFP
92  #warning "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
93  #endif
94 
95 #elif defined ( __ICCARM__ )
96  #if defined __ARMVFP__
97  #warning "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
98  #endif
99 
100 #elif defined ( __GNUC__ )
101  #if defined (__VFP_FP__) && !defined(__SOFTFP__)
102  #warning "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
103  #endif
104 
105 #elif defined ( __TASKING__ )
106  #if defined __FPU_VFP__
107  #error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
108  #endif
109 #endif
110 
111 #include <stdint.h> /* standard types definitions */
112 #include <core_cmInstr.h> /* Core Instruction Access */
113 #include <core_cmFunc.h> /* Core Function Access */
114 
115 #endif /* __CORE_CM0_H_GENERIC */
116 
117 #ifndef __CMSIS_GENERIC
118 
119 #ifndef __CORE_CM0_H_DEPENDANT
120 #define __CORE_CM0_H_DEPENDANT
121 
122 /* check device defines and use defaults */
123 #if defined __CHECK_DEVICE_DEFINES
124  #ifndef __CM0_REV
125  #define __CM0_REV 0x0000
126  #warning "__CM0_REV not defined in device header file; using default!"
127  #endif
128 
129  #ifndef __NVIC_PRIO_BITS
130  #define __NVIC_PRIO_BITS 2
131  #warning "__NVIC_PRIO_BITS not defined in device header file; using default!"
132  #endif
133 
134  #ifndef __Vendor_SysTickConfig
135  #define __Vendor_SysTickConfig 0
136  #warning "__Vendor_SysTickConfig not defined in device header file; using default!"
137  #endif
138 #endif
139 
140 /* IO definitions (access restrictions to peripheral registers) */
148 #ifdef __cplusplus
149  #define __I volatile
150 #else
151  #define __I volatile const
152 #endif
153 #define __O volatile
154 #define __IO volatile
156 
160 /*******************************************************************************
161  * Register Abstraction
162  Core Register contain:
163  - Core Register
164  - Core NVIC Register
165  - Core SCB Register
166  - Core SysTick Register
167  ******************************************************************************/
168 
180 typedef union
181 {
182  struct
183  {
184 #if (__CORTEX_M != 0x04)
186 #else
187  uint32_t _reserved0:16;
188  uint32_t GE:4;
189  uint32_t _reserved1:7;
190 #endif
196  } b;
198 } APSR_Type;
199 
200 
203 typedef union
204 {
205  struct
206  {
209  } b;
211 } IPSR_Type;
212 
213 
216 typedef union
217 {
218  struct
219  {
221 #if (__CORTEX_M != 0x04)
223 #else
224  uint32_t _reserved0:7;
225  uint32_t GE:4;
226  uint32_t _reserved1:4;
227 #endif
235  } b;
237 } xPSR_Type;
238 
239 
242 typedef union
243 {
244  struct
245  {
250  } b;
252 } CONTROL_Type;
253 
265 typedef struct
266 {
267  __IO uint32_t ISER[1];
268  uint32_t RESERVED0[31];
269  __IO uint32_t ICER[1];
270  uint32_t RSERVED1[31];
271  __IO uint32_t ISPR[1];
272  uint32_t RESERVED2[31];
273  __IO uint32_t ICPR[1];
274  uint32_t RESERVED3[31];
275  uint32_t RESERVED4[64];
276  __IO uint32_t IP[8];
277 } NVIC_Type;
278 
290 typedef struct
291 {
299  __IO uint32_t SHP[2];
301 } SCB_Type;
302 
303 /* SCB CPUID Register Definitions */
304 #define SCB_CPUID_IMPLEMENTER_Pos 24
305 #define SCB_CPUID_IMPLEMENTER_Msk (0xFFUL << SCB_CPUID_IMPLEMENTER_Pos)
307 #define SCB_CPUID_VARIANT_Pos 20
308 #define SCB_CPUID_VARIANT_Msk (0xFUL << SCB_CPUID_VARIANT_Pos)
310 #define SCB_CPUID_ARCHITECTURE_Pos 16
311 #define SCB_CPUID_ARCHITECTURE_Msk (0xFUL << SCB_CPUID_ARCHITECTURE_Pos)
313 #define SCB_CPUID_PARTNO_Pos 4
314 #define SCB_CPUID_PARTNO_Msk (0xFFFUL << SCB_CPUID_PARTNO_Pos)
316 #define SCB_CPUID_REVISION_Pos 0
317 #define SCB_CPUID_REVISION_Msk (0xFUL << SCB_CPUID_REVISION_Pos)
319 /* SCB Interrupt Control State Register Definitions */
320 #define SCB_ICSR_NMIPENDSET_Pos 31
321 #define SCB_ICSR_NMIPENDSET_Msk (1UL << SCB_ICSR_NMIPENDSET_Pos)
323 #define SCB_ICSR_PENDSVSET_Pos 28
324 #define SCB_ICSR_PENDSVSET_Msk (1UL << SCB_ICSR_PENDSVSET_Pos)
326 #define SCB_ICSR_PENDSVCLR_Pos 27
327 #define SCB_ICSR_PENDSVCLR_Msk (1UL << SCB_ICSR_PENDSVCLR_Pos)
329 #define SCB_ICSR_PENDSTSET_Pos 26
330 #define SCB_ICSR_PENDSTSET_Msk (1UL << SCB_ICSR_PENDSTSET_Pos)
332 #define SCB_ICSR_PENDSTCLR_Pos 25
333 #define SCB_ICSR_PENDSTCLR_Msk (1UL << SCB_ICSR_PENDSTCLR_Pos)
335 #define SCB_ICSR_ISRPREEMPT_Pos 23
336 #define SCB_ICSR_ISRPREEMPT_Msk (1UL << SCB_ICSR_ISRPREEMPT_Pos)
338 #define SCB_ICSR_ISRPENDING_Pos 22
339 #define SCB_ICSR_ISRPENDING_Msk (1UL << SCB_ICSR_ISRPENDING_Pos)
341 #define SCB_ICSR_VECTPENDING_Pos 12
342 #define SCB_ICSR_VECTPENDING_Msk (0x1FFUL << SCB_ICSR_VECTPENDING_Pos)
344 #define SCB_ICSR_VECTACTIVE_Pos 0
345 #define SCB_ICSR_VECTACTIVE_Msk (0x1FFUL << SCB_ICSR_VECTACTIVE_Pos)
347 /* SCB Application Interrupt and Reset Control Register Definitions */
348 #define SCB_AIRCR_VECTKEY_Pos 16
349 #define SCB_AIRCR_VECTKEY_Msk (0xFFFFUL << SCB_AIRCR_VECTKEY_Pos)
351 #define SCB_AIRCR_VECTKEYSTAT_Pos 16
352 #define SCB_AIRCR_VECTKEYSTAT_Msk (0xFFFFUL << SCB_AIRCR_VECTKEYSTAT_Pos)
354 #define SCB_AIRCR_ENDIANESS_Pos 15
355 #define SCB_AIRCR_ENDIANESS_Msk (1UL << SCB_AIRCR_ENDIANESS_Pos)
357 #define SCB_AIRCR_SYSRESETREQ_Pos 2
358 #define SCB_AIRCR_SYSRESETREQ_Msk (1UL << SCB_AIRCR_SYSRESETREQ_Pos)
360 #define SCB_AIRCR_VECTCLRACTIVE_Pos 1
361 #define SCB_AIRCR_VECTCLRACTIVE_Msk (1UL << SCB_AIRCR_VECTCLRACTIVE_Pos)
363 /* SCB System Control Register Definitions */
364 #define SCB_SCR_SEVONPEND_Pos 4
365 #define SCB_SCR_SEVONPEND_Msk (1UL << SCB_SCR_SEVONPEND_Pos)
367 #define SCB_SCR_SLEEPDEEP_Pos 2
368 #define SCB_SCR_SLEEPDEEP_Msk (1UL << SCB_SCR_SLEEPDEEP_Pos)
370 #define SCB_SCR_SLEEPONEXIT_Pos 1
371 #define SCB_SCR_SLEEPONEXIT_Msk (1UL << SCB_SCR_SLEEPONEXIT_Pos)
373 /* SCB Configuration Control Register Definitions */
374 #define SCB_CCR_STKALIGN_Pos 9
375 #define SCB_CCR_STKALIGN_Msk (1UL << SCB_CCR_STKALIGN_Pos)
377 #define SCB_CCR_UNALIGN_TRP_Pos 3
378 #define SCB_CCR_UNALIGN_TRP_Msk (1UL << SCB_CCR_UNALIGN_TRP_Pos)
380 /* SCB System Handler Control and State Register Definitions */
381 #define SCB_SHCSR_SVCALLPENDED_Pos 15
382 #define SCB_SHCSR_SVCALLPENDED_Msk (1UL << SCB_SHCSR_SVCALLPENDED_Pos)
384 
395 typedef struct
396 {
401 } SysTick_Type;
402 
403 /* SysTick Control / Status Register Definitions */
404 #define SysTick_CTRL_COUNTFLAG_Pos 16
405 #define SysTick_CTRL_COUNTFLAG_Msk (1UL << SysTick_CTRL_COUNTFLAG_Pos)
407 #define SysTick_CTRL_CLKSOURCE_Pos 2
408 #define SysTick_CTRL_CLKSOURCE_Msk (1UL << SysTick_CTRL_CLKSOURCE_Pos)
410 #define SysTick_CTRL_TICKINT_Pos 1
411 #define SysTick_CTRL_TICKINT_Msk (1UL << SysTick_CTRL_TICKINT_Pos)
413 #define SysTick_CTRL_ENABLE_Pos 0
414 #define SysTick_CTRL_ENABLE_Msk (1UL << SysTick_CTRL_ENABLE_Pos)
416 /* SysTick Reload Register Definitions */
417 #define SysTick_LOAD_RELOAD_Pos 0
418 #define SysTick_LOAD_RELOAD_Msk (0xFFFFFFUL << SysTick_LOAD_RELOAD_Pos)
420 /* SysTick Current Register Definitions */
421 #define SysTick_VAL_CURRENT_Pos 0
422 #define SysTick_VAL_CURRENT_Msk (0xFFFFFFUL << SysTick_VAL_CURRENT_Pos)
424 /* SysTick Calibration Register Definitions */
425 #define SysTick_CALIB_NOREF_Pos 31
426 #define SysTick_CALIB_NOREF_Msk (1UL << SysTick_CALIB_NOREF_Pos)
428 #define SysTick_CALIB_SKEW_Pos 30
429 #define SysTick_CALIB_SKEW_Msk (1UL << SysTick_CALIB_SKEW_Pos)
431 #define SysTick_CALIB_TENMS_Pos 0
432 #define SysTick_CALIB_TENMS_Msk (0xFFFFFFUL << SysTick_VAL_CURRENT_Pos)
434 
444 
453 /* Memory mapping of Cortex-M0 Hardware */
454 #define SCS_BASE (0xE000E000UL)
455 #define SysTick_BASE (SCS_BASE + 0x0010UL)
456 #define NVIC_BASE (SCS_BASE + 0x0100UL)
457 #define SCB_BASE (SCS_BASE + 0x0D00UL)
459 #define SCB ((SCB_Type *) SCB_BASE )
460 #define SysTick ((SysTick_Type *) SysTick_BASE )
461 #define NVIC ((NVIC_Type *) NVIC_BASE )
464 
468 /*******************************************************************************
469  * Hardware Abstraction Layer
470  Core Function Interface contains:
471  - Core NVIC Functions
472  - Core SysTick Functions
473  - Core Register Access Functions
474  ******************************************************************************/
475 
480 /* ########################## NVIC functions #################################### */
487 /* Interrupt Priorities are WORD accessible only under ARMv6M */
488 /* The following MACROS handle generation of the register offset and byte masks */
489 #define _BIT_SHIFT(IRQn) ( (((uint32_t)(IRQn) ) & 0x03) * 8 )
490 #define _SHP_IDX(IRQn) ( ((((uint32_t)(IRQn) & 0x0F)-8) >> 2) )
491 #define _IP_IDX(IRQn) ( ((uint32_t)(IRQn) >> 2) )
492 
493 
500 __STATIC_INLINE void NVIC_EnableIRQ(IRQn_Type IRQn)
501 {
502  NVIC->ISER[0] = (1 << ((uint32_t)(IRQn) & 0x1F));
503 }
504 
505 
512 __STATIC_INLINE void NVIC_DisableIRQ(IRQn_Type IRQn)
513 {
514  NVIC->ICER[0] = (1 << ((uint32_t)(IRQn) & 0x1F));
515 }
516 
517 
528 __STATIC_INLINE uint32_t NVIC_GetPendingIRQ(IRQn_Type IRQn)
529 {
530  return((uint32_t) ((NVIC->ISPR[0] & (1 << ((uint32_t)(IRQn) & 0x1F)))?1:0));
531 }
532 
533 
540 __STATIC_INLINE void NVIC_SetPendingIRQ(IRQn_Type IRQn)
541 {
542  NVIC->ISPR[0] = (1 << ((uint32_t)(IRQn) & 0x1F));
543 }
544 
545 
552 __STATIC_INLINE void NVIC_ClearPendingIRQ(IRQn_Type IRQn)
553 {
554  NVIC->ICPR[0] = (1 << ((uint32_t)(IRQn) & 0x1F)); /* Clear pending interrupt */
555 }
556 
557 
567 __STATIC_INLINE void NVIC_SetPriority(IRQn_Type IRQn, uint32_t priority)
568 {
569  if(IRQn < 0) {
570  SCB->SHP[_SHP_IDX(IRQn)] = (SCB->SHP[_SHP_IDX(IRQn)] & ~(0xFF << _BIT_SHIFT(IRQn))) |
571  (((priority << (8 - __NVIC_PRIO_BITS)) & 0xFF) << _BIT_SHIFT(IRQn)); }
572  else {
573  NVIC->IP[_IP_IDX(IRQn)] = (NVIC->IP[_IP_IDX(IRQn)] & ~(0xFF << _BIT_SHIFT(IRQn))) |
574  (((priority << (8 - __NVIC_PRIO_BITS)) & 0xFF) << _BIT_SHIFT(IRQn)); }
575 }
576 
577 
589 __STATIC_INLINE uint32_t NVIC_GetPriority(IRQn_Type IRQn)
590 {
591 
592  if(IRQn < 0) {
593  return((uint32_t)((SCB->SHP[_SHP_IDX(IRQn)] >> _BIT_SHIFT(IRQn) ) >> (8 - __NVIC_PRIO_BITS))); } /* get priority for Cortex-M0 system interrupts */
594  else {
595  return((uint32_t)((NVIC->IP[ _IP_IDX(IRQn)] >> _BIT_SHIFT(IRQn) ) >> (8 - __NVIC_PRIO_BITS))); } /* get priority for device specific interrupts */
596 }
597 
598 
603 __STATIC_INLINE void NVIC_SystemReset(void)
604 {
605  __DSB(); /* Ensure all outstanding memory accesses included
606  buffered write are completed before reset */
607  SCB->AIRCR = ((0x5FA << SCB_AIRCR_VECTKEY_Pos) |
609  __DSB(); /* Ensure completion of memory access */
610  while(1); /* wait until reset */
611 }
612 
617 /* ################################## SysTick function ############################################ */
624 #if (__Vendor_SysTickConfig == 0)
625 
641 __STATIC_INLINE uint32_t SysTick_Config(uint32_t ticks)
642 {
643  if (ticks > SysTick_LOAD_RELOAD_Msk) return (1); /* Reload value impossible */
644 
645  SysTick->LOAD = (ticks & SysTick_LOAD_RELOAD_Msk) - 1; /* set reload register */
646  NVIC_SetPriority (SysTick_IRQn, (1<<__NVIC_PRIO_BITS) - 1); /* set Priority for Systick Interrupt */
647  SysTick->VAL = 0; /* Load the SysTick Counter Value */
650  SysTick_CTRL_ENABLE_Msk; /* Enable SysTick IRQ and SysTick Timer */
651  return (0); /* Function successful */
652 }
653 
654 #endif
655 
661 #endif /* __CORE_CM0_H_DEPENDANT */
662 
663 #endif /* __CMSIS_GENERIC */
664 
665 #ifdef __cplusplus
666 }
667 #endif
__NVIC_PRIO_BITS
#define __NVIC_PRIO_BITS
Definition: cmsis_11cxx.h:137
SCB
#define SCB
Definition: core_cm0.h:459
CONTROL_Type::@172::_reserved0
uint32_t _reserved0
Definition: core_cm0.h:249
xPSR_Type::@171::_reserved0
uint32_t _reserved0
Definition: core_cm0.h:222
IPSR_Type::@170::_reserved0
uint32_t _reserved0
Definition: core_cm0.h:208
SysTick_CTRL_CLKSOURCE_Msk
#define SysTick_CTRL_CLKSOURCE_Msk
Definition: core_cm0.h:408
uavcan::uint32_t
std::uint32_t uint32_t
Definition: std.hpp:26
xPSR_Type::@171::IT
uint32_t IT
Definition: core_cm0.h:229
xPSR_Type
Union type to access the Special-Purpose Program Status Registers (xPSR).
Definition: core_cm0.h:216
SCB_AIRCR_SYSRESETREQ_Msk
#define SCB_AIRCR_SYSRESETREQ_Msk
Definition: core_cm0.h:358
APSR_Type
Union type to access the Application Program Status Register (APSR).
Definition: core_cm0.h:180
NVIC_SetPriority
__STATIC_INLINE void NVIC_SetPriority(IRQn_Type IRQn, uint32_t priority)
Set Interrupt Priority.
Definition: core_cm0.h:567
__IO
#define __IO
Definition: core_cm0.h:154
CONTROL_Type::@172::SPSEL
uint32_t SPSEL
Definition: core_cm0.h:247
_SHP_IDX
#define _SHP_IDX(IRQn)
Definition: core_cm0.h:490
xPSR_Type::@171::C
uint32_t C
Definition: core_cm0.h:232
_BIT_SHIFT
#define _BIT_SHIFT(IRQn)
Definition: core_cm0.h:489
SysTick_Type::VAL
__IO uint32_t VAL
Definition: core_cm0.h:399
__I
#define __I
Definition: core_cm0.h:151
SCB_Type::RESERVED0
uint32_t RESERVED0
Definition: core_cm0.h:294
SCB_Type
Structure type to access the System Control Block (SCB).
Definition: core_cm0.h:290
SysTick_CTRL_TICKINT_Msk
#define SysTick_CTRL_TICKINT_Msk
Definition: core_cm0.h:411
NVIC_DisableIRQ
__STATIC_INLINE void NVIC_DisableIRQ(IRQn_Type IRQn)
Disable External Interrupt.
Definition: core_cm0.h:512
xPSR_Type::@171::N
uint32_t N
Definition: core_cm0.h:234
NVIC_EnableIRQ
__STATIC_INLINE void NVIC_EnableIRQ(IRQn_Type IRQn)
Enable External Interrupt.
Definition: core_cm0.h:500
SCB_Type::CCR
__IO uint32_t CCR
Definition: core_cm0.h:297
IPSR_Type::@170::ISR
uint32_t ISR
Definition: core_cm0.h:207
APSR_Type::@169::N
uint32_t N
Definition: core_cm0.h:195
NVIC_SystemReset
__STATIC_INLINE void NVIC_SystemReset(void)
System Reset.
Definition: core_cm0.h:603
IPSR_Type::w
uint32_t w
Definition: core_cm0.h:210
SCB_Type::RESERVED1
uint32_t RESERVED1
Definition: core_cm0.h:298
xPSR_Type::@171::V
uint32_t V
Definition: core_cm0.h:231
APSR_Type::@169::V
uint32_t V
Definition: core_cm0.h:192
SCB_Type::AIRCR
__IO uint32_t AIRCR
Definition: core_cm0.h:295
SCB_Type::CPUID
__I uint32_t CPUID
Definition: core_cm0.h:292
SysTick_LOAD_RELOAD_Msk
#define SysTick_LOAD_RELOAD_Msk
Definition: core_cm0.h:418
NVIC_GetPendingIRQ
__STATIC_INLINE uint32_t NVIC_GetPendingIRQ(IRQn_Type IRQn)
Get Pending Interrupt.
Definition: core_cm0.h:528
core_cmFunc.h
CMSIS Cortex-M Core Function Access Header File.
SysTick_Type::CTRL
__IO uint32_t CTRL
Definition: core_cm0.h:397
CONTROL_Type
Union type to access the Control Registers (CONTROL).
Definition: core_cm0.h:242
SCB_Type::ICSR
__IO uint32_t ICSR
Definition: core_cm0.h:293
SysTick_IRQn
@ SysTick_IRQn
Definition: cmsis_11cxx.h:85
SCB_AIRCR_VECTKEY_Pos
#define SCB_AIRCR_VECTKEY_Pos
Definition: core_cm0.h:348
APSR_Type::@169::Z
uint32_t Z
Definition: core_cm0.h:194
xPSR_Type::w
uint32_t w
Definition: core_cm0.h:236
NVIC_GetPriority
__STATIC_INLINE uint32_t NVIC_GetPriority(IRQn_Type IRQn)
Get Interrupt Priority.
Definition: core_cm0.h:589
CONTROL_Type::@172::nPRIV
uint32_t nPRIV
Definition: core_cm0.h:246
NVIC_SetPendingIRQ
__STATIC_INLINE void NVIC_SetPendingIRQ(IRQn_Type IRQn)
Set Pending Interrupt.
Definition: core_cm0.h:540
NVIC
#define NVIC
Definition: core_cm0.h:461
NVIC_ClearPendingIRQ
__STATIC_INLINE void NVIC_ClearPendingIRQ(IRQn_Type IRQn)
Clear Pending Interrupt.
Definition: core_cm0.h:552
SysTick_Config
__STATIC_INLINE uint32_t SysTick_Config(uint32_t ticks)
System Tick Configuration.
Definition: core_cm0.h:641
SCB_Type::SCR
__IO uint32_t SCR
Definition: core_cm0.h:296
_IP_IDX
#define _IP_IDX(IRQn)
Definition: core_cm0.h:491
SCB_Type::SHCSR
__IO uint32_t SHCSR
Definition: core_cm0.h:300
xPSR_Type::@171::T
uint32_t T
Definition: core_cm0.h:228
SysTick_CTRL_ENABLE_Msk
#define SysTick_CTRL_ENABLE_Msk
Definition: core_cm0.h:414
APSR_Type::@169::C
uint32_t C
Definition: core_cm0.h:193
NVIC_Type
Structure type to access the Nested Vectored Interrupt Controller (NVIC).
Definition: core_cm0.h:265
APSR_Type::@169::Q
uint32_t Q
Definition: core_cm0.h:191
APSR_Type::@169::_reserved0
uint32_t _reserved0
Definition: core_cm0.h:185
xPSR_Type::@171::Z
uint32_t Z
Definition: core_cm0.h:233
APSR_Type::w
uint32_t w
Definition: core_cm0.h:197
SysTick
#define SysTick
Definition: core_cm0.h:460
SysTick_Type::CALIB
__I uint32_t CALIB
Definition: core_cm0.h:400
SysTick_Type::LOAD
__IO uint32_t LOAD
Definition: core_cm0.h:398
core_cmInstr.h
CMSIS Cortex-M Core Instruction Access Header File.
xPSR_Type::@171::Q
uint32_t Q
Definition: core_cm0.h:230
CONTROL_Type::@172::FPCA
uint32_t FPCA
Definition: core_cm0.h:248
SysTick_Type
Structure type to access the System Timer (SysTick).
Definition: core_cm0.h:395
IPSR_Type
Union type to access the Interrupt Program Status Register (IPSR).
Definition: core_cm0.h:203
xPSR_Type::@171::ISR
uint32_t ISR
Definition: core_cm0.h:220
CONTROL_Type::w
uint32_t w
Definition: core_cm0.h:251


uavcan_communicator
Author(s):
autogenerated on Fri Dec 13 2024 03:10:02