embassy-stm32

Crates

git

Versions

stm32h725zg

Flavors

Phy

Trait Phy 

Source
pub trait Phy {
    // Required methods
    fn phy_reset(&mut self);
    fn phy_init(&mut self);
    fn poll_link(&mut self, cx: &mut Context<'_>) -> bool;
}
Expand description

Trait for an Ethernet PHY

Required Methods§

Source

fn phy_reset(&mut self)

Reset PHY and wait for it to come out of reset.

Source

fn phy_init(&mut self)

PHY initialisation.

Poll link to see if it is up and FD with 100Mbps

Implementors§