Skip to main content

interval_ms_to_ns

Function interval_ms_to_ns 

Source
pub const fn interval_ms_to_ns(interval_ms: u64) -> u64
Expand description

Milliseconds to nanoseconds, saturating.

Public because the nros_*_throttle! macros expand it in user crates, and because the C shim converts the same way — one conversion, not two.