FreeRTOS task.
More...
#include <Task.h>
|
|
| Task (const char *name, int stackSize, int priority=1, int core=-1) |
| | Defines and creates a FreeRTOS task.
|
| |
|
bool | create (const char *name, int stackSize, int priority=1, int core=-1) |
| | If you used the empty constructor, you need to call create!
|
| |
|
void | remove () |
| | deletes the FreeRTOS task
|
| |
|
bool | begin (std::function< void(void *ref)> process) |
| |
|
void | end () |
| | suspends the task
|
| |
|
void | suspend () |
| |
|
void | resume () |
| |
|
TaskHandle_t & | getTaskHandle () |
| |
|
void | setReference (void *r) |
| |
|
void * | getReference () |
| |
|
|
static void | nop (void *) |
| |
|
static void | task_loop (void *arg) |
| |
|
|
TaskHandle_t | xHandle = nullptr |
| |
|
std::function< void(void *ref)> | loop_code = nop |
| |
|
void * | ref = this |
| |
FreeRTOS task.
- Author
- Phil Schatzmann
The documentation for this class was generated from the following file:
- src/TinyRobotics/concurrency/RTOS/Task.h