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.

Required Associated Types

Errors that might occur on the MIIM interface.

Required Methods

Read the data from the given register address associated with the specified PHY.

Implementors