Trait rp2040_hal::clocks::ClockSource

source ·
pub trait ClockSource: Sealed {
    // Required method
    fn get_freq(&self) -> HertzU32;
}
Expand description

Trait for things that can be used as clock source

Required Methods§

source

fn get_freq(&self) -> HertzU32

Get the operating frequency for this source

Used to determine the divisor

Implementors§