RT-Thread RTOS
An open source embedded real-time operating system
Doxygen Example of Macro
+ Collaboration diagram for Doxygen Example of Macro:

Modules

 Group A of Macros
 
 Group B of Macros
 

Macros

#define DOXYGEN_EXAMPLE_CONST_A   100
 
#define DOXYGEN_EXAMPLE_CONST_B   200
 
#define DOXYGEN_EXAMPLE_ABS(x)   (((x)>0)?(x):-(x))
 

Detailed Description

Doxygen Example of Macro.

Macro Definition Documentation

◆ DOXYGEN_EXAMPLE_CONST_A

#define DOXYGEN_EXAMPLE_CONST_A   100

Description of macro const A

◆ DOXYGEN_EXAMPLE_CONST_B

#define DOXYGEN_EXAMPLE_CONST_B   200

Description of macro const B

◆ DOXYGEN_EXAMPLE_ABS

#define DOXYGEN_EXAMPLE_ABS (   x)    (((x)>0)?(x):-(x))

Computes the absolute value of its argument x.

Parameters
[in]xinput value.
Returns
absolute value of x.