Fork of the official mbed C/C++ SDK provides the software platform and libraries to build your applications. The fork has the documentation converted to Doxygen format
Dependents: NervousPuppySprintOne NervousPuppySprint2602 Robot WarehouseBot1 ... more
Fork of mbed by
CMSIS Core Instruction Interface
Access to dedicated instructions. More...
Functions | |
static | __attribute__ ((section(".rev16_text"))) __INLINE __ASM uint32_t __REV16(uint32_t value) |
Reverse byte order (16 bit) | |
static | __attribute__ ((section(".revsh_text"))) __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
static __attribute__ | ( | (section(".rev16_text")) | ) | [static] |
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 114 of file LPC11U24/core_cmInstr.h.
__attribute__ | ( | (always_inline) | ) |
No Operation.
STR Exclusive (8 bit)
LDR Exclusive (32 bit)
LDR Exclusive (16 bit)
LDR Exclusive (8 bit)
Reverse bit order of value.
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 reverses the bit order of the given value.
- Parameters:
-
[in] value Value to reverse
- Returns:
- Reversed value
This function performs a exclusive LDR command for 8 bit value.
- Parameters:
-
[in] ptr Pointer to data
- Returns:
- value of type uint8_t at (*ptr)
This function performs a exclusive LDR command for 16 bit values.
- Parameters:
-
[in] ptr Pointer to data
- Returns:
- value of type uint16_t at (*ptr)
This function performs a exclusive LDR command for 32 bit values.
- Parameters:
-
[in] ptr Pointer to data
- Returns:
- value of type uint32_t at (*ptr)
This function performs a exclusive STR command for 8 bit values.
- Parameters:
-
[in] value Value to store [in] ptr Pointer to location
- Returns:
- 0 Function succeeded
- 1 Function failed
Definition at line 269 of file LPC11U24/core_cmInstr.h.
static __attribute__ | ( | (section(".revsh_text")) | ) | [static] |
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 128 of file LPC11U24/core_cmInstr.h.
Generated on Tue Jul 12 2022 11:27:28 by 1.7.2