pub fn calculate_now<P, T, F1, F2, O>(half_periods: F1, timer_value: F2) -> OExpand description
Calculates the current time from the half period counter and the timer value.
ยงArguments
half_periods- A closure/function that when called produces the period counter value. If read from an atomic, can useOrdering::Relaxed.timer_value- A closure/function that when called produces the current timer value.