Struct stm32f030_hal::gpio::gpioa::PA
source · pub struct PA<MODE> { /* private fields */ }
Expand description
Partially erased pin
Implementations
Trait Implementations
sourceimpl<MODE> InputPin for PA<Input<MODE>>
impl<MODE> InputPin for PA<Input<MODE>>
sourceimpl<MODE> OutputPin for PA<Output<MODE>>
impl<MODE> OutputPin for PA<Output<MODE>>
sourceimpl<MODE> StatefulOutputPin for PA<Output<MODE>>
impl<MODE> StatefulOutputPin for PA<Output<MODE>>
sourcefn 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
sourcefn 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
Auto Trait Implementations
impl<MODE> RefUnwindSafe for PA<MODE>where
MODE: RefUnwindSafe,
impl<MODE> Send for PA<MODE>where
MODE: Send,
impl<MODE> Sync for PA<MODE>where
MODE: Sync,
impl<MODE> Unpin for PA<MODE>where
MODE: Unpin,
impl<MODE> UnwindSafe for PA<MODE>where
MODE: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more