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

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

Represents a clock's frequency in Hz, allowing code to transform between computer time units and wall clock time. It is typically an associated type for an implementation of the Time trait.

Required methods

fn frequency() -> u32

Returns frequency in Hz.

Loading content...

Implementors

impl Frequency for Freq1KHz[src]

impl Frequency for Freq1MHz[src]

impl Frequency for Freq16KHz[src]

impl Frequency for Freq16MHz[src]

impl Frequency for Freq32KHz[src]

Loading content...