#[repr(transparent)]pub struct EnetCtrl(pub u32);Expand description
Ethernet Control
Tuple Fields§
§0: u32Implementations§
Source§impl EnetCtrl
impl EnetCtrl
Sourcepub const fn set_phy_intf(&mut self, val: PhyIntf)
pub const fn set_phy_intf(&mut self, val: PhyIntf)
Selects external PHY interface
Sourcepub const fn set_phy_sel(&mut self, val: PhySel)
pub const fn set_phy_sel(&mut self, val: PhySel)
Selects external PHY or on-chip 10BASE-T1S
Trait Implementations§
impl Copy for EnetCtrl
impl Eq for EnetCtrl
impl StructuralPartialEq for EnetCtrl
Auto Trait Implementations§
impl Freeze for EnetCtrl
impl RefUnwindSafe for EnetCtrl
impl Send for EnetCtrl
impl Sync for EnetCtrl
impl Unpin for EnetCtrl
impl UnwindSafe for EnetCtrl
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