Struct stm32_metapac::eth::regs::Mmccr
#[repr(transparent)]pub struct Mmccr(pub u32);
Expand description
Ethernet MMC control register
Tuple Fields§
§0: u32
Implementations§
§impl Mmccr
impl Mmccr
pub const fn cr(&self) -> CounterReset
pub const fn cr(&self) -> CounterReset
Counter reset
pub fn set_cr(&mut self, val: CounterReset)
pub fn set_cr(&mut self, val: CounterReset)
Counter reset
Trait Implementations§
impl Copy for Mmccr
impl Eq for Mmccr
impl StructuralPartialEq for Mmccr
Auto Trait Implementations§
impl Freeze for Mmccr
impl RefUnwindSafe for Mmccr
impl Send for Mmccr
impl Sync for Mmccr
impl Unpin for Mmccr
impl UnwindSafe for Mmccr
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
)