#[repr(transparent)]pub struct Ecr(pub u32);Expand description
Ethernet Control Register
Tuple Fields§
§0: u32Implementations§
Source§impl Ecr
impl Ecr
Sourcepub const fn set_etheren(&mut self, val: Etheren)
pub const fn set_etheren(&mut self, val: Etheren)
Ethernet Enable
Sourcepub const fn set_magicen(&mut self, val: Magicen)
pub const fn set_magicen(&mut self, val: Magicen)
Magic Packet Detection Enable
Sourcepub const fn set_en1588(&mut self, val: En1588)
pub const fn set_en1588(&mut self, val: En1588)
EN1588 Enable
Trait Implementations§
impl Copy for Ecr
impl Eq for Ecr
impl StructuralPartialEq for Ecr
Auto Trait Implementations§
impl Freeze for Ecr
impl RefUnwindSafe for Ecr
impl Send for Ecr
impl Sync for Ecr
impl Unpin for Ecr
impl UnwindSafe for Ecr
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