Enum stm32_hal2::gpio::Pull
source · [−]#[repr(u8)]
pub enum Pull {
Floating,
Up,
Dn,
}
Expand description
Values for GPIOx_PUPDR
. Sets if the pin uses the internal pull-up or pull-down
Variants
Floating
Up
Dn
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Pull
impl Send for Pull
impl Sync for Pull
impl Unpin for Pull
impl UnwindSafe for Pull
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