idfxx 1.0.0
Modern C++23 components for ESP-IDF
Loading...
Searching...
No Matches
idfxx::task::config Struct Reference

Task configuration parameters. More...

Public Attributes

std::string_view name = "task"
 Task name (max 16 chars)
 
size_t stack_size = 4096
 Stack size in bytes.
 
task_priority priority = 5
 Task priority (0 = lowest)
 
std::optional< core_idcore_affinity = std::nullopt
 Core pin (nullopt = any core)
 
flags< memory_capsstack_mem = memory_caps::dram
 Stack memory capabilities.
 

Detailed Description

Task configuration parameters.

Definition at line 249 of file task.hpp.

Member Data Documentation

◆ core_affinity

std::optional<core_id> idfxx::task::config::core_affinity = std::nullopt

Core pin (nullopt = any core)

Definition at line 253 of file task.hpp.

◆ name

std::string_view idfxx::task::config::name = "task"

Task name (max 16 chars)

Definition at line 250 of file task.hpp.

◆ priority

task_priority idfxx::task::config::priority = 5

Task priority (0 = lowest)

Definition at line 252 of file task.hpp.

◆ stack_mem

flags<memory_caps> idfxx::task::config::stack_mem = memory_caps::dram

Stack memory capabilities.

Definition at line 254 of file task.hpp.

◆ stack_size

size_t idfxx::task::config::stack_size = 4096

Stack size in bytes.

Definition at line 251 of file task.hpp.


The documentation for this struct was generated from the following file: