#[repr(u8)]pub enum MODE0 {
Input = 0,
Output = 1,
Alternate = 2,
Analog = 3,
}Expand description
Port x configuration pin %s
Value on reset: 3
Variants§
Input = 0
0: Input mode
Output = 1
1: General purpose output mode
Alternate = 2
2: Alternate function mode
Analog = 3
3: Analog mode
Trait Implementations§
impl Copy for MODE0
impl Eq for MODE0
impl IsEnum for MODE0
impl StructuralPartialEq for MODE0
Auto Trait Implementations§
impl Freeze for MODE0
impl RefUnwindSafe for MODE0
impl Send for MODE0
impl Sync for MODE0
impl Unpin for MODE0
impl UnwindSafe for MODE0
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