|
Contiki-NG
|
CMSIS Cortex-M Core Function/Instruction Header File. More...
Go to the source code of this file.
Macros | |
| #define | __NOP __builtin_arm_nop |
| No Operation. More... | |
| #define | __WFI __builtin_arm_wfi |
| Wait For Interrupt. More... | |
| #define | __WFE __builtin_arm_wfe |
| Wait For Event. More... | |
| #define | __SEV __builtin_arm_sev |
| Send Event. More... | |
| #define | __ISB() __builtin_arm_isb(0xF); |
| Instruction Synchronization Barrier. More... | |
| #define | __DSB() __builtin_arm_dsb(0xF); |
| Data Synchronization Barrier. More... | |
| #define | __DMB() __builtin_arm_dmb(0xF); |
| Data Memory Barrier. More... | |
| #define | __REV __builtin_bswap32 |
| Reverse byte order (32 bit) More... | |
| #define | __REV16 __builtin_bswap16 /* ToDo: ARMCC_V6: check if __builtin_bswap16 could be used */ |
| Reverse byte order (16 bit) More... | |
| #define | __BKPT(value) __ASM volatile ("bkpt "#value) |
| Breakpoint. More... | |
| #define | __CLZ __builtin_clz |
| Count leading zeros. More... | |
Functions | |
| __STATIC_INLINE void | __enable_irq (void) |
| Enable IRQ Interrupts. More... | |
| __STATIC_INLINE void | __disable_irq (void) |
| Disable IRQ Interrupts. More... | |
| __STATIC_INLINE uint32_t | __get_CONTROL (void) |
| Get Control Register. More... | |
| __STATIC_INLINE void | __set_CONTROL (uint32_t control) |
| Set Control Register. More... | |
| __STATIC_INLINE uint32_t | __get_IPSR (void) |
| Get IPSR Register. More... | |
| __STATIC_INLINE uint32_t | __get_APSR (void) |
| Get APSR Register. More... | |
| __STATIC_INLINE uint32_t | __get_xPSR (void) |
| Get xPSR Register. More... | |
| __STATIC_INLINE uint32_t | __get_PSP (void) |
| Get Process Stack Pointer. More... | |
| __STATIC_INLINE void | __set_PSP (uint32_t topOfProcStack) |
| Set Process Stack Pointer. More... | |
| __STATIC_INLINE uint32_t | __get_MSP (void) |
| Get Main Stack Pointer. More... | |
| __STATIC_INLINE void | __set_MSP (uint32_t topOfMainStack) |
| Set Main Stack Pointer. More... | |
| __STATIC_INLINE uint32_t | __get_PRIMASK (void) |
| Get Priority Mask. More... | |
| __STATIC_INLINE void | __set_PRIMASK (uint32_t priMask) |
| Set Priority Mask. More... | |
| __STATIC_INLINE __ASM int32_t | __REVSH (int32_t value) |
| Reverse byte order in signed short value. More... | |
| __STATIC_INLINE uint32_t | __ROR (uint32_t op1, uint32_t op2) |
| Rotate Right in unsigned value (32 bit) More... | |
| __STATIC_INLINE uint32_t | __RBIT (uint32_t value) |
| Reverse bit order of value. More... | |
CMSIS Cortex-M Core Function/Instruction Header File.
Definition in file cmsis_armcc_V6.h.
1.8.13