PSOC E8XXGP Device Support Library

| PSOC E8XXGP Device Support Library

Data Structures | Typedefs
Data Structures
PDL API Reference » EPHY (Ethernet PHY)

## General Description

## Data Structures
struct | cy_stc_ephy_t
| This is the private data structure of EPHY. More...
struct | cy_stc_ephy_config_t
| EPHY configuration. More...

## Typedefs
typedef void(* | cy_ephy_read_handle) (uint32_t phyAddr, uint32_t regAddress, uint32_t *value)
| PHY read handle to application.
typedef void(* | cy_ephy_write_handle) (uint32_t phyAddr, uint32_t regAddress, uint32_t value)
| PHY write handle to application.

## Data Structure Documentation

## ◆ cy_stc_ephy_t

struct cy_stc_ephy_t

Data Fields
cy_ephy_read_handle | fnPhyRead | read handle
cy_ephy_write_handle | fnPhyWrite | write handle
uint32_t | phyId | phy ID
cy_en_ephy_state_t | state | PHY state.
uint32_t | bmcr | store the BMCR value while PHY configuration
uint32_t | anar | store the ANAR value while PHY configuration

## ◆ cy_stc_ephy_config_t

struct cy_stc_ephy_config_t

Data Fields
uint32_t | speed | speed
uint32_t | duplex | suplex mode