![]() |
Synergy Software Package User's Manual
|
Data Structures | |
| struct | phy_record_t |
Macros | |
| #define | R_PHY_OK (int16_t)(0) |
| PHY device is initialized successfully. | |
| #define | R_PHY_ERROR (int16_t)(-1) |
| PHY device is not initialized successfully. | |
| #define | R_PHY_NORMAL_PREAMBLE 0x20U |
| Standard preamble length (32bit 1's ) | |
| #define | R_PHY_SUPPRESSED_PREAMBLE 0x01U |
| Preamble suppression value. | |
| #define | PHY_MII_READ (0x2U << 12) |
| PHY read OP code. | |
| #define | PHY_MII_WRITE (0x1U << 12) |
| PHY write OP code. | |
| #define | PHY_REG_CONTROL (0x0000U) |
| Basic Control register. | |
| #define | PHY_REG_STATUS (0x0001U) |
| Basic Status register. | |
| #define | PHY_REG_IDENTIFIER1 (0x0002U) |
| PHY Identifier 1 register. | |
| #define | PHY_REG_IDENTIFIER2 (0x0003U) |
| PHY Identifier 2 register. | |
| #define | PHY_REG_AN_ADVERTISEMENT (0x0004U) |
| Auto-Negotiation Advertisement register. | |
| #define | PHY_REG_AN_LINK_PARTNER (0x0005U) |
| Auto-Negotiation Link Partner Ability register. | |
| #define | PHY_REG_AN_EXPANSION (0x0006U) |
| Auto-Negotiation Expansion register. | |
Enumerations | |
| enum | linkstat_t { PHY_NO_LINK = 0, PHY_LINK_10H, PHY_LINK_10F, PHY_LINK_100H, PHY_LINK_100F } |
| enum linkstat_t |