Struct stm32_metapac::eth::regs::MtlrxQmpocr
#[repr(transparent)]pub struct MtlrxQmpocr(pub u32);
Expand description
Rx queue missed packet and overflow counter register
Tuple Fieldsยง
ยง0: u32
Implementationsยง
ยงimpl MtlrxQmpocr
impl MtlrxQmpocr
pub fn set_ovfpktcnt(&mut self, val: u16)
pub fn set_ovfpktcnt(&mut self, val: u16)
Overflow Packet Counter
pub fn set_ovfcntovf(&mut self, val: bool)
pub fn set_ovfcntovf(&mut self, val: bool)
Overflow Counter Overflow Bit
pub fn set_mispktcnt(&mut self, val: u16)
pub fn set_mispktcnt(&mut self, val: u16)
Missed Packet Counter
pub fn set_miscntovf(&mut self, val: bool)
pub fn set_miscntovf(&mut self, val: bool)
Missed Packet Counter Overflow Bit
Trait Implementationsยง
ยงimpl Clone for MtlrxQmpocr
impl Clone for MtlrxQmpocr
ยงfn clone(&self) -> MtlrxQmpocr
fn clone(&self) -> MtlrxQmpocr
Returns a copy of the value. Read more
1.0.0 ยท sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreยงimpl Default for MtlrxQmpocr
impl Default for MtlrxQmpocr
ยงfn default() -> MtlrxQmpocr
fn default() -> MtlrxQmpocr
Returns the โdefault valueโ for a type. Read more
ยงimpl PartialEq for MtlrxQmpocr
impl PartialEq for MtlrxQmpocr
ยงfn eq(&self, other: &MtlrxQmpocr) -> bool
fn eq(&self, other: &MtlrxQmpocr) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for MtlrxQmpocr
impl Eq for MtlrxQmpocr
impl StructuralEq for MtlrxQmpocr
impl StructuralPartialEq for MtlrxQmpocr
Auto Trait Implementationsยง
impl RefUnwindSafe for MtlrxQmpocr
impl Send for MtlrxQmpocr
impl Sync for MtlrxQmpocr
impl Unpin for MtlrxQmpocr
impl UnwindSafe for MtlrxQmpocr
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