Struct embassy_stm32::eth::generic_smi::GenericSMI
source ยท 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