Trait stm32_eth::mac::phy::PhyWithSpeed
source · pub trait PhyWithSpeed<MIIM>: Phy<MIIM>where
MIIM: Miim,{
// Required method
fn get_link_speed(&mut self) -> Option<AdvancedPhySpeed>;
}
Expand description
A PHY that also supports determining the link speed and duplex mode it is currently operating at.
Required Methods§
sourcefn get_link_speed(&mut self) -> Option<AdvancedPhySpeed>
fn get_link_speed(&mut self) -> Option<AdvancedPhySpeed>
Get the link speed at which this PHY is currently operating.
Object Safety§
This trait is not object safe.