Enum stm32_hal2::gpio::PinMode
source · [−]#[repr(u8)]
pub enum PinMode {
Input,
Output,
Alt(u8),
Analog,
}
Expand description
Values for GPIOx_MODER
Variants
Input
Output
Alt(u8)
Analog
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PinMode
impl Send for PinMode
impl Sync for PinMode
impl Unpin for PinMode
impl UnwindSafe for PinMode
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