Crate rtic_monotonic[][src]

Core abstractions of the Real-Time Interrupt-driven Concurrency (RTIC) Monotonic timers, used internally for scheduling and users can use them for time.

You can write generic libraries and HALs using the Monotinc trait in this crate. If you want to write application code then you’ll need an implementation of the RTIC framework for a particular architecture. Currently, there are implementations for these architectures and OSes:

Re-exports

pub use embedded_time;

Structs

Fraction

A fractional value

Generic

The Generic Duration type allows an arbitrary scaling factor to be used without having to impl FixedPoint.

Hours

A duration unit type

Instant

Represents an instant of time relative to a specific Clock

Microseconds

A duration unit type

Milliseconds

A duration unit type

Minutes

A duration unit type

Nanoseconds

A duration unit type

Seconds

A duration unit type

Traits

Clock

The Clock trait provides an abstraction for hardware-specific timer peripherals, external timer devices, RTCs, etc.

Duration

An unsigned, fixed-point duration type

Extensions

Create duration-based extensions from primitive numeric types.

Monotonic

A monotonic clock / counter definition.

_

Fixed-point value type

_

Create duration-based extensions from primitive numeric types.