[][src]Trait kernel::hil::gpio::Input

pub trait Input {
    fn read(&self) -> bool;

Required methods

fn read(&self) -> bool

Get the current state of an input GPIO pin. For an output pin, return the output; for an input pin, return the input; for disabled or function pins the value is undefined.

Loading content...


impl Input for InterruptValueWrapper[src]

Loading content...