diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-08-23 10:09:08 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-08-23 10:09:08 +0000 |
commit | c9be79def630f153b0b2d28e905939c15743f989 (patch) | |
tree | d88d60cde858f1efff1bdd5fb1f201ba69f286cc /os/kernel/include/chbsem.h | |
parent | 2d55ac3059fcca69cc9736db310b4521064c2b23 (diff) | |
download | ChibiOS-c9be79def630f153b0b2d28e905939c15743f989.tar.gz ChibiOS-c9be79def630f153b0b2d28e905939c15743f989.tar.bz2 ChibiOS-c9be79def630f153b0b2d28e905939c15743f989.zip |
Kernel documentation fixes and improvements.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3251 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/kernel/include/chbsem.h')
-rw-r--r-- | os/kernel/include/chbsem.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/os/kernel/include/chbsem.h b/os/kernel/include/chbsem.h index e0e1ca865..2d8815c3c 100644 --- a/os/kernel/include/chbsem.h +++ b/os/kernel/include/chbsem.h @@ -85,6 +85,10 @@ typedef struct { BinarySemaphore name = _BSEMAPHORE_DATA(name, taken)
/**
+ * @name Macro Functions
+ * @{
+ */
+/**
* @brief Initializes a binary semaphore.
*
* @param[out] bsp pointer to a @p BinarySemaphore structure
@@ -238,6 +242,7 @@ typedef struct { * @iclass
*/
#define chBSemGetStateI(bsp) ((bsp)->bs_sem.s_cnt > 0 ? FALSE : TRUE)
+/** @} */
#endif /* CH_USE_SEMAPHORES */
|