Enum stm32_hal2::gpio::Pull
source · #[repr(u8)]pub enum Pull {
Floating = 0,
Up = 1,
Dn = 2,
}
Expand description
Values for GPIOx_PUPDR
. Sets if the pin uses the internal pull-up or pull-down
Variants§
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more