aboutsummaryrefslogtreecommitdiffstats
path: root/os/kernel/include/chsem.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-09-21 10:22:06 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-09-21 10:22:06 +0000
commit07351222e6d0b6b3dcd4f50ecb18bc09e7402d1c (patch)
tree4766a942caadb8937c09c015ec2609d8455ba8c5 /os/kernel/include/chsem.h
parent16855e1a4e43b4b45e5b5a595628ab1d8c108093 (diff)
downloadChibiOS-07351222e6d0b6b3dcd4f50ecb18bc09e7402d1c.tar.gz
ChibiOS-07351222e6d0b6b3dcd4f50ecb18bc09e7402d1c.tar.bz2
ChibiOS-07351222e6d0b6b3dcd4f50ecb18bc09e7402d1c.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2184 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/kernel/include/chsem.h')
-rw-r--r--os/kernel/include/chsem.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/os/kernel/include/chsem.h b/os/kernel/include/chsem.h
index cf0897675..17c6a03e3 100644
--- a/os/kernel/include/chsem.h
+++ b/os/kernel/include/chsem.h
@@ -83,17 +83,24 @@ extern "C" {
/**
* @brief Decreases the semaphore counter.
* @details This macro can be used when the counter is known to be positive.
+ *
+ * @iclass
*/
#define chSemFastWaitI(sp) ((sp)->s_cnt--)
/**
* @brief Increases the semaphore counter.
- * @details This macro can be used when the counter is known to be not negative.
+ * @details This macro can be used when the counter is known to be not
+ * negative.
+ *
+ * @iclass
*/
#define chSemFastSignalI(sp) ((sp)->s_cnt++)
/**
* @brief Returns the semaphore counter current value.
+ *
+ * @iclass
*/
#define chSemGetCounterI(sp) ((sp)->s_cnt)