@@ -96,9 +96,9 @@ typedef TickType_t EventBits_t;
96
96
97
97
/**
98
98
* event_groups.h
99
- * <pre>
99
+ * @code{c}
100
100
* EventGroupHandle_t xEventGroupCreate( void );
101
- * </pre>
101
+ * @endcode
102
102
*
103
103
* Create a new event group.
104
104
*
@@ -125,7 +125,7 @@ typedef TickType_t EventBits_t;
125
125
* event group then NULL is returned. See https://www.FreeRTOS.org/a00111.html
126
126
*
127
127
* Example usage:
128
- * <pre>
128
+ * @code{c}
129
129
* // Declare a variable to hold the created event group.
130
130
* EventGroupHandle_t xCreatedEventGroup;
131
131
*
@@ -142,7 +142,7 @@ typedef TickType_t EventBits_t;
142
142
* {
143
143
* // The event group was created.
144
144
* }
145
- * </pre>
145
+ * @endcode
146
146
* \defgroup xEventGroupCreate xEventGroupCreate
147
147
* \ingroup EventGroup
148
148
*/
@@ -152,9 +152,9 @@ typedef TickType_t EventBits_t;
152
152
153
153
/**
154
154
* event_groups.h
155
- * <pre>
155
+ * @code{c}
156
156
* EventGroupHandle_t xEventGroupCreateStatic( EventGroupHandle_t * pxEventGroupBuffer );
157
- * </pre>
157
+ * @endcode
158
158
*
159
159
* Create a new event group.
160
160
*
@@ -184,7 +184,7 @@ typedef TickType_t EventBits_t;
184
184
* returned. If pxEventGroupBuffer was NULL then NULL is returned.
185
185
*
186
186
* Example usage:
187
- * <pre>
187
+ * @code{c}
188
188
* // StaticEventGroup_t is a publicly accessible structure that has the same
189
189
* // size and alignment requirements as the real event group structure. It is
190
190
* // provided as a mechanism for applications to know the size of the event
@@ -197,21 +197,21 @@ typedef TickType_t EventBits_t;
197
197
*
198
198
* // Create the event group without dynamically allocating any memory.
199
199
* xEventGroup = xEventGroupCreateStatic( &xEventGroupBuffer );
200
- * </pre>
200
+ * @endcode
201
201
*/
202
202
#if ( configSUPPORT_STATIC_ALLOCATION == 1 )
203
203
EventGroupHandle_t xEventGroupCreateStatic ( StaticEventGroup_t * pxEventGroupBuffer ) PRIVILEGED_FUNCTION ;
204
204
#endif
205
205
206
206
/**
207
207
* event_groups.h
208
- * <pre>
208
+ * @code{c}
209
209
* EventBits_t xEventGroupWaitBits( EventGroupHandle_t xEventGroup,
210
210
* const EventBits_t uxBitsToWaitFor,
211
211
* const BaseType_t xClearOnExit,
212
212
* const BaseType_t xWaitForAllBits,
213
213
* const TickType_t xTicksToWait );
214
- * </pre>
214
+ * @endcode
215
215
*
216
216
* [Potentially] block to wait for one or more bits to be set within a
217
217
* previously created event group.
@@ -255,9 +255,9 @@ typedef TickType_t EventBits_t;
255
255
* pdTRUE.
256
256
*
257
257
* Example usage:
258
- * <pre>
259
- #define BIT_0 ( 1 << 0 )
260
- #define BIT_4 ( 1 << 4 )
258
+ * @code{c}
259
+ * #define BIT_0 ( 1 << 0 )
260
+ * #define BIT_4 ( 1 << 4 )
261
261
*
262
262
* void aFunction( EventGroupHandle_t xEventGroup )
263
263
* {
@@ -291,7 +291,7 @@ typedef TickType_t EventBits_t;
291
291
* // without either BIT_0 or BIT_4 becoming set.
292
292
* }
293
293
* }
294
- * </pre>
294
+ * @endcode
295
295
* \defgroup xEventGroupWaitBits xEventGroupWaitBits
296
296
* \ingroup EventGroup
297
297
*/
@@ -303,9 +303,9 @@ EventBits_t xEventGroupWaitBits( EventGroupHandle_t xEventGroup,
303
303
304
304
/**
305
305
* event_groups.h
306
- * <pre>
306
+ * @code{c}
307
307
* EventBits_t xEventGroupClearBits( EventGroupHandle_t xEventGroup, const EventBits_t uxBitsToClear );
308
- * </pre>
308
+ * @endcode
309
309
*
310
310
* Clear bits within an event group. This function cannot be called from an
311
311
* interrupt.
@@ -319,9 +319,9 @@ EventBits_t xEventGroupWaitBits( EventGroupHandle_t xEventGroup,
319
319
* @return The value of the event group before the specified bits were cleared.
320
320
*
321
321
* Example usage:
322
- * <pre>
323
- #define BIT_0 ( 1 << 0 )
324
- #define BIT_4 ( 1 << 4 )
322
+ * @code{c}
323
+ * #define BIT_0 ( 1 << 0 )
324
+ * #define BIT_4 ( 1 << 4 )
325
325
*
326
326
* void aFunction( EventGroupHandle_t xEventGroup )
327
327
* {
@@ -352,7 +352,7 @@ EventBits_t xEventGroupWaitBits( EventGroupHandle_t xEventGroup,
352
352
* // Neither bit 0 nor bit 4 were set in the first place.
353
353
* }
354
354
* }
355
- * </pre>
355
+ * @endcode
356
356
* \defgroup xEventGroupClearBits xEventGroupClearBits
357
357
* \ingroup EventGroup
358
358
*/
@@ -361,9 +361,9 @@ EventBits_t xEventGroupClearBits( EventGroupHandle_t xEventGroup,
361
361
362
362
/**
363
363
* event_groups.h
364
- * <pre>
364
+ * @code{c}
365
365
* BaseType_t xEventGroupClearBitsFromISR( EventGroupHandle_t xEventGroup, const EventBits_t uxBitsToSet );
366
- * </pre>
366
+ * @endcode
367
367
*
368
368
* A version of xEventGroupClearBits() that can be called from an interrupt.
369
369
*
@@ -388,9 +388,9 @@ EventBits_t xEventGroupClearBits( EventGroupHandle_t xEventGroup,
388
388
* if the timer service queue was full.
389
389
*
390
390
* Example usage:
391
- * <pre>
392
- #define BIT_0 ( 1 << 0 )
393
- #define BIT_4 ( 1 << 4 )
391
+ * @code{c}
392
+ * #define BIT_0 ( 1 << 0 )
393
+ * #define BIT_4 ( 1 << 4 )
394
394
*
395
395
* // An event group which it is assumed has already been created by a call to
396
396
* // xEventGroupCreate().
@@ -408,7 +408,7 @@ EventBits_t xEventGroupClearBits( EventGroupHandle_t xEventGroup,
408
408
* // The message was posted successfully.
409
409
* }
410
410
* }
411
- * </pre>
411
+ * @endcode
412
412
* \defgroup xEventGroupClearBitsFromISR xEventGroupClearBitsFromISR
413
413
* \ingroup EventGroup
414
414
*/
@@ -422,9 +422,9 @@ EventBits_t xEventGroupClearBits( EventGroupHandle_t xEventGroup,
422
422
423
423
/**
424
424
* event_groups.h
425
- * <pre>
425
+ * @code{c}
426
426
* EventBits_t xEventGroupSetBits( EventGroupHandle_t xEventGroup, const EventBits_t uxBitsToSet );
427
- * </pre>
427
+ * @endcode
428
428
*
429
429
* Set bits within an event group.
430
430
* This function cannot be called from an interrupt. xEventGroupSetBitsFromISR()
@@ -450,9 +450,9 @@ EventBits_t xEventGroupClearBits( EventGroupHandle_t xEventGroup,
450
450
* event group value before the call to xEventGroupSetBits() returns.
451
451
*
452
452
* Example usage:
453
- * <pre>
454
- #define BIT_0 ( 1 << 0 )
455
- #define BIT_4 ( 1 << 4 )
453
+ * @code{c}
454
+ * #define BIT_0 ( 1 << 0 )
455
+ * #define BIT_4 ( 1 << 4 )
456
456
*
457
457
* void aFunction( EventGroupHandle_t xEventGroup )
458
458
* {
@@ -488,7 +488,7 @@ EventBits_t xEventGroupClearBits( EventGroupHandle_t xEventGroup,
488
488
* // cleared as the task left the Blocked state.
489
489
* }
490
490
* }
491
- * </pre>
491
+ * @endcode
492
492
* \defgroup xEventGroupSetBits xEventGroupSetBits
493
493
* \ingroup EventGroup
494
494
*/
@@ -497,9 +497,9 @@ EventBits_t xEventGroupSetBits( EventGroupHandle_t xEventGroup,
497
497
498
498
/**
499
499
* event_groups.h
500
- * <pre>
500
+ * @code{c}
501
501
* BaseType_t xEventGroupSetBitsFromISR( EventGroupHandle_t xEventGroup, const EventBits_t uxBitsToSet, BaseType_t *pxHigherPriorityTaskWoken );
502
- * </pre>
502
+ * @endcode
503
503
*
504
504
* A version of xEventGroupSetBits() that can be called from an interrupt.
505
505
*
@@ -532,9 +532,9 @@ EventBits_t xEventGroupSetBits( EventGroupHandle_t xEventGroup,
532
532
* if the timer service queue was full.
533
533
*
534
534
* Example usage:
535
- * <pre>
536
- #define BIT_0 ( 1 << 0 )
537
- #define BIT_4 ( 1 << 4 )
535
+ * @code{c}
536
+ * #define BIT_0 ( 1 << 0 )
537
+ * #define BIT_4 ( 1 << 4 )
538
538
*
539
539
* // An event group which it is assumed has already been created by a call to
540
540
* // xEventGroupCreate().
@@ -563,7 +563,7 @@ EventBits_t xEventGroupSetBits( EventGroupHandle_t xEventGroup,
563
563
* portYIELD_FROM_ISR( xHigherPriorityTaskWoken );
564
564
* }
565
565
* }
566
- * </pre>
566
+ * @endcode
567
567
* \defgroup xEventGroupSetBitsFromISR xEventGroupSetBitsFromISR
568
568
* \ingroup EventGroup
569
569
*/
@@ -578,12 +578,12 @@ EventBits_t xEventGroupSetBits( EventGroupHandle_t xEventGroup,
578
578
579
579
/**
580
580
* event_groups.h
581
- * <pre>
581
+ * @code{c}
582
582
* EventBits_t xEventGroupSync( EventGroupHandle_t xEventGroup,
583
583
* const EventBits_t uxBitsToSet,
584
584
* const EventBits_t uxBitsToWaitFor,
585
585
* TickType_t xTicksToWait );
586
- * </pre>
586
+ * @endcode
587
587
*
588
588
* Atomically set bits within an event group, then wait for a combination of
589
589
* bits to be set within the same event group. This functionality is typically
@@ -622,13 +622,13 @@ EventBits_t xEventGroupSetBits( EventGroupHandle_t xEventGroup,
622
622
* automatically cleared.
623
623
*
624
624
* Example usage:
625
- * <pre>
625
+ * @code{c}
626
626
* // Bits used by the three tasks.
627
- #define TASK_0_BIT ( 1 << 0 )
628
- #define TASK_1_BIT ( 1 << 1 )
629
- #define TASK_2_BIT ( 1 << 2 )
627
+ * #define TASK_0_BIT ( 1 << 0 )
628
+ * #define TASK_1_BIT ( 1 << 1 )
629
+ * #define TASK_2_BIT ( 1 << 2 )
630
630
*
631
- #define ALL_SYNC_BITS ( TASK_0_BIT | TASK_1_BIT | TASK_2_BIT )
631
+ * #define ALL_SYNC_BITS ( TASK_0_BIT | TASK_1_BIT | TASK_2_BIT )
632
632
*
633
633
* // Use an event group to synchronise three tasks. It is assumed this event
634
634
* // group has already been created elsewhere.
@@ -696,7 +696,7 @@ EventBits_t xEventGroupSetBits( EventGroupHandle_t xEventGroup,
696
696
* }
697
697
* }
698
698
*
699
- * </pre>
699
+ * @endcode
700
700
* \defgroup xEventGroupSync xEventGroupSync
701
701
* \ingroup EventGroup
702
702
*/
@@ -708,9 +708,9 @@ EventBits_t xEventGroupSync( EventGroupHandle_t xEventGroup,
708
708
709
709
/**
710
710
* event_groups.h
711
- * <pre>
711
+ * @code{c}
712
712
* EventBits_t xEventGroupGetBits( EventGroupHandle_t xEventGroup );
713
- * </pre>
713
+ * @endcode
714
714
*
715
715
* Returns the current value of the bits in an event group. This function
716
716
* cannot be used from an interrupt.
@@ -726,9 +726,9 @@ EventBits_t xEventGroupSync( EventGroupHandle_t xEventGroup,
726
726
727
727
/**
728
728
* event_groups.h
729
- * <pre>
729
+ * @code{c}
730
730
* EventBits_t xEventGroupGetBitsFromISR( EventGroupHandle_t xEventGroup );
731
- * </pre>
731
+ * @endcode
732
732
*
733
733
* A version of xEventGroupGetBits() that can be called from an ISR.
734
734
*
@@ -743,9 +743,9 @@ EventBits_t xEventGroupGetBitsFromISR( EventGroupHandle_t xEventGroup ) PRIVILEG
743
743
744
744
/**
745
745
* event_groups.h
746
- * <pre>
746
+ * @code{c}
747
747
* void xEventGroupDelete( EventGroupHandle_t xEventGroup );
748
- * </pre>
748
+ * @endcode
749
749
*
750
750
* Delete an event group that was previously created by a call to
751
751
* xEventGroupCreate(). Tasks that are blocked on the event group will be
0 commit comments