Enum stm32wlxx_hal::pac::gpiob::moder::MODER3_A
#[repr(u8)]pub enum MODER3_A {
Input = 0,
Output = 1,
Alternate = 2,
Analog = 3,
}
Available on crate feature
stm32wl5x_cm4
only.Expand description
Port x configuration bits (y = 0..15)
Value on reset: 3
Variants§
Input = 0
0: Input mode (reset state)
Output = 1
1: General purpose output mode
Alternate = 2
2: Alternate function mode
Analog = 3
3: Analog mode
Trait Implementations§
impl Copy for MODER0_A
impl StructuralPartialEq for MODER0_A
Auto Trait Implementations§
impl RefUnwindSafe for MODER0_A
impl Send for MODER0_A
impl Sync for MODER0_A
impl Unpin for MODER0_A
impl UnwindSafe for MODER0_A
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