76 SemaphoreHandle_t lock_mutex;
77 SemaphoreHandle_t work_needed_sem;
78 SemaphoreHandle_t task_complete_sem;
79 TimerHandle_t timer_handle;
80 TaskHandle_t task_handle;
81#if configSUPPORT_STATIC_ALLOCATION
82 StaticSemaphore_t lock_mutex_buf;
83 StaticSemaphore_t work_needed_sem_buf;
84 StaticSemaphore_t task_complete_sem_buf;
85 StaticTimer_t timer_buf;
86 StaticTask_t task_buf;
89 volatile bool task_should_exit;
113 async_context_freertos_config_t config = {
114 .task_priority = ASYNC_CONTEXT_DEFAULT_FREERTOS_TASK_PRIORITY,
115 .task_stack_size = ASYNC_CONTEXT_DEFAULT_FREERTOS_TASK_STACK_SIZE,
116#if configUSE_CORE_AFFINITY && configNUMBER_OF_CORES > 1
117 .task_core_id = (UBaseType_t)-1,
bool async_context_freertos_init(async_context_freertos_t *self, async_context_freertos_config_t *config)
Initialize an async_context_freertos instance using the specified configuration.
Definition async_context_freertos.c:108
static bool async_context_freertos_init_with_defaults(async_context_freertos_t *self)
Initialize an async_context_freertos instance with default values.
Definition async_context_freertos.h:134
static async_context_freertos_config_t async_context_freertos_default_config(void)
Return a copy of the default configuration object used by async_context_freertos_init_with_defaults()...
Definition async_context_freertos.h:112
Configuration object for async_context_freertos instances.
Definition async_context_freertos.h:50
UBaseType_t task_priority
Task priority for the async_context task.
Definition async_context_freertos.h:54
configSTACK_DEPTH_TYPE task_stack_size
Stack size for the async_context task.
Definition async_context_freertos.h:58
Definition async_context_freertos.h:74