Embassy
embassy-stm32

Crates

git

Versions

stm32c011d6

Flavors

Module embassy_stm32::executor

·
Expand description

Executor specific to cortex-m devices.

Modules

Raw executor.

Structs

Thread mode executor, using WFE/SEV.
Interrupt mode executor.
Handle to spawn tasks into an executor from any thread.
Token to spawn a newly-created task in an executor.
Handle to spawn tasks into an executor.

Enums

Error returned when spawning a task.

Attribute Macros

Creates a new executor instance and declares an application entry point for Cortex-M spawning the corresponding function body as an async task.
Declares an async task that can be run by embassy-executor. The optional pool_size parameter can be used to specify how many concurrent tasks can be spawned (default is 1) for the function.