Synopsis
typedef enum {
  CTL_PHY_STATE_ERROR,
  CTL_PHY_STATE_NO_LINK,
  CTL_PHY_STATE_NEGOTIATING,
  CTL_PHY_STATE_LINKED,
  CTL_PHY_STATE_INITIALIZE
} CTL_PHY_STATE_t;
Description

CTL_PHY_STATE_t is the set of values that a PHY driver should report as its ‘state’ to the outside world, even if its actual state machine is more complicated than that represented here.

CTL_PHY_STATE_INITIALIZE
Indicates that the PHY requires initializing.
CTL_PHY_STATE_ERROR
An error prevents the PHY from operating.
CTL_PHY_STATE_NO_LINK
The Ethernet cable or other media is unplugged.
CTL_PHY_STATE_NEGOTIATING
The PHY is negotiating duplex and transmission rate with its partner.
CTL_PHY_STATE_LINKED
The PHY and its partner have completed negotiating, the link is active.
See Also

ctl_net_get_phy_state