@@ -46,17 +46,17 @@ namespace rtos {
46
46
*/
47
47
class EventFlags : private mbed ::NonCopyable<EventFlags> {
48
48
public:
49
- /* * Create and Initialize a EventFlags object
49
+ /* * Create and Initialize an EventFlags object
50
50
*
51
- * @note This function cannot be called from ISR context.
51
+ * @note You cannot call this function from ISR context.
52
52
*/
53
53
EventFlags ();
54
54
55
55
/* * Create and Initialize a EventFlags object
56
56
57
57
@param name name to be used for this EventFlags. It has to stay allocated for the lifetime of the thread.
58
58
59
- @note This function cannot be called from ISR context.
59
+ @note You cannot call this function from ISR context.
60
60
*/
61
61
EventFlags (const char *name);
62
62
@@ -72,14 +72,14 @@ class EventFlags : private mbed::NonCopyable<EventFlags> {
72
72
@param flags specifies the flags that shall be cleared. (default: 0x7fffffff - all flags)
73
73
@return event flags before clearing or error code if highest bit set (@a osFlagsError).
74
74
75
- @note This function may be called from ISR context.
75
+ @note You may call this function from ISR context.
76
76
*/
77
77
uint32_t clear (uint32_t flags = 0x7fffffff );
78
78
79
79
/* * Get the currently set Event Flags.
80
80
@return set event flags.
81
81
82
- @note This function may be called from ISR context.
82
+ @note You may call this function from ISR context.
83
83
*/
84
84
uint32_t get () const ;
85
85
@@ -89,7 +89,7 @@ class EventFlags : private mbed::NonCopyable<EventFlags> {
89
89
@param clear specifies wether to clear the flags after waiting for them. (default: true)
90
90
@return event flags before clearing or error code if highest bit set (@a osFlagsError).
91
91
92
- @note This function may be called from ISR context if the timeout parameter is set to 0.
92
+ @note You may call this function from ISR context if the timeout parameter is set to 0.
93
93
*/
94
94
uint32_t wait_all (uint32_t flags = 0 , uint32_t timeout = osWaitForever, bool clear = true );
95
95
@@ -105,7 +105,7 @@ class EventFlags : private mbed::NonCopyable<EventFlags> {
105
105
106
106
/* * Event flags destructor
107
107
108
- @note This function cannot be called from ISR context.
108
+ @note You cannot call this function from ISR context.
109
109
*/
110
110
~EventFlags ();
111
111
0 commit comments