kernel::platform::chip

Trait ClockInterface

Source
pub trait ClockInterface {
    // Required methods
    fn is_enabled(&self) -> bool;
    fn enable(&self);
    fn disable(&self);
}
Expand description

Generic operations that clock-like things are expected to support.

Required Methods§

Source

fn is_enabled(&self) -> bool

Source

fn enable(&self)

Source

fn disable(&self)

Implementors§