#[repr(u8)]pub enum MODER15_A {
INPUT = 0,
OUTPUT = 1,
ALTERNATE = 2,
ANALOG = 3,
}
Expand description
Port x configuration bits (y = 0..15)
Value on reset: 2
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 MODER15_A
impl StructuralPartialEq for MODER15_A
Auto Trait Implementations§
impl Freeze for MODER15_A
impl RefUnwindSafe for MODER15_A
impl Send for MODER15_A
impl Sync for MODER15_A
impl Unpin for MODER15_A
impl UnwindSafe for MODER15_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