diff options
Diffstat (limited to 'os/kernel/include/chsem.h')
-rw-r--r-- | os/kernel/include/chsem.h | 9 |
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)
|