|
Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
|
Constant task configuration. More...
#include <task.h>
Data Fields | |
| const char * | name |
| Task name. | |
| uint8_t | task_id |
| Task identifier. | |
| uint8_t | exec_type |
| Execution context TASK_EXECUTOR_* | |
| uint8_t | flags |
| Task flags of type TASK_FLAG_* | |
| union { | |
| const struct device * dev | |
| const void * const_arg | |
| void * arg | |
| } | task_arg |
| union { | |
| struct { | |
| struct k_thread * thread | |
| Thread state storage. More... | |
| task_runner_task_fn task_fn | |
| Thread function. More... | |
| k_thread_stack_t * stack | |
| Pointer to stack memory for thread. More... | |
| size_t stack_size | |
| Size of stack memory. More... | |
| } thread | |
| struct { | |
| k_work_handler_t worker_fn | |
| Handler function. More... | |
| void * state | |
| Persistent state. More... | |
| } workqueue | |
| } | executor |
Constant task configuration.
| void* task_config::arg |
| const void* task_config::const_arg |
| const struct device* task_config::dev |
| uint8_t task_config::exec_type |
Execution context TASK_EXECUTOR_*
| union { ... } task_config::executor |
| uint8_t task_config::flags |
Task flags of type TASK_FLAG_*
| const char* task_config::name |
Task name.
| k_thread_stack_t* task_config::stack |
Pointer to stack memory for thread.
| size_t task_config::stack_size |
Size of stack memory.
| void* task_config::state |
Persistent state.
| union { ... } task_config::task_arg |
| task_runner_task_fn task_config::task_fn |
Thread function.
| uint8_t task_config::task_id |
Task identifier.
| struct k_thread* task_config::thread |
Thread state storage.
| struct { ... } task_config::thread |
| k_work_handler_t task_config::worker_fn |
Handler function.
| struct { ... } task_config::workqueue |