Arrow / Mbed OS DAPLink Reset
Embed: (wiki syntax)

« Back to documentation index

cmsis_gcc.h File Reference

cmsis_gcc.h File Reference

CMSIS compiler GCC header file. More...

Go to the source code of this file.

Functions

__STATIC_FORCEINLINE
__NO_RETURN void 
__cmsis_start (void)
 Initializes data and bss sections.
__STATIC_FORCEINLINE void __enable_irq (void)
 Enable IRQ Interrupts.
__STATIC_FORCEINLINE void __disable_irq (void)
 Disable IRQ Interrupts.
__STATIC_INLINE uint32_t __get_CONTROL (void)
 Enable IRQ Interrupts.
__STATIC_FORCEINLINE uint32_t __TZ_get_CONTROL_NS (void)
 Get Control Register (non-secure)
__STATIC_INLINE void __set_CONTROL (uint32_t control)
 Set Control Register.
__STATIC_FORCEINLINE void __TZ_set_CONTROL_NS (uint32_t control)
 Set Control Register (non-secure)
__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_FORCEINLINE uint32_t __TZ_get_PSP_NS (void)
 Get Process Stack Pointer (non-secure)
__STATIC_INLINE void __set_PSP (uint32_t topOfProcStack)
 Set Process Stack Pointer.
__STATIC_FORCEINLINE void __TZ_set_PSP_NS (uint32_t topOfProcStack)
 Set Process Stack Pointer (non-secure)
__STATIC_INLINE uint32_t __get_MSP (void)
 Get Main Stack Pointer.
__STATIC_FORCEINLINE uint32_t __TZ_get_MSP_NS (void)
 Get Main Stack Pointer (non-secure)
__STATIC_INLINE void __set_MSP (uint32_t topOfMainStack)
 Set Main Stack Pointer.
__STATIC_FORCEINLINE void __TZ_set_MSP_NS (uint32_t topOfMainStack)
 Set Main Stack Pointer (non-secure)
__STATIC_FORCEINLINE uint32_t __TZ_get_SP_NS (void)
 Get Stack Pointer (non-secure)
__STATIC_FORCEINLINE void __TZ_set_SP_NS (uint32_t topOfStack)
 Set Stack Pointer (non-secure)
__STATIC_INLINE uint32_t __get_PRIMASK (void)
 Get Priority Mask.
__STATIC_FORCEINLINE uint32_t __TZ_get_PRIMASK_NS (void)
 Get Priority Mask (non-secure)
__STATIC_INLINE void __set_PRIMASK (uint32_t priMask)
 Set Priority Mask.
__STATIC_FORCEINLINE void __TZ_set_PRIMASK_NS (uint32_t priMask)
 Set Priority Mask (non-secure)
__STATIC_FORCEINLINE void __enable_fault_irq (void)
 Enable FIQ.
__STATIC_FORCEINLINE void __disable_fault_irq (void)
 Disable FIQ.
__STATIC_INLINE uint32_t __get_BASEPRI (void)
 Get Base Priority.
__STATIC_FORCEINLINE uint32_t __TZ_get_BASEPRI_NS (void)
 Get Base Priority (non-secure)
__STATIC_INLINE void __set_BASEPRI (uint32_t basePri)
 Set Base Priority.
__STATIC_FORCEINLINE void __TZ_set_BASEPRI_NS (uint32_t basePri)
 Set Base Priority (non-secure)
__STATIC_INLINE void __set_BASEPRI_MAX (uint32_t basePri)
 Set Base Priority with condition.
__STATIC_INLINE uint32_t __get_FAULTMASK (void)
 Get Fault Mask.
__STATIC_FORCEINLINE uint32_t __TZ_get_FAULTMASK_NS (void)
 Get Fault Mask (non-secure)
__STATIC_INLINE void __set_FAULTMASK (uint32_t faultMask)
 Set Fault Mask.
__STATIC_FORCEINLINE void __TZ_set_FAULTMASK_NS (uint32_t faultMask)
 Set Fault Mask (non-secure)
