Skip to main content

Module phy

Module phy 

Source
Expand description

PHY abstraction layer.

Defines the Phy trait, standard IEEE 802.3 Clause 22 MDIO register addresses, and a thin MdioDriver wrapper around the EMAC’s built-in MDIO controller.

Modules§

an
Bit definitions for ANAR and ANLPAR.
bmcr
Bit definitions for BMCR.
bmsr
Bit definitions for BMSR.
generic
Generic PHY driver.

Structs§

MdioDriver
Thin wrapper that exposes Clause 22 MDIO read/write over the EMAC MAC’s built-in MDIO controller.

Enums§

PhyError
PHY error.

Constants§

ANAR
Auto-Negotiation Advertisement Register.
ANER
Auto-Negotiation Expansion Register.
ANLPAR
Auto-Negotiation Link Partner Ability Register.
BMCR
Basic Mode Control Register.
BMSR
Basic Mode Status Register.
PHYIDR1
PHY Identifier 1.
PHYIDR2
PHY Identifier 2.

Traits§

MdioBus
Generic MDIO bus interface for Clause 22 PHY register access.
Phy
Ethernet PHY driver.