Module embassy_stm32:: ·
Executor specific to cortex-m devices.
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.
Error returned when spawning a task.
Creates a new
executorinstance 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_sizeparameter can be used to specify how many concurrent tasks can be spawned (default is 1) for the function.