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.

Required Associated Types

Errors that might occur on the MIIM interface.

Required Methods

Write to the register at the given address associated with the specified PHY.

Implementors