#[repr(u8)]pub enum MODER0 {
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 MODER0
impl Eq for MODER0
impl IsEnum for MODER0
impl StructuralPartialEq for MODER0
Auto Trait Implementations§
impl Freeze for MODER0
impl RefUnwindSafe for MODER0
impl Send for MODER0
impl Sync for MODER0
impl Unpin for MODER0
impl UnwindSafe for MODER0
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