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 StructuralPartialEq for Macvr
Auto Trait Implementations§
impl Freeze for Macvr
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)