Macros | Functions | Variables
imxrt1050/imxrt1050-evkb/CMSIS/cmsis_gcc.h File Reference

CMSIS compiler GCC header file. More...

Go to the source code of this file.

Macros

#define __ALIGNED(x)   __attribute__((aligned(x)))
 
#define __ASM   __asm
 
#define __BKPT(value)   __ASM volatile ("bkpt "#value)
 Breakpoint. More...
 
#define __CMSIS_GCC_OUT_REG(r)   "=r" (r)
 
#define __CMSIS_GCC_RW_REG(r)   "+r" (r)
 
#define __CMSIS_GCC_USE_REG(r)   "r" (r)
 
#define __COMPILER_BARRIER()   __ASM volatile("":::"memory")
 
#define __has_builtin(x)   (0)
 
#define __INITIAL_SP   __StackTop
 
#define __INLINE   inline
 
#define __NO_RETURN   __attribute__((__noreturn__))
 
#define __NOP()   __ASM volatile ("nop")
 No Operation. More...
 
#define __PACKED   __attribute__((packed, aligned(1)))
 
#define __PACKED_STRUCT   struct __attribute__((packed, aligned(1)))
 
#define __PACKED_UNION   union __attribute__((packed, aligned(1)))
 
#define __PROGRAM_START   __cmsis_start
 
#define __RESTRICT   __restrict
 
#define __SEV()   __ASM volatile ("sev")
 Send Event. More...
 
#define __STACK_LIMIT   __StackLimit
 
#define __STATIC_FORCEINLINE   __attribute__((always_inline)) static inline
 
#define __STATIC_INLINE   static inline
 
#define __UNALIGNED_UINT16_READ(addr)   (((const struct T_UINT16_READ *)(const void *)(addr))->v)
 
#define __UNALIGNED_UINT16_WRITE(addr, val)   (void)((((struct T_UINT16_WRITE *)(void *)(addr))->v) = (val))
 
#define __UNALIGNED_UINT32(x)   (((struct T_UINT32 *)(x))->v)
 
#define __UNALIGNED_UINT32_READ(addr)   (((const struct T_UINT32_READ *)(const void *)(addr))->v)
 
#define __UNALIGNED_UINT32_WRITE(addr, val)   (void)((((struct T_UINT32_WRITE *)(void *)(addr))->v) = (val))
 
#define __USED   __attribute__((used))
 
#define __VECTOR_TABLE   __Vectors
 
#define __VECTOR_TABLE_ATTRIBUTE   __attribute((used, section(".vectors")))
 
#define __WEAK   __attribute__((weak))
 
#define __WFE()   __ASM volatile ("wfe")
 Wait For Event. More...
 
#define __WFI()   __ASM volatile ("wfi")
 Wait For Interrupt. More...
 

Functions

struct __attribute__ ((packed)) T_UINT32
 
__STATIC_FORCEINLINE uint8_t __CLZ (uint32_t value)
 Count leading zeros. More...
 
__STATIC_FORCEINLINE __NO_RETURN void __cmsis_start (void)
 Initializes data and bss sections. More...
 
__STATIC_FORCEINLINE void __disable_irq (void)
 Disable IRQ Interrupts. More...
 
__STATIC_FORCEINLINE void __DMB (void)
 Data Memory Barrier. More...
 
__STATIC_FORCEINLINE void __DSB (void)
 Data Synchronization Barrier. More...
 
__STATIC_FORCEINLINE void __enable_irq (void)
 Enable IRQ Interrupts. More...
 
__STATIC_INLINE uint32_t __get_APSR (void)
 Get APSR Register. More...
 
__STATIC_INLINE uint32_t __get_CONTROL (void)
 Enable IRQ Interrupts. More...
 
__STATIC_INLINE uint32_t __get_FPSCR (void)
 Get FPSCR. More...
 
__STATIC_INLINE uint32_t __get_IPSR (void)
 Get IPSR Register. More...
 
__STATIC_INLINE uint32_t __get_MSP (void)
 Get Main Stack Pointer. More...
 
__STATIC_INLINE uint32_t __get_PRIMASK (void)
 Get Priority Mask. More...
 
__STATIC_INLINE uint32_t __get_PSP (void)
 Get Process Stack Pointer. More...
 
__STATIC_INLINE uint32_t __get_xPSR (void)
 Get xPSR Register. More...
 
__STATIC_FORCEINLINE void __ISB (void)
 Instruction Synchronization Barrier. More...
 
