|
#define | __CMSIS_GCC_OUT_REG(r) "=r" (r) |
|
#define | __CMSIS_GCC_USE_REG(r) "r" (r) |
|
#define | __BKPT(value) __ASM volatile ("bkpt "#value) |
| Breakpoint. More...
|
|
#define | __CLZ __builtin_clz |
| Count leading zeros. More...
|
|
Access to dedicated instructions
◆ __BKPT
#define __BKPT |
( |
|
value | ) |
__ASM volatile ("bkpt "#value) |
Breakpoint.
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. |
◆ __CLZ
#define __CLZ __builtin_clz |
Count leading zeros.
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
◆ op2
Initial value:{
return (op1 >> op2) | (op1 << (32U - op2))