#[repr(u8)]
pub enum MODER0_A {
INPUT,
OUTPUT,
ALTERNATE,
ANALOG,
}
Expand description
Port x configuration bits (y = 0..15)
Value on reset: 0
Variants
INPUT
0: Input mode (reset state)
OUTPUT
1: General purpose output mode
ALTERNATE
2: Alternate function mode
ANALOG
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
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