__STATIC_FORCEINLINE uint32_t __RBIT (uint32_t value)
 Reverse bit order of value. More...
 
__STATIC_FORCEINLINE uint32_t __REV (uint32_t value)
 Reverse byte order (32 bit) More...
 
__STATIC_FORCEINLINE uint32_t __REV16 (uint32_t value)
 Reverse byte order (16 bit) More...
 
__STATIC_FORCEINLINE int16_t __REVSH (int16_t value)
 Reverse byte order (16 bit) More...
 
__STATIC_FORCEINLINE uint32_t __ROR (uint32_t op1, uint32_t op2)
 Rotate Right in unsigned value (32 bit) More...
 
__STATIC_INLINE void __set_CONTROL (uint32_t control)
 Set Control Register. More...
 
__STATIC_INLINE void __set_FPSCR (uint32_t fpscr)
 Set FPSCR. More...
 
__STATIC_INLINE void __set_MSP (uint32_t topOfMainStack)
 Set Main Stack Pointer. More...
 
__STATIC_INLINE void __set_PRIMASK (uint32_t priMask)
 Set Priority Mask. More...
 
__STATIC_INLINE void __set_PSP (uint32_t topOfProcStack)
 Set Process Stack Pointer. More...
 
__STATIC_FORCEINLINE int32_t __SSAT (int32_t val, uint32_t sat)
 Signed Saturate. More...
 
__STATIC_FORCEINLINE uint32_t __USAT (int32_t val, uint32_t sat)
 Unsigned Saturate. More...
 

Variables

