pub trait Phy { // Required methods fn phy_reset(&mut self); fn phy_init(&mut self); fn poll_link(&mut self, cx: &mut Context<'_>) -> bool; }
Trait for an Ethernet PHY
Reset PHY and wait for it to come out of reset.
PHY initialisation.
Poll link to see if it is up and FD with 100Mbps