Struct stm32_metapac::eth::regs::Maccr
#[repr(transparent)]pub struct Maccr(pub u32);
Expand description
Operating mode configuration register
Tuple Fields§
§0: u32
Implementations§
§impl Maccr
impl Maccr
pub fn set_prelen(&mut self, val: u8)
pub fn set_prelen(&mut self, val: u8)
Preamble Length for Transmit Packets
pub fn set_ecrsfd(&mut self, val: bool)
pub fn set_ecrsfd(&mut self, val: bool)
Enable Carrier Sense Before Transmission in Full-Duplex Mode
pub fn set_gpslce(&mut self, val: bool)
pub fn set_gpslce(&mut self, val: bool)
Giant Packet Size Limit Control Enable
Trait Implementations§
impl Copy for Maccr
impl Eq for Maccr
impl StructuralEq for Maccr
impl StructuralPartialEq for Maccr
Auto Trait Implementations§
impl RefUnwindSafe for Maccr
impl Send for Maccr
impl Sync for Maccr
impl Unpin for Maccr
impl UnwindSafe for Maccr
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