未验证 提交 e716bbfa 编写于 作者: O Owen 提交者: GitHub

Update rtdef.h

更正为正确的Doxygen组定义语法
上级 2befae88
......@@ -45,7 +45,7 @@ extern "C" {
* @addtogroup BasicDef
*/
/*@{*/
/**@{*/
/* RT-Thread version information */
#define RT_VERSION 4L /**< major version number */
......@@ -88,7 +88,7 @@ typedef rt_base_t rt_off_t; /**< Type for offset */
#define RT_TRUE 1 /**< boolean true */
#define RT_FALSE 0 /**< boolean fails */
/*@}*/
/**@}*/
/* maximum value of base type */
#define RT_UINT8_MAX 0xff /**< Maxium number of UINT8 */
......@@ -259,7 +259,7 @@ typedef int (*init_fn_t)(void);
* @addtogroup Error
*/
/*@{*/
/**@{*/
/* RT-Thread error code definitions */
#define RT_EOK 0 /**< There is no error */
......@@ -274,7 +274,7 @@ typedef int (*init_fn_t)(void);
#define RT_EINTR 9 /**< Interrupted system call */
#define RT_EINVAL 10 /**< Invalid argument */
/*@}*/
/**@}*/
/**
* @ingroup BasicDef
......@@ -325,7 +325,7 @@ typedef struct rt_slist_node rt_slist_t; /**< Type for single lis
* @addtogroup KernelObject
*/
/*@{*/
/**@{*/
/*
* kernel object macros
......@@ -402,13 +402,13 @@ struct rt_object_information
#define RT_OBJECT_HOOK_CALL(func, argv)
#endif
/*@}*/
/**@}*/
/**
* @addtogroup Clock
*/
/*@{*/
/**@{*/
/**
* clock & timer macros
......@@ -452,7 +452,7 @@ struct rt_timer
};
typedef struct rt_timer *rt_timer_t;
/*@}*/
/**@}*/
/**
* @addtogroup Signal
......@@ -465,13 +465,13 @@ typedef siginfo_t rt_siginfo_t;
#define RT_SIG_MAX 32
#endif
/*@}*/
/**@}*/
/**
* @addtogroup Thread
*/
/*@{*/
/**@{*/
/*
* Thread
......@@ -613,13 +613,13 @@ struct rt_thread
};
typedef struct rt_thread *rt_thread_t;
/*@}*/
/**@}*/
/**
* @addtogroup IPC
*/
/*@{*/
/**@{*/
/**
* IPC flags and control command definitions
......@@ -737,13 +737,13 @@ struct rt_messagequeue
typedef struct rt_messagequeue *rt_mq_t;
#endif
/*@}*/
/**@}*/
/**
* @addtogroup MM
*/
/*@{*/
/**@{*/
/*
* memory management
......@@ -811,14 +811,14 @@ struct rt_mempool
typedef struct rt_mempool *rt_mp_t;
#endif
/*@}*/
/**@}*/
#ifdef RT_USING_DEVICE
/**
* @addtogroup Device
*/
/*@{*/
/**@{*/
/**
* device (I/O) class type
......@@ -1063,7 +1063,7 @@ struct rt_device_graphic_ops
};
#define rt_graphix_ops(device) ((struct rt_device_graphic_ops *)(device->user_data))
/*@}*/
/**@}*/
#endif
/* definitions for libc */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册