AM263Px MCU+ SDK: EnetPhy_Cfg Struct Reference

| AM263Px MCU+ SDK 26.00.00 |

Data Fields
EnetPhy_Cfg Struct Reference
APIs for Networking modules » APIs for Enet LLD » Ethernet PHY Driver

## Detailed Description

PHY configuration parameters.

## Data Fields
uint32_t | phyGroup
uint32_t | phyAddr
uint32_t | nwayCaps
bool | mdixEn
bool | isStrapped
bool | isIsolateStateReq
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

## ◆ isIsolateStateReq

bool EnetPhy_Cfg::isIsolateStateReq

Whether Isolate state is requested from the application

## ◆ 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