diff --git a/include/rtthread.h b/include/rtthread.h index 6ab1ed9069fbe602b727a2ca81385dfb07a5f673..4091e538f854ebee66b9bfa54260964006a5f4fd 100644 --- a/include/rtthread.h +++ b/include/rtthread.h @@ -46,7 +46,7 @@ extern "C" { * @addtogroup KernelObject */ -/*@{*/ +/**@{*/ /* * kernel object interface @@ -72,13 +72,13 @@ void rt_object_take_sethook(void (*hook)(struct rt_object *object)); void rt_object_put_sethook(void (*hook)(struct rt_object *object)); #endif -/*@}*/ +/**@}*/ /** * @addtogroup Clock */ -/*@{*/ +/**@{*/ /* * clock & timer interface @@ -116,13 +116,13 @@ void rt_timer_check(void); void rt_timer_timeout_sethook(void (*hook)(struct rt_timer *timer)); #endif -/*@}*/ +/**@}*/ /** * @addtogroup Thread */ -/*@{*/ +/**@{*/ /* * thread interface @@ -187,13 +187,13 @@ rt_uint16_t rt_critical_level(void); void rt_scheduler_sethook(void (*hook)(rt_thread_t from, rt_thread_t to)); #endif -/*@}*/ +/**@}*/ /** * @addtogroup MM */ -/*@{*/ +/**@{*/ /* * memory management interface @@ -266,13 +266,13 @@ void *rt_memheap_realloc(struct rt_memheap* heap, void* ptr, rt_size_t newsize); void rt_memheap_free(void *ptr); #endif -/*@}*/ +/**@}*/ /** * @addtogroup IPC */ -/*@{*/ +/**@{*/ #ifdef RT_USING_SEMAPHORE /* @@ -371,14 +371,14 @@ rt_err_t rt_mq_recv(rt_mq_t mq, rt_err_t rt_mq_control(rt_mq_t mq, rt_uint8_t cmd, void *arg); #endif -/*@}*/ +/**@}*/ #ifdef RT_USING_DEVICE /** * @addtogroup Device */ -/*@{*/ +/**@{*/ /* * device (I/O) system interface @@ -411,7 +411,7 @@ rt_size_t rt_device_write(rt_device_t dev, rt_size_t size); rt_err_t rt_device_control(rt_device_t dev, rt_uint8_t cmd, void *arg); -/*@}*/ +/**@}*/ #endif #ifdef RT_USING_MODULE @@ -419,7 +419,7 @@ rt_err_t rt_device_control(rt_device_t dev, rt_uint8_t cmd, void *arg); * @addtogroup Module */ -/*@{*/ +/**@{*/ /* * module interface @@ -449,7 +449,7 @@ rt_err_t rt_module_destroy(rt_module_t module); */ int rt_system_module_init(void); -/*@}*/ +/**@}*/ #endif /* @@ -481,7 +481,7 @@ void rt_components_board_init(void); * @addtogroup KernelService */ -/*@{*/ +/**@{*/ /* * general kernel service @@ -534,7 +534,7 @@ void rt_assert_set_hook(void (*hook)(const char* ex, const char* func, rt_size_t void rt_assert_handler(const char* ex, const char* func, rt_size_t line); #endif /* RT_DEBUG */ -/*@}*/ +/**@}*/ #ifdef __cplusplus } diff --git a/src/clock.c b/src/clock.c index 63f65b874a4505726844d06a5839f9d750274170..36e26238ed626965ab91a2222e8d13ae83afeff8 100644 --- a/src/clock.c +++ b/src/clock.c @@ -50,7 +50,7 @@ void rt_system_tick_init(void) * @addtogroup Clock */ -/*@{*/ +/**@{*/ /** * This function will return current tick from operating system startup @@ -118,5 +118,5 @@ rt_tick_t rt_tick_from_millisecond(rt_uint32_t ms) } RTM_EXPORT(rt_tick_from_millisecond); -/*@}*/ +/**@}*/ diff --git a/src/ipc.c b/src/ipc.c index 8c12f701b07c6d36719870f0e069a4f6a333742f..9ecd60209948dbcfd1a1afca39918db190411a91 100644 --- a/src/ipc.c +++ b/src/ipc.c @@ -61,7 +61,7 @@ extern void (*rt_object_put_hook)(struct rt_object *object); * @addtogroup IPC */ -/*@{*/ +/**@{*/ /** * This function will initialize an IPC object @@ -2281,4 +2281,4 @@ rt_err_t rt_mq_control(rt_mq_t mq, rt_uint8_t cmd, void *arg) RTM_EXPORT(rt_mq_control); #endif /* end of RT_USING_MESSAGEQUEUE */ -/*@}*/ +/**@}*/ diff --git a/src/irq.c b/src/irq.c index ca221cf10d4c7e1118a0178eb09ed8dec88b51ff..9b933e39608008ce26cf8788154b20de2885ca88 100644 --- a/src/irq.c +++ b/src/irq.c @@ -60,7 +60,7 @@ void rt_interrupt_leave_sethook(void (*hook)(void)) * @addtogroup Kernel */ -/*@{*/ +/**@{*/ volatile rt_uint8_t rt_interrupt_nest; @@ -123,5 +123,5 @@ RTM_EXPORT(rt_interrupt_get_nest); RTM_EXPORT(rt_hw_interrupt_disable); RTM_EXPORT(rt_hw_interrupt_enable); -/*@}*/ +/**@}*/ diff --git a/src/kservice.c b/src/kservice.c index f5cd934e2dc70fadba7d9d6333b28133f0089645..614399e1e09b96bbed7cda69809760dfec4b80c9 100644 --- a/src/kservice.c +++ b/src/kservice.c @@ -43,7 +43,7 @@ * @addtogroup KernelService */ -/*@{*/ +/**@{*/ /* global errno in RT-Thread */ static volatile int _errno; @@ -1328,4 +1328,4 @@ int vsprintf(char *buf, const char *format, va_list arg_ptr) __attribute__((weak #endif -/*@}*/ +/**@}*/ diff --git a/src/mem.c b/src/mem.c index c45059c5cd752a833605d787f5249cfccb4a45ac..b19e46d524b8fa39bc963f6f2be83b7341421a89 100644 --- a/src/mem.c +++ b/src/mem.c @@ -76,7 +76,7 @@ static void (*rt_free_hook)(void *ptr); * @addtogroup Hook */ -/*@{*/ +/**@{*/ /** * This function will set a hook function, which will be invoked when a memory @@ -100,7 +100,7 @@ void rt_free_sethook(void (*hook)(void *ptr)) rt_free_hook = hook; } -/*@}*/ +/**@}*/ #endif @@ -234,7 +234,7 @@ void rt_system_heap_init(void *begin_addr, void *end_addr) * @addtogroup MM */ -/*@{*/ +/**@{*/ /** * Allocate a block of memory with a minimum of 'size' bytes. @@ -585,7 +585,7 @@ FINSH_FUNCTION_EXPORT(list_mem, list memory usage information) #endif #endif -/*@}*/ +/**@}*/ #endif /* end of RT_USING_HEAP */ #endif /* end of RT_USING_MEMHEAP_AS_HEAP */ diff --git a/src/mempool.c b/src/mempool.c index b6d83597bf7ad77322ab88470984f1ca671c0bb4..a01e2145c3814508a15bae26d33caeacf42627c4 100644 --- a/src/mempool.c +++ b/src/mempool.c @@ -43,7 +43,7 @@ static void (*rt_mp_free_hook)(struct rt_mempool *mp, void *block); * @addtogroup Hook */ -/*@{*/ +/**@{*/ /** * This function will set a hook function, which will be invoked when a memory @@ -67,14 +67,14 @@ void rt_mp_free_sethook(void (*hook)(struct rt_mempool *mp, void *block)) rt_mp_free_hook = hook; } -/*@}*/ +/**@}*/ #endif /** * @addtogroup MM */ -/*@{*/ +/**@{*/ /** * This function will initialize a memory pool object, normally which is used @@ -465,7 +465,7 @@ void rt_mp_free(void *block) } RTM_EXPORT(rt_mp_free); -/*@}*/ +/**@}*/ #endif diff --git a/src/module.c b/src/module.c index b03611a4f44bb012bf0dd946921e3b9660b0c6dc..79ac0c8688a85694ec8074430f95b5e4011a02b8 100644 --- a/src/module.c +++ b/src/module.c @@ -366,7 +366,7 @@ static void (*rt_module_unload_hook)(rt_module_t module); * @addtogroup Hook */ -/*@{*/ +/**@{*/ /** * This function will set a hook function, which will be invoked when module @@ -390,7 +390,7 @@ void rt_module_unload_sethook(void (*hook)(rt_module_t module)) rt_module_unload_hook = hook; } -/*@}*/ +/**@}*/ #endif static struct rt_module *_load_shared_object(const char *name, diff --git a/src/object.c b/src/object.c index ae8234f47df37b03e0883c97daaa6f805e0b3787..d71f792b5d7eafbe5cfc6e42f376673a591ecc3a 100644 --- a/src/object.c +++ b/src/object.c @@ -87,7 +87,7 @@ void (*rt_object_put_hook)(struct rt_object *object); * @addtogroup Hook */ -/*@{*/ +/**@{*/ /** * This function will set a hook function, which will be invoked when object @@ -159,7 +159,7 @@ void rt_object_put_sethook(void (*hook)(struct rt_object *object)) rt_object_put_hook = hook; } -/*@}*/ +/**@}*/ #endif /** @@ -178,7 +178,7 @@ void rt_system_object_init(void) * @addtogroup KernelObject */ -/*@{*/ +/**@{*/ /** * This function will return the specified type of object information. @@ -494,4 +494,4 @@ rt_object_t rt_object_find(const char *name, rt_uint8_t type) return RT_NULL; } -/*@}*/ +/**@}*/ diff --git a/src/scheduler.c b/src/scheduler.c index d011ebfacd71b56109548fef287bd787d2bbc9cc..5cc2f0b067d9205beb4f721d33f60015250a788b 100644 --- a/src/scheduler.c +++ b/src/scheduler.c @@ -67,7 +67,7 @@ static void (*rt_scheduler_hook)(struct rt_thread *from, struct rt_thread *to); * @addtogroup Hook */ -/*@{*/ +/**@{*/ /** * This function will set a hook function, which will be invoked when thread @@ -81,7 +81,7 @@ rt_scheduler_sethook(void (*hook)(struct rt_thread *from, struct rt_thread *to)) rt_scheduler_hook = hook; } -/*@}*/ +/**@}*/ #endif #ifdef RT_USING_OVERFLOW_CHECK @@ -183,7 +183,7 @@ void rt_system_scheduler_start(void) * @addtogroup Thread */ -/*@{*/ +/**@{*/ /** * This function will perform one schedule. It will select one thread @@ -412,5 +412,5 @@ rt_uint16_t rt_critical_level(void) return rt_scheduler_lock_nest; } RTM_EXPORT(rt_critical_level); -/*@}*/ +/**@}*/ diff --git a/src/slab.c b/src/slab.c index 78355d0e4606439b4fd73861996961203399848f..d1093a7a93583be73ee9a1705350d390e0147fac 100644 --- a/src/slab.c +++ b/src/slab.c @@ -81,7 +81,7 @@ static void (*rt_free_hook)(void *ptr); * @addtogroup Hook */ -/*@{*/ +/**@{*/ /** * This function will set a hook function, which will be invoked when a memory @@ -107,7 +107,7 @@ void rt_free_sethook(void (*hook)(void *ptr)) } RTM_EXPORT(rt_free_sethook); -/*@}*/ +/**@}*/ #endif @@ -472,7 +472,7 @@ rt_inline int zoneindex(rt_uint32_t *bytes) * @addtogroup MM */ -/*@{*/ +/**@{*/ /** * This function will allocate a block from system heap memory. @@ -963,6 +963,6 @@ FINSH_FUNCTION_EXPORT(list_mem, list memory usage information) #endif #endif -/*@}*/ +/**@}*/ #endif diff --git a/src/thread.c b/src/thread.c index b8b582d5be6a869511c7607b2837642d43aa7b7b..ec7bfdefbde9e01ce71b1108d190b2de54b48b07 100644 --- a/src/thread.c +++ b/src/thread.c @@ -169,7 +169,7 @@ static rt_err_t _rt_thread_init(struct rt_thread *thread, * @addtogroup Thread */ -/*@{*/ +/**@{*/ /** * This function will initialize a thread, normally it's used to initialize a @@ -737,4 +737,4 @@ rt_thread_t rt_thread_find(char *name) } RTM_EXPORT(rt_thread_find); -/*@}*/ +/**@}*/ diff --git a/src/timer.c b/src/timer.c index ba2801530deb58be257910c23b846fabce5881bf..e34d229be43e7c2be11ac04cad8acd1834928156 100644 --- a/src/timer.c +++ b/src/timer.c @@ -63,7 +63,7 @@ static void (*rt_timer_timeout_hook)(struct rt_timer *timer); * @addtogroup Hook */ -/*@{*/ +/**@{*/ /** * This function will set a hook function, which will be invoked when timer @@ -76,7 +76,7 @@ void rt_timer_timeout_sethook(void (*hook)(struct rt_timer *timer)) rt_timer_timeout_hook = hook; } -/*@}*/ +/**@}*/ #endif static void _rt_timer_init(rt_timer_t timer, @@ -164,7 +164,7 @@ void rt_timer_dump(rt_list_t timer_heads[]) * @addtogroup Clock */ -/*@{*/ +/**@{*/ /** * This function will initialize a timer, normally this function is used to @@ -710,4 +710,4 @@ void rt_system_timer_thread_init(void) #endif } -/*@}*/ +/**@}*/