diff options
Diffstat (limited to 'os/various/cpp_wrappers/ch.hpp')
-rw-r--r-- | os/various/cpp_wrappers/ch.hpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/os/various/cpp_wrappers/ch.hpp b/os/various/cpp_wrappers/ch.hpp index 05bc1b33d..4cc6704b9 100644 --- a/os/various/cpp_wrappers/ch.hpp +++ b/os/various/cpp_wrappers/ch.hpp @@ -1302,6 +1302,18 @@ namespace chibios_rt { * @api
*/
flagsmask_t getAndClearFlags(void);
+
+ /**
+ * @brief Returns the flags associated to an @p EventListener.
+ * @details The flags are returned and the @p EventListener flags mask is
+ * cleared.
+ *
+ * @return The flags added to the listener by the associated
+ * event source.
+ *
+ * @iclass
+ */
+ flagsmask_t getAndClearFlagsI(void);
};
/*------------------------------------------------------------------------*
|