what does mean x and v in task creating or managing of free RTOS? xTaskcreate or vTaskcreate?
Create a new task and add it to the list of tasks that are ready to run. configSUPPORT_DYNAMIC_ALLOCATION must be set to 1 in FreeRTOSConfig. h, or left undefined (in which case it will default to 1), for this RTOS API function to be available.
Different states of a task In the FreeRTOS a task can be in either of four different states viz., Running, Ready, Blocked and Suspended.
BaseType_t. This is defined to be the most efficient, natural, type for the architecture. For example, on a 32-bit architecture BaseType_t will be defined to be a 32-bit type. On a 16-bit architecture BaseType_t will be defined to be a 16-bit type.
Like many operating systems, the basic unit of work in FreeRTOS is the task. FreeRTOS uses a Task Control Block (TCB) to represent each task.
The leading character(s) of the FreeRTOS functions identify the return type of the function. Functions that start with "v" return void. Functions that start with "x" typically return a result code or handle. See the Naming Conventions page of the FreeRTOS coding standard.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With