#[repr(u8)]pub enum Md8 {
Input = 0,
Speed10m = 1,
Speed2m = 2,
Speed50m = 3,
}
Expand description
Port x mode bits (x = 8)
Value on reset: 0
Variants§
Input = 0
0: Input mode (reset state)
Speed10m = 1
1: Output mode ,max speed 10MHz
Speed2m = 2
2: Output mode ,max speed 2MHz
Speed50m = 3
3: Output mode ,max speed 50MHz
Trait Implementations§
impl Copy for Md8
impl Eq for Md8
impl StructuralPartialEq for Md8
Auto Trait Implementations§
impl Freeze for Md8
impl RefUnwindSafe for Md8
impl Send for Md8
impl Sync for Md8
impl Unpin for Md8
impl UnwindSafe for Md8
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