RT-Thread RTOS
An open source embedded real-time operating system
How to write doxygen documentation for macro.

There are two typical types of macro definitions.

We often categorize macros in our code. Similarly, when writing doxygen comments for these categorized macros, we can also group them. See DOXYGEN_EXAMPLE_GROUP_A_X/DOXYGEN_EXAMPLE_GROUP_A_Y and DOXYGEN_EXAMPLE_GROUP_B_X/DOXYGEN_EXAMPLE_GROUP_B_Y in documentation/0.doxygen/example/include/macro.h for code example.

See Doxygen Example of Macro for html output.