Data Fields
CpswPhy_Config_s Struct Reference

PHY configuration parameters. More...

#include <cpsw_phy.h>

Data Fields

uint32_t phyAddr
 
uint32_t nwayCaps
 
bool mdixEnable
 
bool isStrapped
 
bool enableLoopback
 
bool masterMode
 
bool extClkSource
 
bool skipExtendedConfig
 
CpswPhy_FsmTimeoutConfig timeoutConfig
 
uint8_t extendedConfig [CPSW_PHY_EXTENDED_CFG_SIZE_MAX]
 
uint32_t extendedConfigSize
 

Detailed Description

PHY configuration parameters.

Field Documentation

bool CpswPhy_Config_s::enableLoopback

Enable loopback once PHY is found

bool CpswPhy_Config_s::extClkSource

Enable external clock source

uint8_t CpswPhy_Config_s::extendedConfig[CPSW_PHY_EXTENDED_CFG_SIZE_MAX]

Extended PHY-specific configuration

uint32_t CpswPhy_Config_s::extendedConfigSize

Size of the extended configuration

bool CpswPhy_Config_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 CpswPhy_Config_s::masterMode

Enable master mode

bool CpswPhy_Config_s::mdixEnable

MDIX enable

uint32_t CpswPhy_Config_s::nwayCaps

Auto-negotiation advertise capabilities

uint32_t CpswPhy_Config_s::phyAddr

PHY device address

bool CpswPhy_Config_s::skipExtendedConfig

Skip PHY-specific extended configuration

CpswPhy_FsmTimeoutConfig CpswPhy_Config_s::timeoutConfig

PHY state-machine timeout configuration


The documentation for this struct was generated from the following file:

Copyright 2020, Texas Instruments Incorporated