Functions | |
__STATIC_INLINE void | __NOP (void) |
No Operation. | |
__STATIC_INLINE void | __WFI (void) |
Wait For Interrupt. | |
__STATIC_INLINE void | __WFE (void) |
Wait For Event. | |
__STATIC_INLINE void | __SEV (void) |
Send Event. | |
__STATIC_INLINE void | __ISB (void) |
Instruction Synchronization Barrier. | |
__STATIC_INLINE void | __DSB (void) |
Data Synchronization Barrier. | |
__STATIC_INLINE void | __DMB (void) |
Data Memory Barrier. | |
__STATIC_INLINE uint32_t | __REV (uint32_t value) |
Reverse byte order (32 bit) | |
__STATIC_INLINE uint32_t | __REV16 (uint32_t value) |
Reverse byte order (16 bit) | |
__STATIC_INLINE int32_t | __REVSH (int32_t value) |
Reverse byte order in signed short value. | |
__STATIC_INLINE uint32_t | __ROR (uint32_t op1, uint32_t op2) |
Rotate Right in unsigned value (32 bit) |
Access to dedicated instructions
__STATIC_INLINE void __NOP | ( | void | ) |
No Operation.
No Operation does nothing. This instruction can be used for code alignment purposes.
References __ASM.
__STATIC_INLINE void __WFI | ( | void | ) |
Wait For Interrupt.
Wait For Interrupt is a hint instruction that suspends execution until one of a number of events occurs.
References __ASM.
__STATIC_INLINE void __WFE | ( | void | ) |
Wait For Event.
Wait For Event is a hint instruction that permits the processor to enter a low-power state until one of a number of events occurs.
References __ASM.
__STATIC_INLINE void __SEV | ( | void | ) |
Send Event.
Send Event is a hint instruction. It causes an event to be signaled to the CPU.
References __ASM.
__STATIC_INLINE void __ISB | ( | void | ) |
Instruction Synchronization Barrier.
Instruction Synchronization Barrier flushes the pipeline in the processor, so that all instructions following the ISB are fetched from cache or memory, after the instruction has been completed.
References __ASM.
__STATIC_INLINE void __DSB | ( | void | ) |
Data Synchronization Barrier.
This function acts as a special kind of Data Memory Barrier. It completes when all explicit memory accesses before this instruction complete.
References __ASM.
Referenced by NVIC_SystemReset().
__STATIC_INLINE void __DMB | ( | void | ) |
Data Memory Barrier.
This function ensures the apparent order of the explicit memory operations before and after the instruction, without ensuring their completion.
References __ASM.