AM62x MCU+ SDK  10.01.00
dp83tc812.h File Reference

Introduction

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

Go to the source code of this file.

Data Structures

struct  Dp83tc812_Cfg
 DP83TC812 PHY configuration parameters. More...
 

Enumerations

enum  Dp83tc812_MasterSlaveMode { DP83TC812_MASTER_SLAVE_STRAP = 0x0U, DP83TC812_MASTER_MODE = 0x1U, DP83TC812_SLAVE_MODE = 0x2U }
 DP83TC812 Master/Slave modes. More...
 

Functions

void Dp83tc812_initCfg (Dp83tc812_Cfg *cfg)
 Initialize DP83TC812 PHY specific config params. More...
 
void Dp83tc812_bind (EthPhyDrv_Handle *hPhy, uint8_t phyAddr, Phy_RegAccessCb_t *pRegAccessCb)
 
bool Dp83tc812_isPhyDevSupported (EthPhyDrv_Handle hPhy, const void *pversion)
 
bool Dp83tc812_isMacModeSupported (EthPhyDrv_Handle hPhy, Phy_Mii mii)
 
int32_t Dp83tc812_config (EthPhyDrv_Handle hPhy, const void *pExtCfg, const uint32_t extCfgSize, Phy_Mii mii, bool loopbackEn)
 
void Dp83tc812_reset (EthPhyDrv_Handle hPhy)
 
bool Dp83tc812_isResetComplete (EthPhyDrv_Handle hPhy)
 
void Dp83tc812_printRegs (EthPhyDrv_Handle hPhy)