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 | begin (std::function< void()> process) |
| |
|
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 | end () |
| | suspends the task
|
| |
|
int | getCoreID () |
| |
|
void * | getReference () |
| |
|
TaskHandle_t & | getTaskHandle () |
| |
|
void | remove () |
| | deletes the FreeRTOS task
|
| |
|
void | resume () |
| |
|
void | setReference (void *r) |
| |
|
void | suspend () |
| |
|
|
static void | nop () |
| |
|
static void | task_loop (void *arg) |
| |
|
|
std::function< void()> | loop_code = nop |
| |
|
void * | ref |
| |
|
TaskHandle_t | xHandle = nullptr |
| |
FreeRTOS task.
- Author
- Phil Schatzmann
- Copyright
- GPLv3 *
The documentation for this class was generated from the following file:
- src/AudioTools/Concurrency/RTOS/Task.h