![]() |
![]() |
PHY configuration parameters. More...
#include <enetphy.h>
Data Fields | |
uint32_t | phyGroup |
uint32_t | phyAddr |
uint32_t | nwayCaps |
bool | mdixEnable |
bool | isStrapped |
bool | enableLoopback |
bool | masterMode |
bool | extClkSource |
bool | skipExtendedCfg |
EnetPhy_FsmTimeoutCfg | timeoutCfg |
uint8_t | extendedCfg [ENETPHY_EXTENDED_CFG_SIZE_MAX] |
uint32_t | extendedCfgSize |
PHY configuration parameters.
bool EnetPhy_Cfg_s::enableLoopback |
Enable loopback once PHY is found
bool EnetPhy_Cfg_s::extClkSource |
Enable external clock source
uint8_t EnetPhy_Cfg_s::extendedCfg[ENETPHY_EXTENDED_CFG_SIZE_MAX] |
Extended PHY-specific configuration
uint32_t EnetPhy_Cfg_s::extendedCfgSize |
Size of the extended configuration
bool EnetPhy_Cfg_s::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
bool EnetPhy_Cfg_s::masterMode |
Enable master mode
bool EnetPhy_Cfg_s::mdixEnable |
MDIX enable
uint32_t EnetPhy_Cfg_s::nwayCaps |
Auto-negotiation advertise capabilities
uint32_t EnetPhy_Cfg_s::phyAddr |
PHY device address
uint32_t EnetPhy_Cfg_s::phyGroup |
MDIO group
bool EnetPhy_Cfg_s::skipExtendedCfg |
Skip PHY-specific extended configuration
EnetPhy_FsmTimeoutCfg EnetPhy_Cfg_s::timeoutCfg |
PHY state-machine timeout configuration