#[repr(transparent)]pub struct Rcr(pub u32);Expand description
Receive Control Register
Tuple Fields§
§0: u32Implementations§
Source§impl Rcr
impl Rcr
Sourcepub const fn set_mii_mode(&mut self, val: bool)
pub const fn set_mii_mode(&mut self, val: bool)
Media Independent Interface Mode
Sourcepub const fn set_bc_rej(&mut self, val: BcRej)
pub const fn set_bc_rej(&mut self, val: BcRej)
Broadcast Frame Reject
Sourcepub const fn set_rmii_mode(&mut self, val: RmiiMode)
pub const fn set_rmii_mode(&mut self, val: RmiiMode)
RMII Mode Enable
Sourcepub const fn set_rmii_10t(&mut self, val: Rmii10t)
pub const fn set_rmii_10t(&mut self, val: Rmii10t)
Enables 10-Mbit/s mode of the RMII .
Sourcepub const fn set_paufwd(&mut self, val: Paufwd)
pub const fn set_paufwd(&mut self, val: Paufwd)
Terminate/Forward Pause Frames
Sourcepub const fn set_crcfwd(&mut self, val: RcrCrcfwd)
pub const fn set_crcfwd(&mut self, val: RcrCrcfwd)
Terminate/Forward Received CRC
Sourcepub const fn set_max_fl(&mut self, val: u16)
pub const fn set_max_fl(&mut self, val: u16)
Maximum Frame Length
Trait Implementations§
impl Copy for Rcr
impl Eq for Rcr
impl StructuralPartialEq for Rcr
Auto Trait Implementations§
impl Freeze for Rcr
impl RefUnwindSafe for Rcr
impl Send for Rcr
impl Sync for Rcr
impl Unpin for Rcr
impl UnwindSafe for Rcr
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