pub trait OpenDrainPin { // Required methods fn set(&mut self, level: bool); fn get(&mut self) -> bool; }
Trait for controlling bidirectional GPIO pins.
Sets the level of the GPIO pin.
Gets the current level of the GPIO pin.