Trait BusClock

Source
pub trait BusClock {
    // Required method
    fn clock(clocks: &Clocks) -> Hertz;
}
Expand description

Frequency on bus that peripheral is connected in

Required Methods§

Source

fn clock(clocks: &Clocks) -> Hertz

Calculates frequency 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.

Implementors§