Expand description
Structs§
- Delay
- Zero-sized handle used as the trait target for
embedded_hal::delay::DelayNs(behind theembedded-halfeature). - Instant
- Typed monotonic timestamp for
try_*_untildeadlines.
Functions§
- delay_
ms - Block the current thread for at least
msmilliseconds. - delay_
us - Block the current thread for at least
usmicroseconds. - dur_
ms_ to_ std - Convert a fugit
DurationMsto the stdDurationused by the rest of the binding. - dur_
ns_ to_ std - Convert a fugit
DurationNsto the stdDurationused by the rest of the binding. - dur_
us_ from_ std - Convert a
Durationback to a fugit microsecond-resolution duration. Saturates atu64::MAXµs (~584 000 years). - dur_
us_ to_ std - Convert a fugit
DurationUsto the stdDurationused by the rest of the binding. - get_us
- Get the current monotonic time in microseconds since an arbitrary epoch.
- get_
us_ unchecked - Like
get_usbut skips the error-mapping branch — the underlyingove_time_get_usis infallible on every supported backend’s hardware timer (theResultexists only to keep the API uniform with other ove fallible operations). - now_
steady_ ns - Get the current monotonic time in nanoseconds since an arbitrary epoch.
Type Aliases§
- Duration
Ms - Millisecond-resolution duration — convenient for the common
200ms-style timeouts. - Duration
Ns - Nanosecond-resolution duration. Use when sub-µs precision
matters (matches
ove_time_get_ns). - Duration
Us - Microsecond-resolution duration. Same precision as the
substrate’s native
uint64_t timeout_ns / 1000representation. - Instant
Us - Microsecond-resolution instant; pairs with
DurationUs.