STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
cmsis_armcc.h File Reference

CMSIS compiler ARMCC (Arm Compiler 5) header file. More...

Go to the source code of this file.

Macros

#define __ASM   __asm
#define __INLINE   __inline
#define __STATIC_INLINE   static __inline
#define __STATIC_FORCEINLINE   static __forceinline
#define __NO_RETURN   __declspec(noreturn)
#define __USED   __attribute__((used))
#define __WEAK   __attribute__((weak))
#define __PACKED   __attribute__((packed))
#define __PACKED_STRUCT   __packed struct
#define __PACKED_UNION   __packed union
#define __UNALIGNED_UINT32(x)
#define __UNALIGNED_UINT16_WRITE(addr, val)
#define __UNALIGNED_UINT16_READ(addr)
#define __UNALIGNED_UINT32_WRITE(addr, val)
#define __UNALIGNED_UINT32_READ(addr)
#define __ALIGNED(x)
#define __RESTRICT   __restrict
#define __COMPILER_BARRIER()
#define __PROGRAM_START   __main
#define __INITIAL_SP   Image$$ARM_LIB_STACK$$ZI$$Limit
#define __STACK_LIMIT   Image$$ARM_LIB_STACK$$ZI$$Base
#define __VECTOR_TABLE   __Vectors
#define __VECTOR_TABLE_ATTRIBUTE   __attribute__((used, section("RESET")))
#define __NOP   __nop
 No Operation.
#define __WFI   __wfi
 Wait For Interrupt.
#define __WFE   __wfe
 Wait For Event.
#define __SEV   __sev
 Send Event.
#define __ISB()
 Instruction Synchronization Barrier.
#define __DSB()
 Data Synchronization Barrier.
#define __DMB()
 Data Memory Barrier.
#define __REV   __rev
 Reverse byte order (32 bit).
#define __ROR   __ror
 Rotate Right in unsigned value (32 bit).
#define __BKPT(value)
 Breakpoint.
#define __CLZ   __clz
 Count leading zeros.

Functions

 __attribute__ ((section(".rev16_text"))) __STATIC_INLINE __ASM uint32_t __REV16(uint32_t value)
 Reverse byte order (16 bit).
 __attribute__ ((section(".revsh_text"))) __STATIC_INLINE __ASM int16_t __REVSH(int16_t value)
 Reverse byte order (16 bit).
 __attribute__ ((always_inline)) __STATIC_INLINE uint32_t __RBIT(uint32_t value)
 Reverse bit order of value.
__STATIC_INLINE uint32_t __get_CONTROL (void)
 Enable IRQ Interrupts.
__STATIC_INLINE void __set_CONTROL (uint32_t control)
 Set Control Register.
__STATIC_INLINE uint32_t __get_IPSR (void)
 Get IPSR Register.
__STATIC_INLINE uint32_t __get_APSR (void)
 Get APSR Register.
__STATIC_INLINE uint32_t __get_xPSR (void)
 Get xPSR Register.
__STATIC_INLINE uint32_t __get_PSP (void)
 Get Process Stack Pointer.
__STATIC_INLINE void __set_PSP (uint32_t topOfProcStack)
 Set Process Stack Pointer.
__STATIC_INLINE uint32_t __get_MSP (void)
 Get Main Stack Pointer.
__STATIC_INLINE void __set_MSP (uint32_t topOfMainStack)
 Set Main Stack Pointer.
__STATIC_INLINE uint32_t __get_PRIMASK (void)
 Get Priority Mask.
__STATIC_INLINE void __set_PRIMASK (uint32_t priMask)
 Set Priority Mask.
__STATIC_INLINE uint32_t __get_FPSCR (void)
 Get FPSCR.
__STATIC_INLINE void __set_FPSCR (uint32_t fpscr)
 Set FPSCR.

Variables

uint32_t sat

Detailed Description

CMSIS compiler ARMCC (Arm Compiler 5) header file.

Version
V5.3.2
Date
27. May 2021

Definition in file cmsis_armcc.h.

Macro Definition Documentation

◆ __ALIGNED

#define __ALIGNED ( x)
Value:
__attribute__((aligned(x)))
__attribute__((weak))
Definition syscalls.c:67

Definition at line 103 of file cmsis_armcc.h.

Referenced by SCB_DisableDCache().

◆ __ASM

◆ __COMPILER_BARRIER

#define __COMPILER_BARRIER ( )
Value:
__memory_changed()

Definition at line 109 of file cmsis_armcc.h.

Referenced by __NVIC_EnableIRQ().

◆ __INITIAL_SP

#define __INITIAL_SP   Image$$ARM_LIB_STACK$$ZI$$Limit

Definition at line 119 of file cmsis_armcc.h.

◆ __INLINE

#define __INLINE   __inline

Definition at line 61 of file cmsis_armcc.h.

◆ __NO_RETURN

#define __NO_RETURN   __declspec(noreturn)

◆ __PACKED

#define __PACKED   __attribute__((packed))

Definition at line 79 of file cmsis_armcc.h.

◆ __PACKED_STRUCT

#define __PACKED_STRUCT   __packed struct

Definition at line 82 of file cmsis_armcc.h.

◆ __PACKED_UNION

#define __PACKED_UNION   __packed union

Definition at line 85 of file cmsis_armcc.h.

◆ __PROGRAM_START

#define __PROGRAM_START   __main

Definition at line 115 of file cmsis_armcc.h.

◆ __RESTRICT

#define __RESTRICT   __restrict

Definition at line 106 of file cmsis_armcc.h.

Referenced by ARM_MPU_OrderedMemcpy().

◆ __STACK_LIMIT

