Modbus Vault v1.0
Loading...
Searching...
No Matches
runtime_tasks.h File Reference

Provide system tasks with centralized start/stop facilities. More...

#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
Include dependency graph for runtime_tasks.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  runtime_task_config_t
 Runtime task configuration structure. More...
 

Functions

BaseType_t runtime_tasks_start_all (void)
 Start registered tasks.
 
void runtime_tasks_stop_all (void)
 Stop running registered tasks.
 

Detailed Description

Provide system tasks with centralized start/stop facilities.

Author
Abanoub Salah
  • Register a task by using runtime task configurations structure and declare it in runtime_task source file as external and add it to tasks list
  • Each registered task may include a stop function for it's own task otherwise vTaskDelete will be used if handle is available

Function Documentation

◆ runtime_tasks_start_all()

BaseType_t runtime_tasks_start_all ( void  )

Start registered tasks.

Returns
BaseType_t pdPASS on success pdFAIL otherwise
Here is the call graph for this function:
Here is the caller graph for this function: