Struct Machwf1r
#[repr(transparent)]pub struct Machwf1r(pub u32);
Expand description
HW feature 1 register
Tuple Fields§
§0: u32
Implementations§
§impl Machwf1r
impl Machwf1r
pub const fn rxfifosize(&self) -> u8
pub const fn rxfifosize(&self) -> u8
MTL Receive FIFO Size
pub fn set_rxfifosize(&mut self, val: u8)
pub fn set_rxfifosize(&mut self, val: u8)
MTL Receive FIFO Size
pub const fn txfifosize(&self) -> u8
pub const fn txfifosize(&self) -> u8
MTL Transmit FIFO Size
pub fn set_txfifosize(&mut self, val: u8)
pub fn set_txfifosize(&mut self, val: u8)
MTL Transmit FIFO Size
pub fn set_advthword(&mut self, val: bool)
pub fn set_advthword(&mut self, val: bool)
IEEE 1588 High Word Register Enable
pub fn set_addr64(&mut self, val: u8)
pub fn set_addr64(&mut self, val: u8)
Address width
pub fn set_dbgmema(&mut self, val: bool)
pub fn set_dbgmema(&mut self, val: bool)
DMA Debug Registers Enable
pub fn set_hashtblsz(&mut self, val: u8)
pub fn set_hashtblsz(&mut self, val: u8)
Hash Table Size
pub fn set_l3l4fnum(&mut self, val: u8)
pub fn set_l3l4fnum(&mut self, val: u8)
Total number of L3 or L4 Filters
Trait Implementations§
impl Copy for Machwf1r
impl Eq for Machwf1r
impl StructuralPartialEq for Machwf1r
Auto Trait Implementations§
impl Freeze for Machwf1r
impl RefUnwindSafe for Machwf1r
impl Send for Machwf1r
impl Sync for Machwf1r
impl Unpin for Machwf1r
impl UnwindSafe for Machwf1r
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
)