Trait gpio::GpioIn [] [src]

pub trait GpioIn {
    type Error;
    fn read_value(&mut self) -> Result<GpioValue, Self::Error>;
}

Supports reading GPIOValues

Associated Types

Errors that can occur during initialization of or reading from GPIO

Required Methods

Perform a single reading of a GPIO port

Implementors