#[repr(transparent)]pub struct Mscr(pub u32);Expand description
MII Speed Control Register
Tuple Fields§
§0: u32Implementations§
Source§impl Mscr
impl Mscr
Sourcepub const fn set_mii_speed(&mut self, val: u8)
pub const fn set_mii_speed(&mut self, val: u8)
MII Speed
Sourcepub const fn set_dis_pre(&mut self, val: DisPre)
pub const fn set_dis_pre(&mut self, val: DisPre)
Disable Preamble
Sourcepub const fn set_holdtime(&mut self, val: Holdtime)
pub const fn set_holdtime(&mut self, val: Holdtime)
Hold time On MDIO Output
Trait Implementations§
impl Copy for Mscr
impl Eq for Mscr
impl StructuralPartialEq for Mscr
Auto Trait Implementations§
impl Freeze for Mscr
impl RefUnwindSafe for Mscr
impl Send for Mscr
impl Sync for Mscr
impl Unpin for Mscr
impl UnwindSafe for Mscr
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