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