Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what is v and x means in freeRTOS task creating or used in it?

Tags:

rtos

freertos

what does mean x and v in task creating or managing of free RTOS? xTaskcreate or vTaskcreate?

like image 554
shadab Avatar asked Aug 25 '15 08:08

shadab


People also ask

How do I create a FreeRTOS task?

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.

What are the three states of RTOS task?

Different states of a task In the FreeRTOS a task can be in either of four different states viz., Running, Ready, Blocked and Suspended.

What is BaseType_t?

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.

What is TCB in FreeRTOS?

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.


1 Answers

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.

like image 143
kkrambo Avatar answered Sep 24 '22 19:09

kkrambo