@@ -212,7 +212,7 @@ class EventQueue : private mbed::NonCopyable<EventQueue> {
212
212
* // events are simple callbacks
213
213
* queue.call(printf, "called immediately\n");
214
214
*
215
- * // events are executed by the dispatch method
215
+ * // the dispatch method executes events
216
216
* queue.dispatch();
217
217
* }
218
218
* @endcode
@@ -222,19 +222,19 @@ class EventQueue : private mbed::NonCopyable<EventQueue> {
222
222
223
223
/* * Calls an event on the queue
224
224
*
225
- * The specified callback will be executed in the context of the event
225
+ * The specified callback is executed in the context of the event
226
226
* queue's dispatch loop.
227
227
*
228
- * The call function is irq safe and can act as a mechanism for moving
229
- * events out of irq contexts.
228
+ * The call function is IRQ safe and can act as a mechanism for moving
229
+ * events out of IRQ contexts.
230
230
*
231
231
* @param obj Object to call with the member function
232
232
* @param method Member function to execute in the context of the dispatch loop
233
233
* @param args Arguments to pass to the callback
234
- * @return A unique id that represents the posted event and can
235
- * be passed to cancel, or an id of 0 if there is not
234
+ * @return A unique ID that represents the posted event and can
235
+ * be passed to cancel, or an ID of 0 if there is not
236
236
* enough memory to allocate the event.
237
- * Returned id will remain valid until event has finished
237
+ * Returned ID remains valid until event has finished
238
238
* executing.
239
239
*
240
240
* @code
@@ -261,7 +261,7 @@ class EventQueue : private mbed::NonCopyable<EventQueue> {
261
261
* // with provided parameter
262
262
* queue.call(&handler_cb, &EventHandler::handler, 2);
263
263
*
264
- * // events are executed by the dispatch method
264
+ * // the dispath method executes events
265
265
* queue.dispatch();
266
266
* }
267
267
* @endcode
@@ -271,16 +271,16 @@ class EventQueue : private mbed::NonCopyable<EventQueue> {
271
271
272
272
/* * Calls an event on the queue after a specified delay
273
273
*
274
- * The specified callback will be executed in the context of the event
274
+ * The specified callback is executed in the context of the event
275
275
* queue's dispatch loop.
276
276
*
277
- * The call_in function is irq safe and can act as a mechanism for moving
278
- * events out of irq contexts.
277
+ * The call_in function is IRQ safe and can act as a mechanism for moving
278
+ * events out of IRQ contexts.
279
279
*
280
280
* @param ms Time to delay in milliseconds
281
281
* @param args Arguments to pass to the callback
282
- * @return A unique id that represents the posted event and can
283
- * be passed to cancel, or an id of 0 if there is not
282
+ * @return A unique ID that represents the posted event and can
283
+ * be passed to cancel, or an ID of 0 if there is not
284
284
* enough memory to allocate the event.
285
285
*
286
286
* @code
@@ -293,7 +293,7 @@ class EventQueue : private mbed::NonCopyable<EventQueue> {
293
293
* // events are simple callbacks
294
294
* queue.call_in(2000, printf, "called in 2 seconds\n");
295
295
*
296
- * // events are executed by the dispatch method
296
+ * // the dispatch methods executes events
297
297
* queue.dispatch();
298
298
* }
299
299
* @endcode
@@ -303,18 +303,18 @@ class EventQueue : private mbed::NonCopyable<EventQueue> {
303
303
304
304
/* * Calls an event on the queue after a specified delay
305
305
*
306
- * The specified callback will be executed in the context of the event
306
+ * The specified callback is executed in the context of the event
307
307
* queue's dispatch loop.
308
308
*
309
- * The call_in function is irq safe and can act as a mechanism for moving
310
- * events out of irq contexts.
309
+ * The call_in function is IRQ safe and can act as a mechanism for moving
310
+ * events out of IRQ contexts.
311
311
*
312
312
* @param ms Time to delay in milliseconds
313
313
* @param obj Object to call with the member function
314
314
* @param method Member function to execute in the context of the dispatch loop
315
315
* @param args Arguments to pass to the callback
316
- * @return A unique id that represents the posted event and can
317
- * be passed to cancel, or an id of 0 if there is not
316
+ * @return A unique ID that represents the posted event and can
317
+ * be passed to cancel, or an ID of 0 if there is not
318
318
* enough memory to allocate the event.
319
319
*
320
320
* @code
@@ -341,7 +341,7 @@ class EventQueue : private mbed::NonCopyable<EventQueue> {
341
341
* // with provided parameter
342
342
* queue.call_in(2000, &handler_cb, &EventHandler::handler, 4);
343
343
*
344
- * // events are executed by the dispatch method
344
+ * // the dispatch method executes events
345
345
* queue.dispatch();
346
346
* }
347
347
* @endcode
@@ -354,17 +354,17 @@ class EventQueue : private mbed::NonCopyable<EventQueue> {
354
354
* @note The first call_every event occurs after the specified delay.
355
355
* To create a periodic event that fires immediately, @see Event.
356
356
*
357
- * The specified callback will be executed in the context of the event
357
+ * The specified callback is executed in the context of the event
358
358
* queue's dispatch loop.
359
359
*
360
- * The call_every function is irq safe and can act as a mechanism for
361
- * moving events out of irq contexts.
360
+ * The call_every function is IRQ safe and can act as a mechanism for
361
+ * moving events out of IRQ contexts.
362
362
*
363
363
* @param ms Period of the event in milliseconds
364
364
* @param f Function to execute in the context of the dispatch loop
365
365
* @param args Arguments to pass to the callback
366
- * @return A unique id that represents the posted event and can
367
- * be passed to cancel, or an id of 0 if there is not
366
+ * @return A unique ID that represents the posted event and can
367
+ * be passed to cancel, or an ID of 0 if there is not
368
368
* enough memory to allocate the event.
369
369
*
370
370
* @code
@@ -387,7 +387,7 @@ class EventQueue : private mbed::NonCopyable<EventQueue> {
387
387
* // events are simple callbacks, call every 2 seconds
388
388
* queue.call_every(2000, printf, "Calling every 2 seconds\n");
389
389
*
390
- * // events are executed by the dispatch method
390
+ * // the dispatch method executes events
391
391
* queue.dispatch();
392
392
* }
393
393
* @endcode
@@ -400,11 +400,11 @@ class EventQueue : private mbed::NonCopyable<EventQueue> {
400
400
* @note The first call_every event occurs after the specified delay.
401
401
* To create a periodic event that fires immediately, @see Event.
402
402
*
403
- * The specified callback will be executed in the context of the event
403
+ * The specified callback is executed in the context of the event
404
404
* queue's dispatch loop.
405
405
*
406
- * The call_every function is irq safe and can act as a mechanism for
407
- * moving events out of irq contexts.
406
+ * The call_every function is IRQ safe and can act as a mechanism for
407
+ * moving events out of IRQ contexts.
408
408
*
409
409
* @param ms Period of the event in milliseconds
410
410
* @param obj Object to call with the member function
@@ -435,7 +435,7 @@ class EventQueue : private mbed::NonCopyable<EventQueue> {
435
435
* // with provided parameter
436
436
* queue.call_every(2000, &handler_cb, &EventHandler::handler, 6);
437
437
*
438
- * // events are executed by the dispatch method
438
+ * // the dispatch method executes events
439
439
* queue.dispatch();
440
440
* }
441
441
* @endcode
@@ -451,7 +451,7 @@ class EventQueue : private mbed::NonCopyable<EventQueue> {
451
451
*
452
452
* @param func Function to execute when the event is dispatched
453
453
* @param args Arguments to pass to the callback
454
- * @return Event that will dispatch on the specific queue
454
+ * @return Event that dispatches on the specific queue
455
455
*
456
456
* @code
457
457
* #include "mbed.h"
@@ -474,7 +474,7 @@ class EventQueue : private mbed::NonCopyable<EventQueue> {
474
474
* // Post the event with paramter 8
475
475
* e.post(8);
476
476
*
477
- * // Events are executed by the dispatch method
477
+ * // The dispatch method executes events
478
478
* queue.dispatch();
479
479
*
480
480
* e2.post(2);
@@ -495,7 +495,7 @@ class EventQueue : private mbed::NonCopyable<EventQueue> {
495
495
* @param obj Object to call with the member function
496
496
* @param method Member function to execute in the context of the dispatch loop
497
497
* @param context_args Arguments to pass to the callback
498
- * @return Event that will dispatch on the specific queue
498
+ * @return Event that dispatches on the specific queue
499
499
*
500
500
* @code
501
501
* #include "mbed.h"
@@ -523,7 +523,7 @@ class EventQueue : private mbed::NonCopyable<EventQueue> {
523
523
* // Post the event with paramter 8
524
524
* e.post(11);
525
525
*
526
- * // Events are executed by the dispatch method
526
+ * // The dispatch method executes events
527
527
* queue.dispatch();
528
528
* }
529
529
* @endcode
@@ -539,7 +539,7 @@ class EventQueue : private mbed::NonCopyable<EventQueue> {
539
539
*
540
540
* @param cb Callback object
541
541
* @param context_args Arguments to pass to the callback
542
- * @return Event that will dispatch on the specific queue
542
+ * @return Event that dispatches on the specific queue
543
543
*
544
544
* @code
545
545
* #include "mbed.h"
@@ -561,7 +561,7 @@ class EventQueue : private mbed::NonCopyable<EventQueue> {
561
561
* // Post the event with parameter 8
562
562
* e.post(9);
563
563
*
564
- * // events are executed by the dispatch method
564
+ * // The dispatch method executes events
565
565
* q.dispatch();
566
566
* }
567
567
* @endcode
@@ -573,17 +573,17 @@ class EventQueue : private mbed::NonCopyable<EventQueue> {
573
573
574
574
/* * Calls an event on the queue
575
575
*
576
- * The specified callback will be executed in the context of the event
576
+ * The specified callback is executed in the context of the event
577
577
* queue's dispatch loop.
578
578
*
579
- * The call function is irq safe and can act as a mechanism for moving
580
- * events out of irq contexts.
579
+ * The call function is IRQ safe and can act as a mechanism for moving
580
+ * events out of IRQ contexts.
581
581
*
582
582
* @param f Function to execute in the context of the dispatch loop
583
- * @return A unique id that represents the posted event and can
584
- * be passed to cancel, or an id of 0 if there is not
583
+ * @return A unique ID that represents the posted event and can
584
+ * be passed to cancel, or an ID of 0 if there is not
585
585
* enough memory to allocate the event.
586
- * Returned id will remain valid until event has finished
586
+ * Returned ID remains valid until event has finished
587
587
* executing.
588
588
*
589
589
* @code
0 commit comments