Functions that generate specific Cortex-A CPU Instructions.
More...
#define __BKPT |
( |
|
value | ) |
__breakpoint(value) |
Causes the processor to enter Debug state. Debug tools can use this to investigate system state when the instruction at a particular address is reached.
- Parameters
-
[in] | value | is ignored by the processor. If required, a debugger can use it to store additional information about the breakpoint. |
Counts the number of leading zeros of a data value.
- Parameters
-
[in] | value | Value to count the leading zeros |
- Returns
- number of leading zeros in value
Ensures the apparent order of the explicit memory operations before and after the instruction, without ensuring their completion.
Acts as a special kind of Data Memory Barrier. It completes when all explicit memory accesses before this instruction complete.
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.
No Operation does nothing. This instruction can be used for code alignment purposes.
Reverses the byte order in integer value.
- Parameters
-
[in] | value | Value to reverse |
- Returns
- Reversed value
Rotate Right (immediate) provides the value of the contents of a register rotated by a variable number of bits.
- Parameters
-
[in] | value | Value to reverse |
- Returns
- Reversed value Reverse byte order in signed short value
- Parameters
-
[in] | value | Value to reverse |
- Returns
- Reversed value Rotate Right in unsigned value (32 bit)
- Parameters
-
[in] | op1 | Value to rotate |
[in] | op2 | Number of Bits to rotate |
- Returns
- Rotated value
Send Event is a hint instruction. It causes an event to be signaled to the CPU.
Wait For Event is a hint instruction that permits the processor to enter
Wait For Interrupt is a hint instruction that suspends execution until one of a number of events occurs.
_STATIC_INLINE __ASM uint32_t __REV16 |
( |
uint32_t |
value | ) |
|
Reverses the byte order in two unsigned short values.
Reverses the byte order in a signed short value with sign extension to integer.