PSOC E8XXGP Device Support Library

| PSOC E8XXGP Device Support Library

Enumerations
Enumerated Types
PDL API Reference » EPHY (Ethernet PHY)

## General Description

## Enumerations
enum | cy_en_ephy_status_t { CY_EPHY_SUCCESS = 0x00U , CY_EPHY_AN_NOT_SUPPORTED = 0x01U , CY_EPHY_INVALID_SPEED = 0x02U , CY_EPHY_INVALID_DUPLEX = 0x03U , CY_EPHY_ERROR = CY_EPHY_ID | CY_PDL_STATUS_ERROR | 0x01U }
| EPHY Driver error codes. More...
enum | cy_en_ephy_duplex_t { CY_EPHY_DUPLEX_HALF , CY_EPHY_DUPLEX_FULL , CY_EPHY_DUPLEX_AUTO }
| PHY Duplex Mode. More...
enum | cy_en_ephy_speed_t { CY_EPHY_SPEED_10 , CY_EPHY_SPEED_100 , CY_EPHY_SPEED_1000 , CY_EPHY_SPEED_AUTO }
| PHY Speed. More...

## Enumeration Type Documentation

## ◆ cy_en_ephy_status_t

enum cy_en_ephy_status_t

EPHY Driver error codes.

Enumerator
CY_EPHY_SUCCESS | Returned successful.
CY_EPHY_AN_NOT_SUPPORTED | Auto Negotiation is not supported.
CY_EPHY_INVALID_SPEED | Invalid speed.
CY_EPHY_INVALID_DUPLEX | Invalid duplex.
CY_EPHY_ERROR | Bad parameter or Generic Error.

## ◆ cy_en_ephy_duplex_t

enum cy_en_ephy_duplex_t

PHY Duplex Mode.

Enumerator
CY_EPHY_DUPLEX_HALF | half duplex
CY_EPHY_DUPLEX_FULL | full duplex
CY_EPHY_DUPLEX_AUTO | both half/full duplex

## ◆ cy_en_ephy_speed_t

enum cy_en_ephy_speed_t

PHY Speed.

Enumerator
CY_EPHY_SPEED_10 | 10Mbps
CY_EPHY_SPEED_100 | 100Mbps
CY_EPHY_SPEED_1000 | 1000Mbps
CY_EPHY_SPEED_AUTO | All 10/100/1000 Mbps.