pub unsafe trait StationManagement {
    // Required methods
    fn smi_read(&mut self, phy_addr: u8, reg: u8) -> u16;
    fn smi_write(&mut self, phy_addr: u8, reg: u8, val: u16);
}
Expand description

Station Management Interface (SMI) on an ethernet PHY

Safety

The methods cannot move out of self

Required Methods§

source

fn smi_read(&mut self, phy_addr: u8, reg: u8) -> u16

Read a register over SMI.

source

fn smi_write(&mut self, phy_addr: u8, reg: u8, val: u16)

Write a register over SMI.

Implementors§