Crate rtic_time

Source
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§

TimeoutError
This indicates that there was a timeout.

Traits§

Monotonic
A monotonic clock / counter definition.