@@ -62,13 +62,13 @@ typedef struct corCoRoutineControlBlock
62
62
63
63
/**
64
64
* croutine. h
65
- * <pre>
65
+ * @code{c}
66
66
* BaseType_t xCoRoutineCreate(
67
67
* crCOROUTINE_CODE pxCoRoutineCode,
68
68
* UBaseType_t uxPriority,
69
69
* UBaseType_t uxIndex
70
70
* );
71
- * </pre>
71
+ * @endcode
72
72
*
73
73
* Create a new co-routine and add it to the list of co-routines that are
74
74
* ready to run.
@@ -88,7 +88,7 @@ typedef struct corCoRoutineControlBlock
88
88
* list, otherwise an error code defined with ProjDefs.h.
89
89
*
90
90
* Example usage:
91
- * <pre>
91
+ * @code{c}
92
92
* // Co-routine to be created.
93
93
* void vFlashCoRoutine( CoRoutineHandle_t xHandle, UBaseType_t uxIndex )
94
94
* {
@@ -129,7 +129,7 @@ typedef struct corCoRoutineControlBlock
129
129
* xCoRoutineCreate( vFlashCoRoutine, 0, uxIndex );
130
130
* }
131
131
* }
132
- * </pre>
132
+ * @endcode
133
133
* \defgroup xCoRoutineCreate xCoRoutineCreate
134
134
* \ingroup Tasks
135
135
*/
@@ -140,9 +140,9 @@ BaseType_t xCoRoutineCreate( crCOROUTINE_CODE pxCoRoutineCode,
140
140
141
141
/**
142
142
* croutine. h
143
- * <pre>
143
+ * @code{c}
144
144
* void vCoRoutineSchedule( void );
145
- * </pre>
145
+ * @endcode
146
146
*
147
147
* Run a co-routine.
148
148
*
@@ -156,7 +156,7 @@ BaseType_t xCoRoutineCreate( crCOROUTINE_CODE pxCoRoutineCode,
156
156
* hook).
157
157
*
158
158
* Example usage:
159
- * <pre>
159
+ * @code{c}
160
160
* // This idle task hook will schedule a co-routine each time it is called.
161
161
* // The rest of the idle task will execute between co-routine calls.
162
162
* void vApplicationIdleHook( void )
@@ -174,22 +174,22 @@ BaseType_t xCoRoutineCreate( crCOROUTINE_CODE pxCoRoutineCode,
174
174
* vCoRoutineSchedule();
175
175
* }
176
176
* }
177
- * </pre>
177
+ * @endcode
178
178
* \defgroup vCoRoutineSchedule vCoRoutineSchedule
179
179
* \ingroup Tasks
180
180
*/
181
181
void vCoRoutineSchedule ( void );
182
182
183
183
/**
184
184
* croutine. h
185
- * <pre>
185
+ * @code{c}
186
186
* crSTART( CoRoutineHandle_t xHandle );
187
- * </pre>
187
+ * @endcode
188
188
*
189
189
* This macro MUST always be called at the start of a co-routine function.
190
190
*
191
191
* Example usage:
192
- * <pre>
192
+ * @code{c}
193
193
* // Co-routine to be created.
194
194
* void vACoRoutine( CoRoutineHandle_t xHandle, UBaseType_t uxIndex )
195
195
* {
@@ -207,7 +207,7 @@ void vCoRoutineSchedule( void );
207
207
* // Must end every co-routine with a call to crEND();
208
208
* crEND();
209
209
* }
210
- * </pre>
210
+ * @endcode
211
211
* \defgroup crSTART crSTART
212
212
* \ingroup Tasks
213
213
*/
@@ -217,14 +217,14 @@ void vCoRoutineSchedule( void );
217
217
218
218
/**
219
219
* croutine. h
220
- * <pre>
220
+ * @code{c}
221
221
* crEND();
222
- * </pre>
222
+ * @endcode
223
223
*
224
224
* This macro MUST always be called at the end of a co-routine function.
225
225
*
226
226
* Example usage:
227
- * <pre>
227
+ * @code{c}
228
228
* // Co-routine to be created.
229
229
* void vACoRoutine( CoRoutineHandle_t xHandle, UBaseType_t uxIndex )
230
230
* {
@@ -242,7 +242,7 @@ void vCoRoutineSchedule( void );
242
242
* // Must end every co-routine with a call to crEND();
243
243
* crEND();
244
244
* }
245
- * </pre>
245
+ * @endcode
246
246
* \defgroup crSTART crSTART
247
247
* \ingroup Tasks
248
248
*/
@@ -261,9 +261,9 @@ void vCoRoutineSchedule( void );
261
261
262
262
/**
263
263
* croutine. h
264
- * <pre>
264
+ * @code{c}
265
265
* crDELAY( CoRoutineHandle_t xHandle, TickType_t xTicksToDelay );
266
- * </pre>
266
+ * @endcode
267
267
*
268
268
* Delay a co-routine for a fixed period of time.
269
269
*
@@ -280,7 +280,7 @@ void vCoRoutineSchedule( void );
280
280
* can be used to convert ticks to milliseconds.
281
281
*
282
282
* Example usage:
283
- * <pre>
283
+ * @code{c}
284
284
* // Co-routine to be created.
285
285
* void vACoRoutine( CoRoutineHandle_t xHandle, UBaseType_t uxIndex )
286
286
* {
@@ -303,7 +303,7 @@ void vCoRoutineSchedule( void );
303
303
* // Must end every co-routine with a call to crEND();
304
304
* crEND();
305
305
* }
306
- * </pre>
306
+ * @endcode
307
307
* \defgroup crDELAY crDELAY
308
308
* \ingroup Tasks
309
309
*/
@@ -315,15 +315,15 @@ void vCoRoutineSchedule( void );
315
315
crSET_STATE0( ( xHandle ) );
316
316
317
317
/**
318
- * <pre>
318
+ * @code{c}
319
319
* crQUEUE_SEND(
320
320
* CoRoutineHandle_t xHandle,
321
321
* QueueHandle_t pxQueue,
322
322
* void *pvItemToQueue,
323
323
* TickType_t xTicksToWait,
324
324
* BaseType_t *pxResult
325
325
* )
326
- * </pre>
326
+ * @endcode
327
327
*
328
328
* The macro's crQUEUE_SEND() and crQUEUE_RECEIVE() are the co-routine
329
329
* equivalent to the xQueueSend() and xQueueReceive() functions used by tasks.
@@ -363,7 +363,7 @@ void vCoRoutineSchedule( void );
363
363
* error defined within ProjDefs.h.
364
364
*
365
365
* Example usage:
366
- * <pre>
366
+ * @code{c}
367
367
* // Co-routine function that blocks for a fixed period then posts a number onto
368
368
* // a queue.
369
369
* static void prvCoRoutineFlashTask( CoRoutineHandle_t xHandle, UBaseType_t uxIndex )
@@ -395,7 +395,7 @@ void vCoRoutineSchedule( void );
395
395
* // Co-routines must end with a call to crEND().
396
396
* crEND();
397
397
* }
398
- * </pre>
398
+ * @endcode
399
399
* \defgroup crQUEUE_SEND crQUEUE_SEND
400
400
* \ingroup Tasks
401
401
*/
@@ -416,15 +416,15 @@ void vCoRoutineSchedule( void );
416
416
417
417
/**
418
418
* croutine. h
419
- * <pre>
419
+ * @code{c}
420
420
* crQUEUE_RECEIVE(
421
421
* CoRoutineHandle_t xHandle,
422
422
* QueueHandle_t pxQueue,
423
423
* void *pvBuffer,
424
424
* TickType_t xTicksToWait,
425
425
* BaseType_t *pxResult
426
426
* )
427
- * </pre>
427
+ * @endcode
428
428
*
429
429
* The macro's crQUEUE_SEND() and crQUEUE_RECEIVE() are the co-routine
430
430
* equivalent to the xQueueSend() and xQueueReceive() functions used by tasks.
@@ -463,7 +463,7 @@ void vCoRoutineSchedule( void );
463
463
* an error code as defined within ProjDefs.h.
464
464
*
465
465
* Example usage:
466
- * <pre>
466
+ * @code{c}
467
467
* // A co-routine receives the number of an LED to flash from a queue. It
468
468
* // blocks on the queue until the number is received.
469
469
* static void prvCoRoutineFlashWorkTask( CoRoutineHandle_t xHandle, UBaseType_t uxIndex )
@@ -489,7 +489,7 @@ void vCoRoutineSchedule( void );
489
489
*
490
490
* crEND();
491
491
* }
492
- * </pre>
492
+ * @endcode
493
493
* \defgroup crQUEUE_RECEIVE crQUEUE_RECEIVE
494
494
* \ingroup Tasks
495
495
*/
@@ -510,13 +510,13 @@ void vCoRoutineSchedule( void );
510
510
511
511
/**
512
512
* croutine. h
513
- * <pre>
513
+ * @code{c}
514
514
* crQUEUE_SEND_FROM_ISR(
515
515
* QueueHandle_t pxQueue,
516
516
* void *pvItemToQueue,
517
517
* BaseType_t xCoRoutinePreviouslyWoken
518
518
* )
519
- * </pre>
519
+ * @endcode
520
520
*
521
521
* The macro's crQUEUE_SEND_FROM_ISR() and crQUEUE_RECEIVE_FROM_ISR() are the
522
522
* co-routine equivalent to the xQueueSendFromISR() and xQueueReceiveFromISR()
@@ -551,7 +551,7 @@ void vCoRoutineSchedule( void );
551
551
* the ISR.
552
552
*
553
553
* Example usage:
554
- * <pre>
554
+ * @code{c}
555
555
* // A co-routine that blocks on a queue waiting for characters to be received.
556
556
* static void vReceivingCoRoutine( CoRoutineHandle_t xHandle, UBaseType_t uxIndex )
557
557
* {
@@ -600,7 +600,7 @@ void vCoRoutineSchedule( void );
600
600
* xCRWokenByPost = crQUEUE_SEND_FROM_ISR( xCommsRxQueue, &cRxedChar, xCRWokenByPost );
601
601
* }
602
602
* }
603
- * </pre>
603
+ * @endcode
604
604
* \defgroup crQUEUE_SEND_FROM_ISR crQUEUE_SEND_FROM_ISR
605
605
* \ingroup Tasks
606
606
*/
@@ -610,13 +610,13 @@ void vCoRoutineSchedule( void );
610
610
611
611
/**
612
612
* croutine. h
613
- * <pre>
613
+ * @code{c}
614
614
* crQUEUE_SEND_FROM_ISR(
615
615
* QueueHandle_t pxQueue,
616
616
* void *pvBuffer,
617
617
* BaseType_t * pxCoRoutineWoken
618
618
* )
619
- * </pre>
619
+ * @endcode
620
620
*
621
621
* The macro's crQUEUE_SEND_FROM_ISR() and crQUEUE_RECEIVE_FROM_ISR() are the
622
622
* co-routine equivalent to the xQueueSendFromISR() and xQueueReceiveFromISR()
@@ -651,7 +651,7 @@ void vCoRoutineSchedule( void );
651
651
* pdFALSE.
652
652
*
653
653
* Example usage:
654
- * <pre>
654
+ * @code{c}
655
655
* // A co-routine that posts a character to a queue then blocks for a fixed
656
656
* // period. The character is incremented each time.
657
657
* static void vSendingCoRoutine( CoRoutineHandle_t xHandle, UBaseType_t uxIndex )
@@ -716,7 +716,7 @@ void vCoRoutineSchedule( void );
716
716
* }
717
717
* }
718
718
* }
719
- * </pre>
719
+ * @endcode
720
720
* \defgroup crQUEUE_RECEIVE_FROM_ISR crQUEUE_RECEIVE_FROM_ISR
721
721
* \ingroup Tasks
722
722
*/
0 commit comments