Struct stm32f072_hal::gpio::gpioa::PA
source · pub struct PA<MODE> { /* private fields */ }
Expand description
Partially erased pin
Implementations§
Trait Implementations§
source§impl<MODE> InputPin for PA<Input<MODE>>
impl<MODE> InputPin for PA<Input<MODE>>
source§impl<MODE> OutputPin for PA<Output<MODE>>
impl<MODE> OutputPin for PA<Output<MODE>>
source§impl<MODE> StatefulOutputPin for PA<Output<MODE>>
impl<MODE> StatefulOutputPin for PA<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