Trait kernel::hil::time::Frequency [] [src]

pub trait Frequency {
    fn frequency() -> u32;
}

Trait to represent clock frequency in Hz

This trait is used as an associated type for Alarm so clients can portably convert native cycles to real-time values.

Required Methods

Implementors