Lines Matching +full:- +full:c

3  * Copyright (C) 2021 Amazon.com, Inc. or its affiliates.  All Rights Reserved.
5 * SPDX-License-Identifier: MIT
39 /* *INDENT-OFF* */
41 extern "C" {
43 /* *INDENT-ON* */
45 /*-----------------------------------------------------------
47 *----------------------------------------------------------*/
168 …defined by the run time stats clock. See https://www.FreeRTOS.org/rtos-run-time-stats.html. Only…
183 … or a context switch pended since portSUPPRESS_TICKS_AND_SLEEP() was called - abort entering a sle…
202 #define tskNO_AFFINITY ( ( UBaseType_t ) -1 )
282 /*-----------------------------------------------------------
284 *----------------------------------------------------------*/
288 * @code{c}
323 * facilitate debugging. Max length defined by configMAX_TASK_NAME_LEN - default
327 * variables the stack can hold - not the number of bytes. For example, if
347 * @code{c}
401 * @code{c}
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
441 * ulStackDepth indexes - the array will then be used as the task's stack,
454 * @code{c}
458 * // bytes. For example, if each stack item is 32-bits, and this is set to 100,
459 * // then 400 bytes (100 * 32-bits) will be allocated.
530 * @code{c}
558 * @code{c}
562 * vATask, // pvTaskCode - the function that implements the task.
563 * "ATask", // pcName - just a text name for the task to assist debugging.
564 * 100, // usStackDepth - the stack size DEFINED IN WORDS.
565 * NULL, // pvParameters - passed into the task function as the function parameters.
566 …* ( 1UL | portPRIVILEGE_BIT ),// uxPriority - task priority, set the portPRIVILEGE_BIT if the tas…
567 * cStackBuffer,// puxStackBuffer - the buffer to be used as the task stack.
569 * // xRegions - Allocate up to three separate memory regions for access by
571 * // different memory alignment requirements - refer to the FreeRTOS documentation
614 * @code{c}
639 * StaticTask_t - which is then used to hold the task's data structure.
648 * @code{c}
656 * vATask, // pvTaskCode - the function that implements the task.
657 * "ATask", // pcName - just a text name for the task to assist debugging.
658 * 100, // usStackDepth - the stack size DEFINED IN WORDS.
659 * NULL, // pvParameters - passed into the task function as the function parameters.
660 …* ( 1UL | portPRIVILEGE_BIT ),// uxPriority - task priority, set the portPRIVILEGE_BIT if the tas…
661 * cStackBuffer,// puxStackBuffer - the buffer to be used as the task stack.
663 * // xRegions - Allocate up to three separate memory regions for access by
665 * // different memory alignment requirements - refer to the FreeRTOS documentation
710 * @code{c}
724 * @code{c}
762 * @code{c}
779 * See the demo application file death.c for sample code that utilises
786 * @code{c}
803 /*-----------------------------------------------------------
805 *----------------------------------------------------------*/
809 * @code{c}
816 * rate - with the resolution of one tick period.
859 * @code{c}
899 * @code{c}
937 * @code{c}
971 * @code{c}
986 * @code{c}
1020 * @code{c}
1030 * @code{c}
1051 * @code{c}
1061 * @code{c}
1083 * @code{c}
1102 * temporarily unresponsive - so the xGetFreeStackSpace parameter is provided to
1109 * a simple assignment - so the eState parameter is provided to allow the state
1111 * information then set eState to eInvalid - otherwise the value passed in
1115 * @code{c}
1146 * @code{c}
1164 * @code{c}
1191 * @code{c}
1201 * Calls to vTaskSuspend are not accumulative -
1209 * @code{c}
1244 * @code{c}
1260 * @code{c}
1295 * @code{c}
1310 * task being suspended - as this can lead to interrupts being missed. Use of a
1336 * which the task can run. Cores are numbered from 0 to configNUMBER_OF_CORES - 1.
1376 * configNUMBER_OF_CORES - 1. For example, if a task can run on core 0 and core 1,
1381 * // Task handle of the networking task - it is populated elsewhere.
1396 * // have 2 cores - Core 0 and core 1. We want to pin the application task to
1482 /*-----------------------------------------------------------
1484 *----------------------------------------------------------*/
1488 * @code{c}
1495 * See the demo application file main.c for an example of creating
1499 * @code{c}
1519 * @code{c}
1531 * See the demo application file main. c in the demo/PC directory for an
1535 * portable layer (see vPortEndScheduler () in port. c for the PC port). This
1539 * kernel to be freed - but will not free resources allocated by application
1543 * @code{c}
1577 * @code{c}
1593 * @code{c}
1605 * // operation may cause interrupts to be missed - including the
1630 * @code{c}
1644 * @code{c}
1656 * // operation may cause interrupts to be missed - including the
1670 * // a context switch - but there is no point if resuming the scheduler
1684 /*-----------------------------------------------------------
1686 *----------------------------------------------------------*/
1690 * @code{c}
1703 * @code{c}
1710 * ISR - provided that TickType_t is the natural word size of the
1721 * @code{c}
1737 * @code{c}
1752 * @code{c}
1772 * @code{c}
1802 * @code{c}
1817 * overflowing on 8-bit types without breaking backward compatibility for
1818 * applications that expect an 8-bit return type.
1833 * @code{c}
1848 * overflowing on 8-bit types without breaking backward compatibility for
1849 * applications that expect an 8-bit return type.
1873 * @code{c}
1886 * @code{c}
1891 * call from an interrupt service routine - call
1898 * @code{c}
1928 * @code{c}
1934 …rflow detection can be found here: https://www.FreeRTOS.org/Stacks-and-stack-overflow-checking.html
1940 /* More details at: https://github.com/FreeRTOS/FreeRTOS-Kernel/blob/main/MISRA.md#rule-86 */
1951 * @code{c}
1961 /* More details at: https://github.com/FreeRTOS/FreeRTOS-Kernel/blob/main/MISRA.md#rule-86 */
1972 * @code{c}
1979 /* More details at: https://github.com/FreeRTOS/FreeRTOS-Kernel/blob/main/MISRA.md#rule-86 */
1989 * @code{c}
2006 * @code{c}
2015 * 2. ( configNUMBER_OF_CORES - 1 ) Passive idle tasks which do nothing.
2020 * task index 0, 1 ... ( configNUMBER_OF_CORES - 2 ) to get memory for passive idle
2038 * @code{c}
2058 * In single-core FreeRTOS, this function simply returns the handle of the idle
2064 * 2. ( configNUMBER_OF_CORES - 1 ) Passive idle tasks which do nothing.
2069 * 1,2 ... ( configNUMBER_OF_CORES - 1 ) to get the Passive idle task handles.
2105 * https://www.FreeRTOS.org/rtos-run-time-stats.html) since the target booted.
2114 * @code{c}
2184 * @code{c}
2210 * on top of stack - not the number of bytes.
2212 * vTaskListTasks() has a dependency on the snprintf() C library function that might
2216 * FreeRTOS/Demo sub-directories in a file called printf-stdarg.c (note
2217 * printf-stdarg.c does not provide a full snprintf() implementation!).
2240 * @code{c}
2271 * on top of stack - not the number of bytes.
2273 * vTaskList() has a dependency on the snprintf() C library function that might
2277 * FreeRTOS/Demo sub-directories in a file called printf-stdarg.c (note
2278 * printf-stdarg.c does not provide a full snprintf() implementation!).
2296 * @code{c}
2329 * vTaskGetRunTimeStatistics() has a dependency on the snprintf() C library function
2333 * FreeRTOS/Demo sub-directories in a file called printf-stdarg.c (note
2334 * printf-stdarg.c does not provide a full snprintf() implementation!).
2357 * @code{c}
2396 * vTaskGetRunTimeStats() has a dependency on the snprintf() C library function
2400 * FreeRTOS/Demo sub-directories in a file called printf-stdarg.c (note
2401 * printf-stdarg.c does not provide a full snprintf() implementation!).
2419 * @code{c}
2457 * @code{c}
2499 * @code{c}
2504 * See https://www.FreeRTOS.org/RTOS-task-notifications.html for details.
2513 * each of which is a 32-bit unsigned integer (uint32_t). The constant
2534 * un-indexed equivalents). If the task was already in the Blocked state to
2539 * **NOTE** Each notification within the array operates independently - a task
2569 * eSetBits -
2573 * eIncrement -
2577 * eSetValueWithOverwrite -
2583 * eSetValueWithoutOverwrite -
2590 * eNoAction -
2595 * pulPreviousNotificationValue -
2617 * @code{c}
2622 * See https://www.FreeRTOS.org/RTOS-task-notifications.html for details.
2646 * @code{c}
2651 * See https://www.FreeRTOS.org/RTOS-task-notifications.html for details.
2660 * each of which is a 32-bit unsigned integer (uint32_t). The constant
2677 * to wait for a notification value to have a non-zero value. The task does
2682 * un-indexed equivalents). If the task was already in the Blocked state to
2687 * **NOTE** Each notification within the array operates independently - a task
2717 * eSetBits -
2721 * eIncrement -
2725 * eSetValueWithOverwrite -
2731 * eSetValueWithoutOverwrite -
2737 * eNoAction -
2748 * requested from an ISR is dependent on the port - see the documentation page
2770 * @code{c}
2775 * See https://www.FreeRTOS.org/RTOS-task-notifications.html for details.
2799 * @code{c}
2808 * See https://www.FreeRTOS.org/RTOS-task-notifications.html for details.
2814 * each of which is a 32-bit unsigned integer (uint32_t). The constant
2831 * un-indexed equivalents). If the task was already in the Blocked state to
2838 * to wait for a notification value to have a non-zero value. The task does
2841 * **NOTE** Each notification within the array operates independently - a task
2884 * clearing of any bits caused by ulBitsToClearOnExit being non-zero.
2913 * @code{c}
2921 * See https://www.FreeRTOS.org/RTOS-task-notifications.html for more details.
2927 * each of which is a 32-bit unsigned integer (uint32_t). The constant
2953 * **NOTE** Each notification within the array operates independently - a task
2978 * eAction parameter set to eIncrement - so pdPASS is always returned.
2990 * @code{c}
2998 * See https://www.FreeRTOS.org/RTOS-task-notifications.html for more details.
3004 * each of which is a 32-bit unsigned integer (uint32_t). The constant
3030 * **NOTE** Each notification within the array operates independently - a task
3061 * requested from an ISR is dependent on the port - see the documentation page
3077 * @code{c}
3086 * See https://www.FreeRTOS.org/RTOS-task-notifications.html for details.
3092 * each of which is a 32-bit unsigned integer (uint32_t). The constant
3132 * **NOTE** Each notification within the array operates independently - a task
3148 * be non-zero. uxIndexToWaitOn must be less than
3183 * @code{c}
3189 * See https://www.FreeRTOS.org/RTOS-task-notifications.html for details.
3195 * each of which is a 32-bit unsigned integer (uint32_t). The constant
3247 * @code{c}
3253 * See https://www.FreeRTOS.org/RTOS-task-notifications.html for details.
3259 * each of which is a 32-bit unsigned integer (uint32_t). The constant
3293 * value. Set ulBitsToClear to 0xffffffff (UINT_MAX on 32-bit architectures) to clear
3313 * @code{c}
3329 * @code{c}
3353 * @code{c}
3358 * // data then the task re-enters the Blocked state, and xTaskCheckForTimeOut()
3359 * // is used to re-calculate the Block time to ensure the total amount of time
3363 * // MAX_TIME_TO_WAIT - at which point the task reads however many bytes are
3415 * @code{c}
3442 /*-----------------------------------------------------------
3444 *----------------------------------------------------------*/
3460 * a ready list. If a non-zero value is returned then a context switch is
3607 * priority task to inherit the higher priority task's priority - but the higher
3609 * priority task will disinherit the priority again - but only down as far as
3756 /* *INDENT-OFF* */
3760 /* *INDENT-ON* */