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