mbed library sources: Modified to operate FRDM-KL25Z at 48MHz from internal 32kHz oscillator (nothing else changed).
Fork of mbed-src by
CMSIS Core Instruction Interface
Access to dedicated instructions. More...
Functions | |
__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 int32_t __REVSH(int32_t value) | |
Reverse byte order in signed short value. | |
__attribute__ ((always_inline)) __STATIC_INLINE void __NOP(void) | |
No Operation. |
Detailed Description
Access to dedicated instructions.
Function Documentation
__attribute__ | ( | (section(".rev16_text")) | ) |
Reverse byte order (16 bit)
This function reverses the byte order in two unsigned short values.
- Parameters:
-
[in] value Value to reverse
- Returns:
- Reversed value
Definition at line 129 of file core_cmInstr.h.
__attribute__ | ( | (always_inline) | ) |
No Operation.
Rotate Right in unsigned value (32 bit)
Reverse byte order in signed short value.
Reverse byte order (16 bit)
Reverse byte order (32 bit)
Data Memory Barrier.
Data Synchronization Barrier.
Instruction Synchronization Barrier.
Send Event.
Wait For Event.
Wait For Interrupt.
No Operation does nothing. This instruction can be used for code alignment purposes.
Wait For Interrupt is a hint instruction that suspends execution until one of a number of events occurs.
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.
Send Event is a hint instruction. It causes an event to be signaled to the CPU.
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.
This function acts as a special kind of Data Memory Barrier. It completes when all explicit memory accesses before this instruction complete.
This function ensures the apparent order of the explicit memory operations before and after the instruction, without ensuring their completion.
This function reverses the byte order in integer value.
- Parameters:
-
[in] value Value to reverse
- Returns:
- Reversed value
This function reverses the byte order in two unsigned short values.
- Parameters:
-
[in] value Value to reverse
- Returns:
- Reversed value
This function reverses the byte order in a signed short value with sign extension to integer.
- Parameters:
-
[in] value Value to reverse
- Returns:
- Reversed value
This function Rotate Right (immediate) provides the value of the contents of a register rotated by a variable number of bits.
- Parameters:
-
[in] value Value to rotate [in] value Number of Bits to rotate
- Returns:
- Rotated value
Definition at line 325 of file core_cmInstr.h.
__attribute__ | ( | (section(".revsh_text")) | ) |
Reverse byte order in signed short value.
This function reverses the byte order in a signed short value with sign extension to integer.
- Parameters:
-
[in] value Value to reverse
- Returns:
- Reversed value
Definition at line 144 of file core_cmInstr.h.
Generated on Wed Jul 13 2022 19:29:54 by 1.7.2