Module time

Module time 

Source
Available on crate feature osal-embassy only.
Expand description

Time related system utilities.

Structs§

Duration
Duration represents a span of time.
Instant
An Instant in time. Instants should be always increasing and are generally obtainable through the operating system time driver.
Time
Implements the TimeAbstraction trait for embassy.

Enums§

SystemTimeError
An error that may happen while working with System Time.

Traits§

Interval
A stream of periodic ticks, created by TimeAbstraction::interval.
SystemTime
Provides a measurement of the system time.
SystemTimeSync
Allows manual synchronization of SystemTime.
TimeAbstraction
TimeAbstraction is used to perform time-related operations in a platform-agnostic manner.