Skip to main content

Crate pw_time_core

Crate pw_time_core 

Source
Expand description

pw_time_core provides clock aware time and duration types.

pw_time_core contains the basic types for pw_time without providing a default system clock. This allows it to be used by:

  • Clock implementations.
  • systems which do not support a system clock.

For more information see pw_time.

Structs§

Duration
A span of time represented by an unsigned tick count.
Instant
A measurement of a monotonically non-decreasing clock.

Traits§

Clock
A trait for retrieving the current system or hardware time.