[][src]Trait ksz8863::smi::Write

pub trait Write {
    type Error;
    pub fn write(&mut self, reg_addr: u8, data: u8) -> Result<(), Self::Error>;
}

A trait for writing to the KSZ8863's SMI interface.

Associated Types

type Error[src]

Errors that might occur on the SMI interface.

Loading content...

Required methods

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

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

Loading content...

Implementors

impl Write for Map[src]

type Error = InvalidAddress

impl<T> Write for T where
    T: Write
[src]

type Error = T::Error

Loading content...