pub trait BusTimerClock {
// Required method
fn timer_clock(clocks: &Clocks) -> Hertz;
}
Expand description
Frequency on bus that timer is connected in
Required Methods§
Sourcefn timer_clock(clocks: &Clocks) -> Hertz
fn timer_clock(clocks: &Clocks) -> Hertz
Calculates base frequency of timer depending on Clock
state
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.