|
Plant Monitor SAM3X8E
|
Task functions to be run by FreeRTOS. More...
#include "FreeRTOS.h"#include "task.h"Go to the source code of this file.
Macros | |
| #define | TASK_STACK_SIZE 256 |
Functions | |
| void | humidity_task (void *params) |
| Humidity task for FreeRTOS. | |
| void | pressure_task (void *params) |
| Pressure task for FreeRTOS. | |
| void | temperature_task (void *params) |
| Temperature task for FreeRTOS. | |
| void | tasks_init (void) |
| Creates FreeRTOS tasks and starts the scheduler. | |
Task functions to be run by FreeRTOS.
Contains task functions and task initialization functions to be used alongside FreeRTOS.
Definition in file tasks.h.
| #define TASK_STACK_SIZE 256 |
| void humidity_task | ( | void * | params | ) |
Humidity task for FreeRTOS.
Retrieves and displays humidity in an infinite loop. Scheduled by FreeRTOS
| params | Unused task parameter required by function signature of a FreeRTOS task function. |
Definition at line 14 of file tasks.c.
| void pressure_task | ( | void * | params | ) |
Pressure task for FreeRTOS.
Retrieves and displays pressure in an infinite loop. Scheduled by FreeRTOS
| params | Unused task parameter required by function signature of a FreeRTOS task function. |
Definition at line 25 of file tasks.c.
| void tasks_init | ( | void | ) |
Creates FreeRTOS tasks and starts the scheduler.
Creates sensor tasks using statically allocated task control blocks and stack memory.
Definition at line 47 of file tasks.c.
| void temperature_task | ( | void * | params | ) |
Temperature task for FreeRTOS.
Retrieves and displays temperature in an infinite loop. Scheduled by FreeRTOS
| params | Unused task parameter required by function signature of a FreeRTOS task function. |
Definition at line 36 of file tasks.c.