pub trait Read {
type Error;
fn read(&mut self, phy_addr: u8, reg_addr: u8) -> Result<u16, Self::Error>;
}
Expand description
A trait for reading the standard MIIM protocol.
A blanket implementation is provided for types implementing the lower-level mdio::Read
trait.