Jump to main content

##

# DRV_ETHPHY_LINK_STATUS Enumeration

## C

    typedef enum {
        DRV_ETHPHY_LINK_ST_DOWN,
        DRV_ETHPHY_LINK_ST_UP,
        DRV_ETHPHY_LINK_ST_LP_NEG_UNABLE,
        DRV_ETHPHY_LINK_ST_REMOTE_FAULT,
        DRV_ETHPHY_LINK_ST_PDF,
        DRV_ETHPHY_LINK_ST_LP_PAUSE,
        DRV_ETHPHY_LINK_ST_LP_ASM_DIR,
        DRV_ETHPHY_LINK_ST_NEG_TMO,
        DRV_ETHPHY_LINK_ST_NEG_FATAL_ERR
    } DRV_ETHPHY_LINK_STATUS;

## Members

Members | Description
--- | ---
DRV_ETHPHY_LINK_ST_DOWN | No connection to the LinkPartner
DRV_ETHPHY_LINK_ST_UP | Link is up
DRV_ETHPHY_LINK_ST_LP_NEG_UNABLE | LP non negotiation able
DRV_ETHPHY_LINK_ST_REMOTE_FAULT | LP fault during negotiation
DRV_ETHPHY_LINK_ST_PDF | Parallel Detection Fault encountered (when DRV_ETHPHY_LINK_ST_LP_NEG_UNABLE)
DRV_ETHPHY_LINK_ST_LP_PAUSE | LP supports symmetric pause
DRV_ETHPHY_LINK_ST_LP_ASM_DIR | LP supports asymmetric TX/RX pause operation
DRV_ETHPHY_LINK_ST_NEG_TMO | LP not there
DRV_ETHPHY_LINK_ST_NEG_FATAL_ERR | An unexpected fatal error occurred during the negotiation

## Description

Ethernet PHY Device Link Status Codes This enumeration defines the flags describing the status of the PHY Ethernet link.

## Remarks

Multiple flags can be set.