Task macros. More...
#include <esp_task.h>#include <array>Go to the source code of this file.
Macros | |
| #define | CONCAT_DETAIL(A, B) |
| #define | CONCAT(A, B) |
| #define | COMMON_TASK_MEMBERS(NAME, PRIORITY, CORE_ID, TIMEOUT) |
| Members common for TASK and SHARED_TASK. | |
| #define | TASK(OBJECT, NAME, STACK_SIZE, PRIORITY, CORE_ID, TIMEOUT) |
| Create task. | |
| #define | SHARED_TASK(OBJECT, NAME, PRIORITY, CORE_ID, TIMEOUT) |
| Create shared task. | |
| #define COMMON_TASK_MEMBERS | ( | NAME, | |
| PRIORITY, | |||
| CORE_ID, | |||
| TIMEOUT ) |
| NAME | Descriptive name |
| PRIORITY | Priority |
| CORE_ID | Core the task is pinned to |
| TIMEOUT | Timeout in ms |
| #define CONCAT | ( | A, | |
| B ) |
| #define CONCAT_DETAIL | ( | A, | |
| B ) |
| #define SHARED_TASK | ( | OBJECT, | |
| NAME, | |||
| PRIORITY, | |||
| CORE_ID, | |||
| TIMEOUT ) |
| #define TASK | ( | OBJECT, | |
| NAME, | |||
| STACK_SIZE, | |||
| PRIORITY, | |||
| CORE_ID, | |||
| TIMEOUT ) |
| OBJECT | Instance name |
| NAME | Descriptive name |
| STACK_SIZE | Stack size in bytes |
| PRIORITY | Priority |
| CORE_ID | Core the task is pinned to |
| TIMEOUT | Timeout in ms |