PDK API Guide for J721E
EnetPhy_Cfg Struct Reference

Detailed Description

PHY configuration parameters.

Data Fields

uint32_t phyGroup
 
uint32_t phyAddr
 
uint32_t nwayCaps
 
bool mdixEn
 
bool isStrapped
 
bool loopbackEn
 
bool masterMode
 
bool extClkSource
 
bool skipExtendedCfg
 
EnetPhy_FsmTimeoutCfg timeoutCfg
 
uint8_t extendedCfg [ENETPHY_EXTENDED_CFG_SIZE_MAX]
 
uint32_t extendedCfgSize
 

Field Documentation

◆ phyGroup

uint32_t EnetPhy_Cfg::phyGroup

MDIO group

◆ phyAddr

uint32_t EnetPhy_Cfg::phyAddr

PHY device address

◆ nwayCaps

uint32_t EnetPhy_Cfg::nwayCaps

Auto-negotiation advertise capabilities

◆ mdixEn

bool EnetPhy_Cfg::mdixEn

MDIX enable

◆ isStrapped

bool EnetPhy_Cfg::isStrapped

Whether PHY is strapped or not. If strapping is present, no explicit PHY register configurations will take place and will only wait for link to be established

◆ loopbackEn

bool EnetPhy_Cfg::loopbackEn

Enable loopback once PHY is found

◆ masterMode

bool EnetPhy_Cfg::masterMode

Enable master mode

◆ extClkSource

bool EnetPhy_Cfg::extClkSource

Enable external clock source

◆ skipExtendedCfg

bool EnetPhy_Cfg::skipExtendedCfg

Skip PHY-specific extended configuration

◆ timeoutCfg

EnetPhy_FsmTimeoutCfg EnetPhy_Cfg::timeoutCfg

PHY state-machine timeout configuration

◆ extendedCfg

uint8_t EnetPhy_Cfg::extendedCfg[ENETPHY_EXTENDED_CFG_SIZE_MAX]

Extended PHY-specific configuration

◆ extendedCfgSize

uint32_t EnetPhy_Cfg::extendedCfgSize

Size of the extended configuration