How stmicroelectronics/stm32-lan8742 works
This repository is a small STM32Cube LAN8742 PHY driver, not a complete networking stack. Its workflow is for a board-level caller to register hardware bus callbacks, initialize and identify the PHY, then query or configure link and device features through the driver. The implementation uses the supplied I/O callbacks for register access. The excerpts show initialization, link management, power and loopback controls, and interrupt operations; other public capabilities are represented by the driver node without inferring unsampled behavior.
Main entry points: lan8742.c PHY setup · lan8742.h Driver contract
Components 8
Other components
- Board caller
- Driver contract
lan8742.h - PHY setup
lan8742.c - Link management
lan8742.c - PHY controls
lan8742.c - Interrupt handling
lan8742.c - Bus callbacks
- LAN8742 PHY
Connections 7
- Board caller → Driver contract: uses API
README.md - PHY setup → Driver contract: implements
lan8742.c - PHY setup → Bus callbacks: registers and reads
lan8742.c - Link management → Bus callbacks: reads registers
lan8742.c - PHY controls → Bus callbacks: reads and writes
lan8742.c - Interrupt handling → Bus callbacks: reads and writes
lan8742.c - Bus callbacks → LAN8742 PHY: accesses registers