AM64x MCU+ SDK  10.01.00
dp83tg720.h File Reference

Introduction

This file contains the type definitions and helper macros for the DP83TG720 Ethernet PHY.

Go to the source code of this file.

Data Structures

struct  Dp83tg720_Cfg
 DP83TG720 PHY configuration parameters. More...
 

Enumerations

enum  Dp83tg720_MasterSlaveMode { DP83TG720_MASTER_SLAVE_STRAP = 0x0U, DP83TG720_MASTER_MODE = 0x1U, DP83TG720_SLAVE_MODE = 0x2U }
 DP83TG720 Master/Slave modes. More...
 

Functions

void Dp83tg720_initCfg (Dp83tg720_Cfg *cfg)
 Initialize DP83TG720 PHY specific config params. More...
 
void Dp83tg720_bind (EthPhyDrv_Handle *hPhy, uint8_t phyAddr, Phy_RegAccessCb_t *pRegAccessCb)
 
bool Dp83tg720_isPhyDevSupported (EthPhyDrv_Handle hPhy, const void *pversion)
 
bool Dp83tg720_isMacModeSupported (EthPhyDrv_Handle hPhy, Phy_Mii mii)
 
int32_t Dp83tg720_config (EthPhyDrv_Handle hPhy, const void *pExtCfg, const uint32_t extCfgSize, Phy_Mii mii, bool loopbackEn)
 
void Dp83tg720_reset (EthPhyDrv_Handle hPhy)
 
bool Dp83tg720_isResetComplete (EthPhyDrv_Handle hPhy)
 
void Dp83tg720_printRegs (EthPhyDrv_Handle hPhy)