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