Enum stm32f4xx_hal::gpio::Dynamic
source · [−]pub enum Dynamic {
InputFloating,
InputPullUp,
InputPullDown,
OutputPushPull,
OutputOpenDrain,
}
Expand description
Tracks the current pin state for dynamic pins
Variants
InputFloating
Floating input mode
InputPullUp
Pull-up input mode
InputPullDown
Pull-down input mode
OutputPushPull
Push-pull output mode
OutputOpenDrain
Open-drain output mode
Implementations
Auto Trait Implementations
impl RefUnwindSafe for Dynamic
impl Send for Dynamic
impl Sync for Dynamic
impl Unpin for Dynamic
impl UnwindSafe for Dynamic
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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