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.
 
unsigned int priority = 5
 Task priority (0 = lowest)
 
std::optional< core_idcore_affinity = std::nullopt
 Core pin (nullopt = any core)
 
memory_type stack_mem = memory_type::internal
 Stack memory type.
 

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

unsigned int idfxx::task::config::priority = 5

Task priority (0 = lowest)

Definition at line 252 of file task.hpp.

◆ stack_mem

memory_type idfxx::task::config::stack_mem = memory_type::internal

Stack memory type.

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: