Struct stm32f0xx_hal::gpio::Pin
source · pub struct Pin<MODE> { /* private fields */ }
Expand description
Fully erased pin
Trait Implementations§
source§impl<MODE> InputPin for Pin<Input<MODE>>
impl<MODE> InputPin for Pin<Input<MODE>>
source§impl InputPin for Pin<Output<OpenDrain>>
impl InputPin for Pin<Output<OpenDrain>>
source§impl<MODE> OutputPin for Pin<Output<MODE>>
impl<MODE> OutputPin for Pin<Output<MODE>>
source§impl<MODE> StatefulOutputPin for Pin<Output<MODE>>
impl<MODE> StatefulOutputPin for Pin<Output<MODE>>
source§fn is_set_high(&self) -> bool
fn is_set_high(&self) -> bool
👎Deprecated since 0.2.2: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2.
Is the pin in drive high mode? Read more
source§fn is_set_low(&self) -> bool
fn is_set_low(&self) -> bool
👎Deprecated since 0.2.2: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2.
Is the pin in drive low mode? Read more