Trait gpio::GpioOut [] [src]

pub trait GpioOut {
    type Error;
    fn set_low(&mut self) -> Result<(), Self::Error>;
fn set_high(&mut self) -> Result<(), Self::Error>; fn set_value<T: Into<GpioValue> + Copy>(
        &mut self,
        value: T
    ) -> Result<(), Self::Error> { ... } }

Supports sending GPIOValues

Associated Types

Errors that can occur during initialization of or writing to GPIO

Required Methods

Set the GPIO port to a low output value directly

Set the GPIO port to a high output value directly

Provided Methods

Sets the output value of the GPIO port

Implementors