aboutsummaryrefslogtreecommitdiffstats
path: root/os/rt/include/chsem.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/rt/include/chsem.h')
-rw-r--r--os/rt/include/chsem.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/os/rt/include/chsem.h b/os/rt/include/chsem.h
index 4762da9df..51f9302a1 100644
--- a/os/rt/include/chsem.h
+++ b/os/rt/include/chsem.h
@@ -112,6 +112,8 @@ extern "C" {
* @brief Decreases the semaphore counter.
* @details This macro can be used when the counter is known to be positive.
*
+ * @param[in] sp pointer to a @p semaphore_t structure
+ *
* @iclass
*/
static inline void chSemFastWaitI(semaphore_t *sp) {
@@ -126,6 +128,8 @@ static inline void chSemFastWaitI(semaphore_t *sp) {
* @details This macro can be used when the counter is known to be not
* negative.
*
+ * @param[in] sp pointer to a @p semaphore_t structure
+ *
* @iclass
*/
static inline void chSemFastSignalI(semaphore_t *sp) {
@@ -138,6 +142,9 @@ static inline void chSemFastSignalI(semaphore_t *sp) {
/**
* @brief Returns the semaphore counter current value.
*
+ * @param[in] sp pointer to a @p semaphore_t structure
+ * @return The semaphore counter value.
+ *
* @iclass
*/
static inline cnt_t chSemGetCounterI(semaphore_t *sp) {