pub struct GenericSMI { /* private fields */ }
Expand description
Generic SMI Ethernet PHY implementation
Implementations§
source§impl GenericSMI
impl GenericSMI
source§impl GenericSMI
impl GenericSMI
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 GenericSMI
impl PHY for GenericSMI
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 GenericSMI
impl RefUnwindSafe for GenericSMI
impl Send for GenericSMI
impl Sync for GenericSMI
impl Unpin for GenericSMI
impl UnwindSafe for GenericSMI
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