ClockSource

Trait ClockSource 

Source
pub trait ClockSource: Sealed {
    // Required method
    fn get_freq(&self) -> Rate<u32, 1, 1>;
}
Expand description

Trait for things that can be used as clock source

Required Methods§

Source

fn get_freq(&self) -> Rate<u32, 1, 1>

Get the operating frequency for this source

Used to determine the divisor

Implementors§