#define __STACK_LIMIT   Image$$ARM_LIB_STACK$$ZI$$Base

Definition at line 123 of file cmsis_armcc.h.

◆ __STATIC_FORCEINLINE

◆ __STATIC_INLINE

#define __STATIC_INLINE   static __inline

Definition at line 64 of file cmsis_armcc.h.

Referenced by __attribute__(), __attribute__(), __attribute__(), __get_APSR(), __get_CONTROL(), __get_FPSCR(), __get_IPSR(), __get_MSP(), __get_PRIMASK(), __get_PSP(), __get_xPSR(), __NVIC_ClearPendingIRQ(), __NVIC_DisableIRQ(), __NVIC_EnableIRQ(), __NVIC_GetActive(), __NVIC_GetEnableIRQ(), __NVIC_GetPendingIRQ(), __NVIC_GetPriority(), __NVIC_GetPriorityGrouping(), __NVIC_GetVector(), __NVIC_SetPendingIRQ(), __NVIC_SetPriority(), __NVIC_SetPriorityGrouping(), __NVIC_SetVector(), __NVIC_SystemReset(), __set_CONTROL(), __set_FPSCR(), __set_MSP(), __set_PRIMASK(), __set_PSP(), __SW_SystemReset(), ARM_MPU_ClrRegion(), ARM_MPU_ClrRegionEx(), ARM_MPU_Disable(), ARM_MPU_Enable(), ARM_MPU_Load(), ARM_MPU_Load(), ARM_MPU_LoadEx(), ARM_MPU_OrderedMemcpy(), ARM_MPU_SetMemAttr(), ARM_MPU_SetMemAttrEx(), ARM_MPU_SetRegion(), ARM_MPU_SetRegion(), ARM_MPU_SetRegionEx(), ARM_MPU_SetRegionEx(), ARM_PMU_CNTR_Disable(), ARM_PMU_CNTR_Enable(), ARM_PMU_CNTR_Increment(), ARM_PMU_CYCCNT_Reset(), ARM_PMU_Disable(), ARM_PMU_Enable(), ARM_PMU_EVCNTR_ALL_Reset(), ARM_PMU_Get_CCNTR(), ARM_PMU_Get_CNTR_OVS(), ARM_PMU_Get_EVCNTR(), ARM_PMU_Set_CNTR_IRQ_Disable(), ARM_PMU_Set_CNTR_IRQ_Enable(), ARM_PMU_Set_CNTR_OVS(), ARM_PMU_Set_EVTYPER(), DCB_GetAuthCtrl(), DCB_SetAuthCtrl(), DIB_GetAuthStatus(), IRQ_Context(), ITM_CheckChar(), ITM_ReceiveChar(), ITM_SendChar(), LL_CPUID_GetConstant(), LL_CPUID_GetImplementer(), LL_CPUID_GetParNo(), LL_CPUID_GetRevision(), LL_CPUID_GetVariant(), LL_GetFlashSize(), LL_GetPackageType(), LL_GetUID_Word0(), LL_GetUID_Word1(), LL_GetUID_Word2(), LL_HANDLER_DisableFault(), LL_HANDLER_EnableFault(), LL_InitTick(), LL_LPM_DisableEventOnPend(), LL_LPM_DisableSleepOnExit(), LL_LPM_EnableDeepSleep(), LL_LPM_EnableEventOnPend(), LL_LPM_EnableSleep(), LL_LPM_EnableSleepOnExit(), LL_SYSTICK_DisableIT(), LL_SYSTICK_EnableIT(), LL_SYSTICK_GetClkSource(), LL_SYSTICK_IsActiveCounterFlag(), LL_SYSTICK_IsEnabledIT(), LL_SYSTICK_SetClkSource(), NVIC_DecodePriority(), NVIC_EncodePriority(), SCB_GetFPUType(), SCB_GetMVEType(), SVC_Setup(), SWAPBYTE(), and SysTick_Config().

◆ __UNALIGNED_UINT16_READ

#define __UNALIGNED_UINT16_READ ( addr)
Value:
(*((const __packed uint16_t *)(addr)))

Definition at line 94 of file cmsis_armcc.h.

◆ __UNALIGNED_UINT16_WRITE

#define __UNALIGNED_UINT16_WRITE ( addr,
val )
Value:
((*((__packed uint16_t *)(addr))) = (val))

Definition at line 91 of file cmsis_armcc.h.

◆ __UNALIGNED_UINT32

#define __UNALIGNED_UINT32 ( x)
Value:
(*((__packed uint32_t *)(x)))

Definition at line 88 of file cmsis_armcc.h.

◆ __UNALIGNED_UINT32_READ

#define __UNALIGNED_UINT32_READ ( addr)
Value:
(*((const __packed uint32_t *)(addr)))

Definition at line 100 of file cmsis_armcc.h.

◆ __UNALIGNED_UINT32_WRITE

#define __UNALIGNED_UINT32_WRITE ( addr,
val )
Value:
((*((__packed uint32_t *)(addr))) = (val))

Definition at line 97 of file cmsis_armcc.h.

◆ __USED

#define __USED   __attribute__((used))

Definition at line 73 of file cmsis_armcc.h.

◆ __VECTOR_TABLE

#define __VECTOR_TABLE   __Vectors

Definition at line 127 of file cmsis_armcc.h.

◆ __VECTOR_TABLE_ATTRIBUTE

#define __VECTOR_TABLE_ATTRIBUTE   __attribute__((used, section("RESET")))

Definition at line 131 of file cmsis_armcc.h.

◆ __WEAK

#define __WEAK   __attribute__((weak))

Definition at line 76 of file cmsis_armcc.h.

Referenced by vApplicationDaemonTaskStartupHook().