Loading...
Searching...
No Matches
async_context Struct Reference

Base structure type of all async_contexts. For details about its use, see pico_async_context. More...

#include <async_context.h>

Data Fields

const async_context_type_t * type
 Pointer to the type implementation for this context.
async_when_pending_worker_t * when_pending_list
 Linked list of registered when-pending workers.
async_at_time_worker_t * at_time_list
 Linked list of registered at-time workers, ordered by next_time.
absolute_time_t next_time
 Time at which the next at-time worker should be called.
uint16_t flags
 Context flags (see ASYNC_CONTEXT_FLAG_* defines).
uint8_t core_num
 Index of the processor core this context belongs to.

Detailed Description

Base structure type of all async_contexts. For details about its use, see pico_async_context.

Individual async_context_types with additional state, should contain this structure at the start.


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