[][src]Trait kernel::hil::led::Led

pub trait Led {
    fn init(&mut self);
fn on(&mut self);
fn off(&mut self);
fn toggle(&mut self);
fn read(&self) -> bool; }

Required methods

fn init(&mut self)

fn on(&mut self)

fn off(&mut self)

fn toggle(&mut self)

fn read(&self) -> bool

Loading content...

Implementors

impl<'_, P: Pin> Led for LedHigh<'_, P>[src]

impl<'_, P: Pin> Led for LedLow<'_, P>[src]

Loading content...