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

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

fn frequency() -> u32

Returns frequency in Hz.

Loading content...


impl Frequency for Freq16KHz[src]

impl Frequency for Freq16MHz[src]

impl Frequency for Freq1KHz[src]

impl Frequency for Freq32KHz[src]

Loading content...