RTEMS 6.1-rc4
Loading...
Searching...
No Matches
Macros

Macros

#define ctz(u)
 Counts the trailing zero bits of the given value considered as a 32-bit integer.
 

Interrupt Service Routine definition

#define Enable_global_interrupt()   cpu_irq_enable()
 
#define Disable_global_interrupt()   cpu_irq_disable()
 
#define Is_global_interrupt_enabled()   cpu_irq_is_enabled()
 

Usual Constants

#define DISABLE   0
 
#define ENABLE   1
 
#define DISABLED   0
 
#define ENABLED   1
 
#define OFF   0
 
#define ON   1
 
#define FALSE   0
 
#define TRUE   1
 
#define false   FALSE
 
#define true   TRUE
 
#define KO   0
 
#define OK   1
 
#define PASS   0
 
#define FAIL   1
 
#define LOW   0
 
#define HIGH   1
 
#define CLR   0
 
#define SET   1
 

Detailed Description

Macro Definition Documentation

◆ ctz

#define ctz (   u)

Counts the trailing zero bits of the given value considered as a 32-bit integer.

Parameters
uValue of which to count the trailing zero bits.
Returns
The count of trailing zero bits in u.