__STATIC_FORCEINLINE uint32_t __get_PSPLIM (void)
 Get Process Stack Pointer Limit Devices without ARMv8-M Main Extensions (i.e.
__STATIC_FORCEINLINE uint32_t __TZ_get_PSPLIM_NS (void)
 Get Process Stack Pointer Limit (non-secure) Devices without ARMv8-M Main Extensions (i.e.
__STATIC_FORCEINLINE void __set_PSPLIM (uint32_t ProcStackPtrLimit)
 Set Process Stack Pointer Limit Devices without ARMv8-M Main Extensions (i.e.
__STATIC_FORCEINLINE void __TZ_set_PSPLIM_NS (uint32_t ProcStackPtrLimit)
 Set Process Stack Pointer (non-secure) Devices without ARMv8-M Main Extensions (i.e.
__STATIC_FORCEINLINE uint32_t __get_MSPLIM (void)
 Get Main Stack Pointer Limit Devices without ARMv8-M Main Extensions (i.e.
__STATIC_FORCEINLINE uint32_t __TZ_get_MSPLIM_NS (void)
 Get Main Stack Pointer Limit (non-secure) Devices without ARMv8-M Main Extensions (i.e.
__STATIC_FORCEINLINE void __set_MSPLIM (uint32_t MainStackPtrLimit)
 Set Main Stack Pointer Limit Devices without ARMv8-M Main Extensions (i.e.
__STATIC_FORCEINLINE void __TZ_set_MSPLIM_NS (uint32_t MainStackPtrLimit)
 Set Main Stack Pointer Limit (non-secure) Devices without ARMv8-M Main Extensions (i.e.
__STATIC_INLINE uint32_t __get_FPSCR (void)
 Get FPSCR.
__STATIC_INLINE void __set_FPSCR (uint32_t fpscr)
 Set FPSCR.
__STATIC_FORCEINLINE void __ISB (void)
 Instruction Synchronization Barrier.
__STATIC_FORCEINLINE void __DSB (void)
 Data Synchronization Barrier.
__STATIC_FORCEINLINE void __DMB (void)
 Data Memory Barrier.
__STATIC_FORCEINLINE uint32_t __REV (uint32_t value)
 Reverse byte order (32 bit)
__STATIC_FORCEINLINE uint32_t __REV16 (uint32_t value)
 Reverse byte order (16 bit)
__STATIC_FORCEINLINE int16_t __REVSH (int16_t value)
 Reverse byte order (16 bit)
__STATIC_FORCEINLINE uint32_t __ROR (uint32_t op1, uint32_t op2)
 Rotate Right in unsigned value (32 bit)
__STATIC_FORCEINLINE uint32_t __RBIT (uint32_t value)
 Reverse bit order of value.
__STATIC_FORCEINLINE uint8_t __CLZ (uint32_t value)
 Count leading zeros.
__STATIC_FORCEINLINE uint8_t __LDREXB (volatile uint8_t *addr)
 LDR Exclusive (8 bit)
__STATIC_FORCEINLINE uint16_t __LDREXH (volatile uint16_t *addr)
 LDR Exclusive (16 bit)
__STATIC_FORCEINLINE uint32_t __LDREXW (volatile uint32_t *addr)
 LDR Exclusive (32 bit)
__STATIC_FORCEINLINE uint32_t __STREXB (uint8_t value, volatile uint8_t *addr)
 STR Exclusive (8 bit)
__STATIC_FORCEINLINE uint32_t __STREXH (uint16_t value, volatile uint16_t *addr)
 STR Exclusive (16 bit)
__STATIC_FORCEINLINE uint32_t __STREXW (uint32_t value, volatile uint32_t *addr)
 STR Exclusive (32 bit)
__STATIC_FORCEINLINE void __CLREX (void)
 Remove the exclusive lock.
__STATIC_FORCEINLINE uint32_t __RRX (uint32_t value)
 Rotate Right with Extend (32 bit)
__STATIC_FORCEINLINE uint8_t __LDRBT (volatile uint8_t *ptr)
 LDRT Unprivileged (8 bit)
__STATIC_FORCEINLINE uint16_t __LDRHT (volatile uint16_t *ptr)
 LDRT Unprivileged (16 bit)
__STATIC_FORCEINLINE uint32_t __LDRT (volatile uint32_t *ptr)
 LDRT Unprivileged (32 bit)
__STATIC_FORCEINLINE void __STRBT (uint8_t value, volatile uint8_t *ptr)
 STRT Unprivileged (8 bit)
__STATIC_FORCEINLINE void __STRHT (uint16_t value, volatile uint16_t *ptr)
 STRT Unprivileged (16 bit)
__STATIC_FORCEINLINE void __STRT (uint32_t value, volatile uint32_t *ptr)
 STRT Unprivileged (32 bit)
__STATIC_FORCEINLINE int32_t __SSAT (int32_t val, uint32_t sat)
 Signed Saturate.
__STATIC_FORCEINLINE uint32_t __USAT (int32_t val, uint32_t sat)
 Unsigned Saturate.
__STATIC_FORCEINLINE uint8_t __LDAB (volatile uint8_t *ptr)
 Load-Acquire (8 bit)
__STATIC_FORCEINLINE uint16_t __LDAH (volatile uint16_t *ptr)
 Load-Acquire (16 bit)
__STATIC_FORCEINLINE uint32_t __LDA (volatile uint32_t *ptr)
 Load-Acquire (32 bit)
__STATIC_FORCEINLINE void __STLB (uint8_t value, volatile uint8_t *ptr)
 Store-Release (8 bit)
__STATIC_FORCEINLINE void __STLH (uint16_t value, volatile uint16_t *ptr)
 Store-Release (16 bit)
__STATIC_FORCEINLINE void __STL (uint32_t value, volatile uint32_t *ptr)
 Store-Release (32 bit)
__STATIC_FORCEINLINE uint8_t __LDAEXB (volatile uint8_t *ptr)
 Load-Acquire Exclusive (8 bit)
__STATIC_FORCEINLINE uint16_t __LDAEXH (volatile uint16_t *ptr)
 Load-Acquire Exclusive (16 bit)
__STATIC_FORCEINLINE uint32_t __LDAEX (volatile uint32_t *ptr)
 Load-Acquire Exclusive (32 bit)
__STATIC_FORCEINLINE uint32_t __STLEXB (uint8_t value, volatile uint8_t *ptr)
 Store-Release Exclusive (8 bit)
__STATIC_FORCEINLINE uint32_t __STLEXH (uint16_t value, volatile uint16_t *ptr)
 Store-Release Exclusive (16 bit)
__STATIC_FORCEINLINE uint32_t __STLEX (uint32_t value, volatile uint32_t *ptr)
 Store-Release Exclusive (32 bit)

Detailed Description

CMSIS compiler GCC header file.

Version:
V5.2.1
Date:
30. July 2019

Definition in file cmsis_gcc.h.


Function Documentation

__STATIC_FORCEINLINE __NO_RETURN void __cmsis_start ( void   )

Initializes data and bss sections.

This default implementations initialized all data and additional bss sections relying on .copy.table and .zero.table specified properly in the used linker script.

Definition at line 131 of file cmsis_gcc.h.