Struct stm32_metapac::eth::regs::Macvr
#[repr(transparent)]pub struct Macvr(pub u32);
Expand description
Version register
Tuple Fields§
§0: u32
Implementations§
§impl Macvr
impl Macvr
pub fn set_snpsver(&mut self, val: u8)
pub fn set_snpsver(&mut self, val: u8)
IP version
pub fn set_userver(&mut self, val: u8)
pub fn set_userver(&mut self, val: u8)
ST-defined version
Trait Implementations§
impl Copy for Macvr
impl Eq for Macvr
impl StructuralEq for Macvr
impl StructuralPartialEq for Macvr
Auto Trait Implementations§
impl RefUnwindSafe for Macvr
impl Send for Macvr
impl Sync for Macvr
impl Unpin for Macvr
impl UnwindSafe for Macvr
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