@@ -288,8 +288,8 @@ typedef enum
288
288
* @code{c}
289
289
* BaseType_t xTaskCreate(
290
290
* TaskFunction_t pxTaskCode,
291
- * const char *pcName,
292
- * configSTACK_DEPTH_TYPE usStackDepth ,
291
+ * const char * const pcName,
292
+ * const configSTACK_DEPTH_TYPE uxStackDepth ,
293
293
* void *pvParameters,
294
294
* UBaseType_t uxPriority,
295
295
* TaskHandle_t *pxCreatedTask
@@ -323,9 +323,9 @@ typedef enum
323
323
* facilitate debugging. Max length defined by configMAX_TASK_NAME_LEN - default
324
324
* is 16.
325
325
*
326
- * @param usStackDepth The size of the task stack specified as the number of
326
+ * @param uxStackDepth The size of the task stack specified as the number of
327
327
* variables the stack can hold - not the number of bytes. For example, if
328
- * the stack is 16 bits wide and usStackDepth is defined as 100, 200 bytes
328
+ * the stack is 16 bits wide and uxStackDepth is defined as 100, 200 bytes
329
329
* will be allocated for stack storage.
330
330
*
331
331
* @param pvParameters Pointer that will be used as the parameter for the task
@@ -380,7 +380,7 @@ typedef enum
380
380
#if ( configSUPPORT_DYNAMIC_ALLOCATION == 1 )
381
381
BaseType_t xTaskCreate ( TaskFunction_t pxTaskCode ,
382
382
const char * const pcName ,
383
- const configSTACK_DEPTH_TYPE usStackDepth ,
383
+ const configSTACK_DEPTH_TYPE uxStackDepth ,
384
384
void * const pvParameters ,
385
385
UBaseType_t uxPriority ,
386
386
TaskHandle_t * const pxCreatedTask ) PRIVILEGED_FUNCTION ;
@@ -389,7 +389,7 @@ typedef enum
389
389
#if ( ( configSUPPORT_DYNAMIC_ALLOCATION == 1 ) && ( configNUMBER_OF_CORES > 1 ) && ( configUSE_CORE_AFFINITY == 1 ) )
390
390
BaseType_t xTaskCreateAffinitySet ( TaskFunction_t pxTaskCode ,
391
391
const char * const pcName ,
392
- const configSTACK_DEPTH_TYPE usStackDepth ,
392
+ const configSTACK_DEPTH_TYPE uxStackDepth ,
393
393
void * const pvParameters ,
394
394
UBaseType_t uxPriority ,
395
395
UBaseType_t uxCoreAffinityMask ,
@@ -400,8 +400,8 @@ typedef enum
400
400
* task. h
401
401
* @code{c}
402
402
* TaskHandle_t xTaskCreateStatic( TaskFunction_t pxTaskCode,
403
- * const char *pcName,
404
- * uint32_t ulStackDepth ,
403
+ * const char * const pcName,
404
+ * const configSTACK_DEPTH_TYPE uxStackDepth ,
405
405
* void *pvParameters,
406
406
* UBaseType_t uxPriority,
407
407
* StackType_t *puxStackBuffer,
@@ -427,9 +427,9 @@ typedef enum
427
427
* facilitate debugging. The maximum length of the string is defined by
428
428
* configMAX_TASK_NAME_LEN in FreeRTOSConfig.h.
429
429
*
430
- * @param ulStackDepth The size of the task stack specified as the number of
430
+ * @param uxStackDepth The size of the task stack specified as the number of
431
431
* variables the stack can hold - not the number of bytes. For example, if
432
- * the stack is 32-bits wide and ulStackDepth is defined as 100 then 400 bytes
432
+ * the stack is 32-bits wide and uxStackDepth is defined as 100 then 400 bytes
433
433
* will be allocated for stack storage.
434
434
*
435
435
* @param pvParameters Pointer that will be used as the parameter for the task
@@ -438,7 +438,7 @@ typedef enum
438
438
* @param uxPriority The priority at which the task will run.
439
439
*
440
440
* @param puxStackBuffer Must point to a StackType_t array that has at least
441
- * ulStackDepth indexes - the array will then be used as the task's stack,
441
+ * uxStackDepth indexes - the array will then be used as the task's stack,
442
442
* removing the need for the stack to be allocated dynamically.
443
443
*
444
444
* @param pxTaskBuffer Must point to a variable of type StaticTask_t, which will
@@ -507,7 +507,7 @@ typedef enum
507
507
#if ( configSUPPORT_STATIC_ALLOCATION == 1 )
508
508
TaskHandle_t xTaskCreateStatic ( TaskFunction_t pxTaskCode ,
509
509
const char * const pcName ,
510
- const uint32_t ulStackDepth ,
510
+ const configSTACK_DEPTH_TYPE uxStackDepth ,
511
511
void * const pvParameters ,
512
512
UBaseType_t uxPriority ,
513
513
StackType_t * const puxStackBuffer ,
@@ -517,7 +517,7 @@ typedef enum
517
517
#if ( ( configSUPPORT_STATIC_ALLOCATION == 1 ) && ( configNUMBER_OF_CORES > 1 ) && ( configUSE_CORE_AFFINITY == 1 ) )
518
518
TaskHandle_t xTaskCreateStaticAffinitySet ( TaskFunction_t pxTaskCode ,
519
519
const char * const pcName ,
520
- const uint32_t ulStackDepth ,
520
+ const configSTACK_DEPTH_TYPE uxStackDepth ,
521
521
void * const pvParameters ,
522
522
UBaseType_t uxPriority ,
523
523
StackType_t * const puxStackBuffer ,
@@ -561,7 +561,7 @@ typedef enum
561
561
* {
562
562
* vATask, // pvTaskCode - the function that implements the task.
563
563
* "ATask", // pcName - just a text name for the task to assist debugging.
564
- * 100, // usStackDepth - the stack size DEFINED IN WORDS.
564
+ * 100, // uxStackDepth - the stack size DEFINED IN WORDS.
565
565
* NULL, // pvParameters - passed into the task function as the function parameters.
566
566
* ( 1UL | portPRIVILEGE_BIT ),// uxPriority - task priority, set the portPRIVILEGE_BIT if the task should run in a privileged state.
567
567
* cStackBuffer,// puxStackBuffer - the buffer to be used as the task stack.
@@ -655,7 +655,7 @@ typedef enum
655
655
* {
656
656
* vATask, // pvTaskCode - the function that implements the task.
657
657
* "ATask", // pcName - just a text name for the task to assist debugging.
658
- * 100, // usStackDepth - the stack size DEFINED IN WORDS.
658
+ * 100, // uxStackDepth - the stack size DEFINED IN WORDS.
659
659
* NULL, // pvParameters - passed into the task function as the function parameters.
660
660
* ( 1UL | portPRIVILEGE_BIT ),// uxPriority - task priority, set the portPRIVILEGE_BIT if the task should run in a privileged state.
661
661
* cStackBuffer,// puxStackBuffer - the buffer to be used as the task stack.
@@ -1987,24 +1987,24 @@ char * pcTaskGetName( TaskHandle_t xTaskToQuery ) PRIVILEGED_FUNCTION;
1987
1987
/**
1988
1988
* task.h
1989
1989
* @code{c}
1990
- * void vApplicationGetIdleTaskMemory( StaticTask_t ** ppxIdleTaskTCBBuffer, StackType_t ** ppxIdleTaskStackBuffer, uint32_t *pulIdleTaskStackSize )
1990
+ * void vApplicationGetIdleTaskMemory( StaticTask_t ** ppxIdleTaskTCBBuffer, StackType_t ** ppxIdleTaskStackBuffer, configSTACK_DEPTH_TYPE * puxIdleTaskStackSize )
1991
1991
* @endcode
1992
1992
*
1993
1993
* This function is used to provide a statically allocated block of memory to FreeRTOS to hold the Idle Task TCB. This function is required when
1994
1994
* configSUPPORT_STATIC_ALLOCATION is set. For more information see this URI: https://www.FreeRTOS.org/a00110.html#configSUPPORT_STATIC_ALLOCATION
1995
1995
*
1996
1996
* @param ppxIdleTaskTCBBuffer A handle to a statically allocated TCB buffer
1997
1997
* @param ppxIdleTaskStackBuffer A handle to a statically allocated Stack buffer for the idle task
1998
- * @param pulIdleTaskStackSize A pointer to the number of elements that will fit in the allocated stack buffer
1998
+ * @param puxIdleTaskStackSize A pointer to the number of elements that will fit in the allocated stack buffer
1999
1999
*/
2000
2000
void vApplicationGetIdleTaskMemory ( StaticTask_t * * ppxIdleTaskTCBBuffer ,
2001
2001
StackType_t * * ppxIdleTaskStackBuffer ,
2002
- uint32_t * pulIdleTaskStackSize );
2002
+ configSTACK_DEPTH_TYPE * puxIdleTaskStackSize );
2003
2003
2004
2004
/**
2005
2005
* task.h
2006
2006
* @code{c}
2007
- * void vApplicationGetPassiveIdleTaskMemory( StaticTask_t ** ppxIdleTaskTCBBuffer, StackType_t ** ppxIdleTaskStackBuffer, uint32_t *pulIdleTaskStackSize , BaseType_t xCoreID )
2007
+ * void vApplicationGetPassiveIdleTaskMemory( StaticTask_t ** ppxIdleTaskTCBBuffer, StackType_t ** ppxIdleTaskStackBuffer, configSTACK_DEPTH_TYPE * puxIdleTaskStackSize , BaseType_t xCoreID )
2008
2008
* @endcode
2009
2009
*
2010
2010
* This function is used to provide a statically allocated block of memory to FreeRTOS to hold the Idle Tasks TCB. This function is required when
@@ -2022,13 +2022,13 @@ char * pcTaskGetName( TaskHandle_t xTaskToQuery ) PRIVILEGED_FUNCTION;
2022
2022
*
2023
2023
* @param ppxIdleTaskTCBBuffer A handle to a statically allocated TCB buffer
2024
2024
* @param ppxIdleTaskStackBuffer A handle to a statically allocated Stack buffer for the idle task
2025
- * @param pulIdleTaskStackSize A pointer to the number of elements that will fit in the allocated stack buffer
2025
+ * @param puxIdleTaskStackSize A pointer to the number of elements that will fit in the allocated stack buffer
2026
2026
* @param xPassiveIdleTaskIndex The passive idle task index of the idle task buffer
2027
2027
*/
2028
2028
#if ( configNUMBER_OF_CORES > 1 )
2029
2029
void vApplicationGetPassiveIdleTaskMemory ( StaticTask_t * * ppxIdleTaskTCBBuffer ,
2030
2030
StackType_t * * ppxIdleTaskStackBuffer ,
2031
- uint32_t * pulIdleTaskStackSize ,
2031
+ configSTACK_DEPTH_TYPE * puxIdleTaskStackSize ,
2032
2032
BaseType_t xPassiveIdleTaskIndex );
2033
2033
#endif /* #if ( configNUMBER_OF_CORES > 1 ) */
2034
2034
#endif /* if ( configSUPPORT_STATIC_ALLOCATION == 1 ) */
0 commit comments