RTEMS  5.0.0
Macros | Variables
CMSIS Core Instruction Interface

Macros

#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...
 

Variables

uint32_t op2
 

Detailed Description

Access to dedicated instructions

Macro Definition Documentation

◆ __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]valueis 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]valueValue to count the leading zeros
Returns
number of leading zeros in value

Variable Documentation

◆ op2

uint32_t op2
Initial value:
{
return (op1 >> op2) | (op1 << (32U - op2))