#[repr(u8)]
pub enum MODE11_A {
Input,
Output,
Alternate,
Analog,
}
Expand description
Port x configuration bits (y = 0..15)
Value on reset: 3
Variants
Input
0: Input mode
Output
1: General purpose output mode
Alternate
2: Alternate function mode
Analog
3: Analog mode
Trait Implementations
impl Copy for MODE0_A
impl StructuralPartialEq for MODE0_A
Auto Trait Implementations
impl RefUnwindSafe for MODE0_A
impl Send for MODE0_A
impl Sync for MODE0_A
impl Unpin for MODE0_A
impl UnwindSafe for MODE0_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