Skip to content

Commit 30b8da9

Browse files
author
Amanda Butler
authored
Copy edit EventFlags.h
Copy edit file for active voice and agreement.
1 parent c23709c commit 30b8da9

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

rtos/EventFlags.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,17 +46,17 @@ namespace rtos {
4646
*/
4747
class EventFlags : private mbed::NonCopyable<EventFlags> {
4848
public:
49-
/** Create and Initialize a EventFlags object
49+
/** Create and Initialize an EventFlags object
5050
*
51-
* @note This function cannot be called from ISR context.
51+
* @note You cannot call this function from ISR context.
5252
*/
5353
EventFlags();
5454

5555
/** Create and Initialize a EventFlags object
5656
5757
@param name name to be used for this EventFlags. It has to stay allocated for the lifetime of the thread.
5858
59-
@note This function cannot be called from ISR context.
59+
@note You cannot call this function from ISR context.
6060
*/
6161
EventFlags(const char *name);
6262

@@ -72,14 +72,14 @@ class EventFlags : private mbed::NonCopyable<EventFlags> {
7272
@param flags specifies the flags that shall be cleared. (default: 0x7fffffff - all flags)
7373
@return event flags before clearing or error code if highest bit set (@a osFlagsError).
7474
75-
@note This function may be called from ISR context.
75+
@note You may call this function from ISR context.
7676
*/
7777
uint32_t clear(uint32_t flags = 0x7fffffff);
7878

7979
/** Get the currently set Event Flags.
8080
@return set event flags.
8181
82-
@note This function may be called from ISR context.
82+
@note You may call this function from ISR context.
8383
*/
8484
uint32_t get() const;
8585

@@ -89,7 +89,7 @@ class EventFlags : private mbed::NonCopyable<EventFlags> {
8989
@param clear specifies wether to clear the flags after waiting for them. (default: true)
9090
@return event flags before clearing or error code if highest bit set (@a osFlagsError).
9191
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.
9393
*/
9494
uint32_t wait_all(uint32_t flags = 0, uint32_t timeout = osWaitForever, bool clear = true);
9595

@@ -105,7 +105,7 @@ class EventFlags : private mbed::NonCopyable<EventFlags> {
105105

106106
/** Event flags destructor
107107
108-
@note This function cannot be called from ISR context.
108+
@note You cannot call this function from ISR context.
109109
*/
110110
~EventFlags();
111111

0 commit comments

Comments
 (0)