pebble
  • Tutorials
  • Get the SDK
  • Guides
  • Documentation
  • PebbleOS
  • Mobile App
  • Examples
  • Index 01
  • Community
  • Blog
  • More
Privacy
Cookies
Publish

PebbleOS

  • Overview
  • Start here
    • Getting started guide
  • Pebble Firmware
    • Overview
    • Playground
    • Application SDK
  • Development
    • The pbl CLI
    • Build system
    • Samples
    • Emulator and simulator
    • Testing
    • Debugging
    • Conventions
  • System
    • Architecture overview
    • Kernel
    • Drivers
      • Device model
      • Simulators
      • Buses and I/O
      • Clocks, power and timing
      • Memory and storage
      • Display and graphics
      • Sensors and input
      • Audio and haptics
      • Power supply
      • System
    • Subsystems
    • Libraries
    • Third-party
  • Hardware
    • Boards
    • Board Add-ons
    • Programmers
  • Community
    • Contribution Guidelines
  • Reference
    • Reference
    • Kconfig options

Ethernet PHY

The transceiver between an Ethernet controller and the wire. The controller takes it from its devicetree phy-handle, starts it with the link modes to advertise when it starts, and stops it, powered down, when it stops. While started, the class polls the link every second and reports it coming up or going down, with the speed and duplex the PHY negotiated, to its listeners: the controller then matches them.

Directory

drivers/net/phy

Header

pbl/drivers/net/phy.h

Kconfig

CONFIG_NET_PHY, selected by the Ethernet controllers

API

API reference

Drivers

Driver

Compatible

Kconfig

Generic IEEE 802.3 PHY

ethernet-phy-ieee802.3-c22

CONFIG_NET_PHY_GENERIC

The generic driver uses the clause 22 registers alone: it takes 10BASE-T and 100BASE-TX links negotiated by auto-negotiation.

Generated from PebbleOS f1984a001. This page is maintained in the pebbleos repository: docs/drivers/net_phy.md.