[][src]Trait ksz8863::miim::Read

pub trait Read {
    type Error;
    pub fn read(
        &mut self,
        phy_addr: u8,
        reg_addr: u8
    ) -> Result<u16, Self::Error>; }

A trait for reading from the KSZ8863's MIIM interface.

Associated Types

type Error[src]

Errors that might occur on the MIIM interface.

Loading content...

Required methods

pub fn read(&mut self, phy_addr: u8, reg_addr: u8) -> Result<u16, Self::Error>[src]

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

Loading content...

Implementors

impl Read for Map[src]

type Error = InvalidAddress

impl<'a, T> Read for &'a mut T where
    T: Read
[src]

type Error = T::Error

Loading content...