pub struct GenericPhy { /* private fields */ }
Expand description
Generic SMI Ethernet PHY implementation
Implementations§
Source§impl GenericPhy
impl GenericPhy
Source§impl GenericPhy
Public functions for the PHY
impl GenericPhy
Public functions for the PHY
Sourcepub fn set_poll_interval(&mut self, poll_interval: Duration)
pub fn set_poll_interval(&mut self, poll_interval: Duration)
Set the SMI polling interval.
Trait Implementations§
Source§impl Phy for GenericPhy
impl Phy for GenericPhy
Source§fn phy_reset<S: StationManagement>(&mut self, sm: &mut S)
fn phy_reset<S: StationManagement>(&mut self, sm: &mut S)
Reset PHY and wait for it to come out of reset.
Source§fn phy_init<S: StationManagement>(&mut self, sm: &mut S)
fn phy_init<S: StationManagement>(&mut self, sm: &mut S)
PHY initialisation.
Auto Trait Implementations§
impl Freeze for GenericPhy
impl RefUnwindSafe for GenericPhy
impl Send for GenericPhy
impl Sync for GenericPhy
impl Unpin for GenericPhy
impl UnwindSafe for GenericPhy
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