pub unsafe trait PHY {
// Required methods
fn phy_reset<S: StationManagement>(&mut self, sm: &mut S);
fn phy_init<S: StationManagement>(&mut self, sm: &mut S);
fn poll_link<S: StationManagement>(
&mut self,
sm: &mut S,
cx: &mut Context<'_>,
) -> bool;
}
Expand description
Required Methods§
sourcefn 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.
sourcefn phy_init<S: StationManagement>(&mut self, sm: &mut S)
fn phy_init<S: StationManagement>(&mut self, sm: &mut S)
PHY initialisation.
Object Safety§
This trait is not object safe.