embassy-stm32

Crates

git

Versions

stm32h735ag

Flavors

embassy_stm32::eth

Trait StationManagement

Source
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§