MG32F10x Standard Peripherals Firmware Library
宏定义 | 函数 | 变量
cmsis_armcc.h 文件参考

CMSIS compiler ARMCC (Arm Compiler 5) header file 更多...

浏览源代码.

宏定义

#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)   (*((__packed uint32_t *)(x)))
 
#define __UNALIGNED_UINT16_WRITE(addr, val)   ((*((__packed uint16_t *)(addr))) = (val))
 
#define __UNALIGNED_UINT16_READ(addr)   (*((const __packed uint16_t *)(addr)))
 
#define __UNALIGNED_UINT32_WRITE(addr, val)   ((*((__packed uint32_t *)(addr))) = (val))
 
#define __UNALIGNED_UINT32_READ(addr)   (*((const __packed uint32_t *)(addr)))
 
#define __ALIGNED(x)   __attribute__((aligned(x)))
 
#define __RESTRICT   __restrict
 
#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(value)
 Breakpoint 更多...
 
#define __CLZ   __clz
 Count leading zeros 更多...
 

函数

__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 更多...
 
 __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 更多...
 

变量

uint32_t sat
 

详细描述

CMSIS compiler ARMCC (Arm Compiler 5) header file

版本
V5.0.4
日期
10. January 2018