CMSIS compiler ARMCC (Arm Compiler 5) header file. More...
Go to the source code of this file.
Macros | |
| #define | __ALIGNED(x) __attribute__((aligned(x))) |
| #define | __ASM __asm |
| #define | __BKPT(value) __breakpoint(value) |
| Breakpoint. More... | |
| #define | __CLZ __clz |
| Count leading zeros. More... | |
| #define | __COMPILER_BARRIER() __memory_changed() |
| #define | __DMB() |
| Data Memory Barrier. More... | |
| #define | __DSB() |
| Data Synchronization Barrier. More... | |
| #define | __INITIAL_SP Image$$ARM_LIB_STACK$$ZI$$Limit |
| #define | __INLINE __inline |
| #define | __ISB() |
| Instruction Synchronization Barrier. More... | |
| #define | __NO_RETURN __declspec(noreturn) |
| #define | __NOP __nop |
| No Operation. More... | |
| #define | __PACKED __attribute__((packed)) |
| #define | __PACKED_STRUCT __packed struct |
| #define | __PACKED_UNION __packed union |
| #define | __PROGRAM_START __main |
| #define | __RESTRICT __restrict |
| #define | __REV __rev |
| Reverse byte order (32 bit) More... | |
| #define | __ROR __ror |
| Rotate Right in unsigned value (32 bit) More... | |
| #define | __SEV __sev |
| Send Event. More... | |
| #define | __STACK_LIMIT Image$$ARM_LIB_STACK$$ZI$$Base |
| #define | __STATIC_FORCEINLINE static __forceinline |
| #define | __STATIC_INLINE static __inline |
| #define | __UNALIGNED_UINT16_READ(addr) (*((const __packed uint16_t *)(addr))) |
| #define | __UNALIGNED_UINT16_WRITE(addr, val) ((*((__packed uint16_t *)(addr))) = (val)) |
| #define | __UNALIGNED_UINT32(x) (*((__packed uint32_t *)(x))) |
| #define | __UNALIGNED_UINT32_READ(addr) (*((const __packed uint32_t *)(addr))) |
| #define | __UNALIGNED_UINT32_WRITE(addr, val) ((*((__packed uint32_t *)(addr))) = (val)) |
| #define | __USED __attribute__((used)) |
| #define | __VECTOR_TABLE __Vectors |
| #define | __VECTOR_TABLE_ATTRIBUTE __attribute((used, section("RESET"))) |
| #define | __WEAK __attribute__((weak)) |
| #define | __WFE __wfe |
| Wait For Event. More... | |
| #define | __WFI __wfi |
| Wait For Interrupt. More... | |
Functions | |
| __attribute__ ((always_inline)) __STATIC_INLINE uint32_t __RBIT(uint32_t value) | |
| Reverse bit order of value. More... | |
| __attribute__ ((section(".rev16_text"))) __STATIC_INLINE __ASM uint32_t __REV16(uint32_t value) | |
| Reverse byte order (16 bit) More... | |
| __attribute__ ((section(".revsh_text"))) __STATIC_INLINE __ASM int16_t __REVSH(int16_t value) | |
| Reverse byte order (16 bit) 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_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... | |
Variables | |
| uint32_t | sat |
CMSIS compiler ARMCC (Arm Compiler 5) header file.
Definition in file imxrt1050/imxrt1050-evkb/CMSIS/cmsis_armcc.h.
| #define __ALIGNED | ( | x | ) | __attribute__((aligned(x))) |
Definition at line 102 of file imxrt1050/imxrt1050-evkb/CMSIS/cmsis_armcc.h.
| #define __ASM __asm |
Definition at line 57 of file imxrt1050/imxrt1050-evkb/CMSIS/cmsis_armcc.h.
| #define __COMPILER_BARRIER | ( | ) | __memory_changed() |
Definition at line 108 of file imxrt1050/imxrt1050-evkb/CMSIS/cmsis_armcc.h.
| #define __INITIAL_SP Image$$ARM_LIB_STACK$$ZI$$Limit |
Definition at line 118 of file imxrt1050/imxrt1050-evkb/CMSIS/cmsis_armcc.h.
| #define __INLINE __inline |
Definition at line 60 of file imxrt1050/imxrt1050-evkb/CMSIS/cmsis_armcc.h.
| #define __NO_RETURN __declspec(noreturn) |
Definition at line 69 of file imxrt1050/imxrt1050-evkb/CMSIS/cmsis_armcc.h.
| #define __PACKED __attribute__((packed)) |
Definition at line 78 of file imxrt1050/imxrt1050-evkb/CMSIS/cmsis_armcc.h.
| #define __PACKED_STRUCT __packed struct |
Definition at line 81 of file imxrt1050/imxrt1050-evkb/CMSIS/cmsis_armcc.h.
| #define __PACKED_UNION __packed union |
Definition at line 84 of file imxrt1050/imxrt1050-evkb/CMSIS/cmsis_armcc.h.
| #define __PROGRAM_START __main |
Definition at line 114 of file imxrt1050/imxrt1050-evkb/CMSIS/cmsis_armcc.h.
| #define __RESTRICT __restrict |
Definition at line 105 of file imxrt1050/imxrt1050-evkb/CMSIS/cmsis_armcc.h.
| #define __STACK_LIMIT Image$$ARM_LIB_STACK$$ZI$$Base |
Definition at line 122 of file imxrt1050/imxrt1050-evkb/CMSIS/cmsis_armcc.h.
| #define __STATIC_FORCEINLINE static __forceinline |
Definition at line 66 of file imxrt1050/imxrt1050-evkb/CMSIS/cmsis_armcc.h.
| #define __STATIC_INLINE static __inline |
Definition at line 63 of file imxrt1050/imxrt1050-evkb/CMSIS/cmsis_armcc.h.
| #define __UNALIGNED_UINT16_READ | ( | addr | ) | (*((const __packed uint16_t *)(addr))) |
Definition at line 93 of file imxrt1050/imxrt1050-evkb/CMSIS/cmsis_armcc.h.
| #define __UNALIGNED_UINT16_WRITE | ( | addr, | |
| val | |||
| ) | ((*((__packed uint16_t *)(addr))) = (val)) |
Definition at line 90 of file imxrt1050/imxrt1050-evkb/CMSIS/cmsis_armcc.h.
| #define __UNALIGNED_UINT32 | ( | x | ) | (*((__packed uint32_t *)(x))) |
Definition at line 87 of file imxrt1050/imxrt1050-evkb/CMSIS/cmsis_armcc.h.
| #define __UNALIGNED_UINT32_READ | ( | addr | ) | (*((const __packed uint32_t *)(addr))) |
Definition at line 99 of file imxrt1050/imxrt1050-evkb/CMSIS/cmsis_armcc.h.
| #define __UNALIGNED_UINT32_WRITE | ( | addr, | |
| val | |||
| ) | ((*((__packed uint32_t *)(addr))) = (val)) |
Definition at line 96 of file imxrt1050/imxrt1050-evkb/CMSIS/cmsis_armcc.h.
| #define __USED __attribute__((used)) |
Definition at line 72 of file imxrt1050/imxrt1050-evkb/CMSIS/cmsis_armcc.h.
| #define __VECTOR_TABLE __Vectors |
Definition at line 126 of file imxrt1050/imxrt1050-evkb/CMSIS/cmsis_armcc.h.
| #define __VECTOR_TABLE_ATTRIBUTE __attribute((used, section("RESET"))) |
Definition at line 130 of file imxrt1050/imxrt1050-evkb/CMSIS/cmsis_armcc.h.
| #define __WEAK __attribute__((weak)) |
Definition at line 75 of file imxrt1050/imxrt1050-evkb/CMSIS/cmsis_armcc.h.