Trait stm32f0xx_hal::prelude::_embedded_hal_gpio_InputPin [−][src]
pub trait _embedded_hal_gpio_InputPin {
type Error;
fn is_high(&self) -> Result<bool, Self::Error>;
fn is_low(&self) -> Result<bool, Self::Error>;
}
Expand description
Single digital input pin
This trait is available if embedded-hal is built with the "unproven"
feature.