AM263Px MCU+ SDK: EnetPhy_Obj Struct Reference

| AM263Px MCU+ SDK 26.00.00 |

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

## Detailed Description

PHY driver object.

## Data Fields
EnetPhy_MdioHandle | hMdio
EnetPhy_Cfg | phyCfg
EnetPhy_Mii | mii
uint32_t | macCaps
EnetPhy_LinkCfg | linkCfg
EnetPhy_FsmTimeoutCfg | timeoutCfg
EnetPhy_State | state
uint32_t | group
uint32_t | addr
uint32_t | reqLinkCaps
Phy_DrvObj_t | hDrvIf
EnetPhy_Magic | magic
Mdio_Obj * | mdioArgs
void * | priv

## Field Documentation

## ◆ hMdio

EnetPhy_MdioHandle EnetPhy_Obj::hMdio

MDIO handle used to access PHY registers

## ◆ phyCfg

EnetPhy_Cfg EnetPhy_Obj::phyCfg

PHY configuration params

## ◆ mii

EnetPhy_Mii EnetPhy_Obj::mii

MII interface type

## ◆ macCaps

uint32_t EnetPhy_Obj::macCaps

MAC port supported capabilities

## ◆ linkCfg

EnetPhy_LinkCfg EnetPhy_Obj::linkCfg

Port Link configuration (speed, duplexity)

## ◆ timeoutCfg

EnetPhy_FsmTimeoutCfg EnetPhy_Obj::timeoutCfg

State-machine timeout configuration

## ◆ state

EnetPhy_State EnetPhy_Obj::state

State-machine state

## ◆ group

uint32_t EnetPhy_Obj::group

PHY group

## ◆ addr

uint32_t EnetPhy_Obj::addr

PHY device address

## ◆ reqLinkCaps

uint32_t EnetPhy_Obj::reqLinkCaps

Requested link capability mask

## ◆ hDrvIf

Phy_DrvObj_t EnetPhy_Obj::hDrvIf

PHY driver

## ◆ magic

EnetPhy_Magic EnetPhy_Obj::magic

Magic number indicating that this object is in use

## ◆ mdioArgs

Mdio_Obj* EnetPhy_Obj::mdioArgs

Caller-provided arguments to be used in MDIO driver calls

## ◆ priv

void* EnetPhy_Obj::priv

Private data that is used by the driver