Struct stm32_metapac::eth::regs::Machwf2r
#[repr(transparent)]pub struct Machwf2r(pub u32);
Expand description
HW feature 2 register
Tuple Fields§
§0: u32
Implementations§
§impl Machwf2r
impl Machwf2r
pub fn set_rxqcnt(&mut self, val: u8)
pub fn set_rxqcnt(&mut self, val: u8)
Number of MTL Receive Queues
pub fn set_txqcnt(&mut self, val: u8)
pub fn set_txqcnt(&mut self, val: u8)
Number of MTL Transmit Queues
pub fn set_rxchcnt(&mut self, val: u8)
pub fn set_rxchcnt(&mut self, val: u8)
Number of DMA Receive Channels
pub fn set_txchcnt(&mut self, val: u8)
pub fn set_txchcnt(&mut self, val: u8)
Number of DMA Transmit Channels
pub fn set_ppsoutnum(&mut self, val: u8)
pub fn set_ppsoutnum(&mut self, val: u8)
Number of PPS Outputs
pub const fn auxsnapnum(&self) -> u8
pub const fn auxsnapnum(&self) -> u8
Number of Auxiliary Snapshot Inputs
pub fn set_auxsnapnum(&mut self, val: u8)
pub fn set_auxsnapnum(&mut self, val: u8)
Number of Auxiliary Snapshot Inputs
Trait Implementations§
impl Copy for Machwf2r
impl Eq for Machwf2r
impl StructuralEq for Machwf2r
impl StructuralPartialEq for Machwf2r
Auto Trait Implementations§
impl RefUnwindSafe for Machwf2r
impl Send for Machwf2r
impl Sync for Machwf2r
impl Unpin for Machwf2r
impl UnwindSafe for Machwf2r
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