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