|
|
#define | __ASM __asm |
| |
|
#define | __INLINE __inline |
| |
|
#define | __STATIC_INLINE static __inline |
| |
|
#define | __STATIC_FORCEINLINE __attribute__((always_inline)) static __inline |
| |
|
#define | __NO_RETURN __attribute__((__noreturn__)) |
| |
|
#define | __USED __attribute__((used)) |
| |
|
#define | __WEAK __attribute__((weak)) |
| |
|
#define | __PACKED __attribute__((packed, aligned(1))) |
| |
|
#define | __PACKED_STRUCT struct __attribute__((packed, aligned(1))) |
| |
|
#define | __PACKED_UNION union __attribute__((packed, aligned(1))) |
| |
|
#define | __UNALIGNED_UINT32(x) (((struct T_UINT32 *)(x))->v) |
| |
|
#define | __UNALIGNED_UINT16_WRITE(addr, val) (void)((((struct T_UINT16_WRITE *)(void *)(addr))->v) = (val)) |
| |
|
#define | __UNALIGNED_UINT16_READ(addr) (((const struct T_UINT16_READ *)(const void *)(addr))->v) |
| |
|
#define | __UNALIGNED_UINT32_WRITE(addr, val) (void)((((struct T_UINT32_WRITE *)(void *)(addr))->v) = (val)) |
| |
|
#define | __UNALIGNED_UINT32_READ(addr) (((const struct T_UINT32_READ *)(const void *)(addr))->v) |
| |
|
#define | __ALIGNED(x) __attribute__((aligned(x))) |
| |
|
#define | __RESTRICT __restrict |
| |
| #define | __get_FPSCR() ((uint32_t)0U) |
| | Get FPSCR 更多...
|
| |
| #define | __set_FPSCR(x) ((void)(x)) |
| | Set FPSCR 更多...
|
| |
|
#define | __CMSIS_GCC_OUT_REG(r) "=r" (r) |
| |
|
#define | __CMSIS_GCC_USE_REG(r) "r" (r) |
| |
| #define | __NOP __builtin_arm_nop |
| | No Operation 更多...
|
| |
| #define | __WFI __builtin_arm_wfi |
| | Wait For Interrupt 更多...
|
| |
| #define | __WFE __builtin_arm_wfe |
| | Wait For Event 更多...
|
| |
| #define | __SEV __builtin_arm_sev |
| | Send Event 更多...
|
| |
| #define | __ISB() __builtin_arm_isb(0xF); |
| | Instruction Synchronization Barrier 更多...
|
| |
| #define | __DSB() __builtin_arm_dsb(0xF); |
| | Data Synchronization Barrier 更多...
|
| |
| #define | __DMB() __builtin_arm_dmb(0xF); |
| | Data Memory Barrier 更多...
|
| |
| #define | __REV(value) __builtin_bswap32(value) |
| | Reverse byte order (32 bit) 更多...
|
| |
| #define | __REV16(value) __ROR(__REV(value), 16) |
| | Reverse byte order (16 bit) 更多...
|
| |
| #define | __REVSH(value) (int16_t)__builtin_bswap16(value) |
| | Reverse byte order (16 bit) 更多...
|
| |
| #define | __BKPT(value) __ASM volatile ("bkpt "#value) |
| | Breakpoint 更多...
|
| |
| #define | __RBIT __builtin_arm_rbit |
| | Reverse bit order of value 更多...
|
| |
| #define | __CLZ (uint8_t)__builtin_clz |
| | Count leading zeros 更多...
|
| |
|
|
struct | __attribute__ ((packed)) T_UINT32 |
| |
| __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_FORCEINLINE uint32_t | __ROR (uint32_t op1, uint32_t op2) |
| | Rotate Right in unsigned value (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 更多...
|
| |
CMSIS compiler armclang (Arm Compiler 6) header file
- 版本
- V5.0.4
- 日期
- 10. January 2018