pub trait PinOps {
    type Dynamic;

    // Required methods
    fn into_dynamic(self) -> Self::Dynamic;
    unsafe fn out_set(&mut self);
    unsafe fn out_clear(&mut self);
    unsafe fn out_toggle(&mut self);
    unsafe fn out_get(&self) -> bool;
    unsafe fn in_get(&self) -> bool;
    unsafe fn make_output(&mut self);
    unsafe fn make_input(&mut self, pull_up: bool);
}

Required Associated Types§

Required Methods§

source

fn into_dynamic(self) -> Self::Dynamic

source

unsafe fn out_set(&mut self)

source

unsafe fn out_clear(&mut self)

source

unsafe fn out_toggle(&mut self)

source

unsafe fn out_get(&self) -> bool

source

unsafe fn in_get(&self) -> bool

source

unsafe fn make_output(&mut self)

source

unsafe fn make_input(&mut self, pull_up: bool)

Implementors§