summaryrefslogtreecommitdiff
path: root/include/rtdef.h
diff options
context:
space:
mode:
authorsupperthomas <[email protected]>2024-06-26 13:40:31 +0800
committerMeco Man <[email protected]>2024-06-26 20:22:43 +0800
commit14e4c45408bec8d87028187c29fba2a03222da4b (patch)
tree488fed25cf9118d6bdbf52878aa9586a25184539 /include/rtdef.h
parentf687ace6ef1a8a720a30f0bd2e3376dacb4f18a3 (diff)
[doc][doxygen] Fix doxygen struct error.
Signed-off-by: supperthomas <[email protected]>
Diffstat (limited to 'include/rtdef.h')
-rw-r--r--include/rtdef.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/include/rtdef.h b/include/rtdef.h
index 2fc3bd671c..6985bb8f51 100644
--- a/include/rtdef.h
+++ b/include/rtdef.h
@@ -1024,6 +1024,11 @@ struct rt_ipc_object
rt_list_t suspend_thread; /**< threads pended on this resource */
};
+/**
+ * @addtogroup semaphore
+ * @{
+ */
+
#ifdef RT_USING_SEMAPHORE
/**
* Semaphore structure
@@ -1039,6 +1044,13 @@ struct rt_semaphore
typedef struct rt_semaphore *rt_sem_t;
#endif /* RT_USING_SEMAPHORE */
+/**@}*/
+
+/**
+ * @addtogroup mutex
+ * @{
+ */
+
#ifdef RT_USING_MUTEX
/**
* Mutual exclusion (mutex) structure
@@ -1059,6 +1071,13 @@ struct rt_mutex
typedef struct rt_mutex *rt_mutex_t;
#endif /* RT_USING_MUTEX */
+/**@}*/
+
+/**
+ * @addtogroup event
+ * @{
+ */
+
#ifdef RT_USING_EVENT
/**
* flag definitions in event
@@ -1080,6 +1099,13 @@ struct rt_event
typedef struct rt_event *rt_event_t;
#endif /* RT_USING_EVENT */
+/**@}*/
+
+/**
+ * @addtogroup mailbox
+ * @{
+ */
+
#ifdef RT_USING_MAILBOX
/**
* mailbox structure
@@ -1102,6 +1128,13 @@ struct rt_mailbox
typedef struct rt_mailbox *rt_mailbox_t;
#endif /* RT_USING_MAILBOX */
+/**@}*/
+
+/**
+ * @addtogroup messagequeue
+ * @{
+ */
+
#ifdef RT_USING_MESSAGEQUEUE
/**
* message queue structure
@@ -1129,6 +1162,8 @@ typedef struct rt_messagequeue *rt_mq_t;
/**@}*/
+/**@}*/
+
/**
* @addtogroup MM
*/