From c9be79def630f153b0b2d28e905939c15743f989 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Tue, 23 Aug 2011 10:09:08 +0000 Subject: Kernel documentation fixes and improvements. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3251 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/kernel/include/chsys.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'os/kernel/include/chsys.h') diff --git a/os/kernel/include/chsys.h b/os/kernel/include/chsys.h index f807182ac..b69736a1d 100644 --- a/os/kernel/include/chsys.h +++ b/os/kernel/include/chsys.h @@ -29,6 +29,10 @@ #ifndef _CHSYS_H_ #define _CHSYS_H_ +/** + * @name Macro Functions + * @{ + */ #if !CH_NO_IDLE_THREAD || defined(__DOXYGEN__) /** * @brief Returns a pointer to the idle thread. @@ -177,7 +181,11 @@ dbg_check_unlock_from_isr(); \ port_unlock_from_isr(); \ } +/** @} */ +/** + * @name ISRs abstraction macros + */ /** * @brief IRQ handler enter code. * @note Usually IRQ handlers functions are also declared naked. @@ -211,7 +219,11 @@ * @special */ #define CH_IRQ_HANDLER(id) PORT_IRQ_HANDLER(id) +/** @} */ +/** + * @name Fast ISRs abstraction macros + */ /** * @brief Standard fast IRQ handler declaration. * @note @p id can be a function name or a vector number depending on the @@ -221,6 +233,7 @@ * @special */ #define CH_FAST_IRQ_HANDLER(id) PORT_FAST_IRQ_HANDLER(id) +/** @} */ #ifdef __cplusplus extern "C" { -- cgit v1.2.3