Expand description
Time-related traits & structs.
This crate contains basic definitions and utilities that can be used to keep track of time.
Re-exports§
pub use embedded_hal;
pub use embedded_hal_async;
Modules§
- half_
period_ counter - Utility to implement a race condition free half-period based monotonic.
- monotonic
- Structs and traits surrounding the
Monotonic
trait. - timer_
queue - A generic timer queue for async executors.
Macros§
- impl_
embedded_ hal_ async_ delay_ fugit - Implements
embedded_hal_async::delay::DelayNs
for a given monotonic. - impl_
embedded_ hal_ delay_ fugit - Implements
embedded_hal::delay::DelayNs
for a given monotonic.
Structs§
- Timeout
Error - This indicates that there was a timeout.
Traits§
- Monotonic
- A monotonic clock / counter definition.