embassy-time-queue-driver

Crates

git

Versions

default

Flavors

Crate embassy_time_queue_driver

Source
Expand description

§embassy-time-queue-driver

This crate contains the driver trait used by the embassy-time timer queue.

You should rarely need to use this crate directly. Only use it when implementing your own timer queue.

There is two timer queue implementations, one in embassy-time enabled by the generic-queue feature, and another in embassy-executor enabled by the integrated-timers feature. This crate is an implementation detail of embassy-time-driver.

As a HAL user, you should only depend on this crate if your application does not use embassy-executor and your HAL does not configure a generic queue by itself.

As a HAL implementer, you need to depend on this crate if you want to implement a time driver, but how you should do so is documented in embassy-time-driver.

Re-exports§

  • pub use queue_integrated::Queue;

Modules§