Crate uchrono

source ·
Expand description

A no_std compatible time point and duration library.

Duration

The Duration type is inspired by smoltcp::time::Duration and embassy_time::Duration but allows for negative duration values as well.

Time points

The TimePoint type is keyed on which Clock it originates from. This catches errors such as accidentally comparing time points from different clocks.

Features

  • std - enabled by default.

Modules

  • Traits and clock implementation of various clocks

Structs

  • Represent a duration of time in microseconds
  • Represents a point in time of the associated Clock.