__PACKED_STRUCT T_UINT16_READ { uint16_t v
 
__PACKED_STRUCT T_UINT16_WRITE { uint16_t v
 
__PACKED_STRUCT T_UINT32_READ { uint32_t v
 
__PACKED_STRUCT T_UINT32_WRITE { uint32_t v
 

Detailed Description

CMSIS compiler GCC header file.

Version
V5.2.0
Date
08. May 2019

Definition in file imxrt1050/imxrt1050-evkb/CMSIS/cmsis_gcc.h.

Macro Definition Documentation

◆ __ALIGNED

#define __ALIGNED (   x)    __attribute__((aligned(x)))

Definition at line 111 of file imxrt1050/imxrt1050-evkb/CMSIS/cmsis_gcc.h.

◆ __ASM

#define __ASM   __asm

Definition at line 41 of file imxrt1050/imxrt1050-evkb/CMSIS/cmsis_gcc.h.

◆ __COMPILER_BARRIER

#define __COMPILER_BARRIER ( )    __ASM volatile("":::"memory")

Definition at line 117 of file imxrt1050/imxrt1050-evkb/CMSIS/cmsis_gcc.h.

◆ __has_builtin

#define __has_builtin (   x)    (0)

Definition at line 36 of file imxrt1050/imxrt1050-evkb/CMSIS/cmsis_gcc.h.

◆ __INITIAL_SP

#define __INITIAL_SP   __StackTop

Definition at line 170 of file imxrt1050/imxrt1050-evkb/CMSIS/cmsis_gcc.h.

◆ __INLINE

#define __INLINE   inline

Definition at line 44 of file imxrt1050/imxrt1050-evkb/CMSIS/cmsis_gcc.h.

◆ __NO_RETURN

#define __NO_RETURN   __attribute__((__noreturn__))

Definition at line 53 of file imxrt1050/imxrt1050-evkb/CMSIS/cmsis_gcc.h.

◆ __PACKED

#define __PACKED   __attribute__((packed, aligned(1)))

Definition at line 62 of file imxrt1050/imxrt1050-evkb/CMSIS/cmsis_gcc.h.

◆ __PACKED_STRUCT

#define __PACKED_STRUCT   struct __attribute__((packed, aligned(1)))

Definition at line 65 of file imxrt1050/imxrt1050-evkb/CMSIS/cmsis_gcc.h.

◆ __PACKED_UNION

#define __PACKED_UNION   union __attribute__((packed, aligned(1)))

Definition at line 68 of file imxrt1050/imxrt1050-evkb/CMSIS/cmsis_gcc.h.

◆ __PROGRAM_START

#define __PROGRAM_START   __cmsis_start

Definition at line 166 of file imxrt1050/imxrt1050-evkb/CMSIS/cmsis_gcc.h.

◆ __RESTRICT

#define __RESTRICT   __restrict

Definition at line 114 of file imxrt1050/imxrt1050-evkb/CMSIS/cmsis_gcc.h.

◆ __STACK_LIMIT

#define __STACK_LIMIT   __StackLimit

Definition at line 174 of file imxrt1050/imxrt1050-evkb/CMSIS/cmsis_gcc.h.

◆ __STATIC_FORCEINLINE

#define __STATIC_FORCEINLINE   __attribute__((always_inline)) static inline

Definition at line 50 of file imxrt1050/imxrt1050-evkb/CMSIS/cmsis_gcc.h.

◆ __STATIC_INLINE

#define __STATIC_INLINE   static inline

Definition at line 47 of file imxrt1050/imxrt1050-evkb/CMSIS/cmsis_gcc.h.

◆ __UNALIGNED_UINT16_READ

#define __UNALIGNED_UINT16_READ (   addr)    (((const struct T_UINT16_READ *)(const void *)(addr))->v)

Definition at line 92 of file imxrt1050/imxrt1050-evkb/CMSIS/cmsis_gcc.h.

◆ __UNALIGNED_UINT16_WRITE

#define __UNALIGNED_UINT16_WRITE (   addr,
  val 
)    (void)((((struct T_UINT16_WRITE *)(void *)(addr))->v) = (val))

Definition at line 84 of file imxrt1050/imxrt1050-evkb/CMSIS/cmsis_gcc.h.

◆ __UNALIGNED_UINT32

#define __UNALIGNED_UINT32 (   x)    (((struct T_UINT32 *)(x))->v)

Definition at line 76 of file imxrt1050/imxrt1050-evkb/CMSIS/cmsis_gcc.h.

◆ __UNALIGNED_UINT32_READ

#define __UNALIGNED_UINT32_READ (   addr)    (((const struct T_UINT32_READ *)(const void *)(addr))->v)

Definition at line 108 of file imxrt1050/imxrt1050-evkb/CMSIS/cmsis_gcc.h.

◆ __UNALIGNED_UINT32_WRITE

#define __UNALIGNED_UINT32_WRITE (   addr,
  val 
)    (void)((((struct T_UINT32_WRITE *)(void *)(addr))->v) = (val))

Definition at line 100 of file imxrt1050/imxrt1050-evkb/CMSIS/cmsis_gcc.h.

◆ __USED

#define __USED   __attribute__((used))

Definition at line 56 of file imxrt1050/imxrt1050-evkb/CMSIS/cmsis_gcc.h.

◆ __VECTOR_TABLE

#define __VECTOR_TABLE   __Vectors

Definition at line 178 of file imxrt1050/imxrt1050-evkb/CMSIS/cmsis_gcc.h.

◆ __VECTOR_TABLE_ATTRIBUTE

#define __VECTOR_TABLE_ATTRIBUTE   __attribute((used, section(".vectors")))

Definition at line 182 of file imxrt1050/imxrt1050-evkb/CMSIS/cmsis_gcc.h.

◆ __WEAK

#define __WEAK   __attribute__((weak))

Definition at line 59 of file imxrt1050/imxrt1050-evkb/CMSIS/cmsis_gcc.h.

Function Documentation

◆ __attribute__()

struct __attribute__ ( (packed)  )

Definition at line 74 of file imxrt1050/imxrt1050-evkb/CMSIS/cmsis_gcc.h.

◆ __cmsis_start()

__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 imxrt1050/imxrt1050-evkb/CMSIS/cmsis_gcc.h.

Variable Documentation

◆ T_UINT16_READ

__PACKED_STRUCT T_UINT16_READ { uint16_t v

Definition at line 90 of file imxrt1050/imxrt1050-evkb/CMSIS/cmsis_gcc.h.

◆ T_UINT16_WRITE

__PACKED_STRUCT T_UINT16_WRITE { uint16_t v

Definition at line 82 of file imxrt1050/imxrt1050-evkb/CMSIS/cmsis_gcc.h.

◆ T_UINT32_READ

__PACKED_STRUCT T_UINT32_READ { uint32_t v

Definition at line 106 of file imxrt1050/imxrt1050-evkb/CMSIS/cmsis_gcc.h.

◆ T_UINT32_WRITE

__PACKED_STRUCT T_UINT32_WRITE { uint32_t v

Definition at line 98 of file imxrt1050/imxrt1050-evkb/CMSIS/cmsis_gcc.h.



picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:14:56