embassy_stm32::ethTrait 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
Read a register over SMI.
Write a register over SMI.