AM64x MCU+ SDK  12.01.00

Introduction

TI DP83826 RMII Ethernet PHY.

Data Structures

struct  Dp83826_Cfg
 dp83826 PHY configuration parameters. More...
 

Functions

void Dp83826_initCfg (Dp83826_Cfg *cfg)
 Initialize dp83826 PHY specific config params. More...
 
void Dp83826_bind (EthPhyDrv_Handle *hPhy, uint8_t phyAddr, Phy_RegAccessCb_t *pRegAccessCb)
 
bool Dp83826_isPhyDevSupported (EthPhyDrv_Handle hPhy, const void *pVersion)
 
bool Dp83826_isMacModeSupported (EthPhyDrv_Handle hPhy, Phy_Mii mii)
 
int32_t Dp83826_config (EthPhyDrv_Handle hPhy, const void *pExtCfg, const uint32_t extCfgSize, Phy_Mii mii, bool loopbackEn)
 
void Dp83826_printRegs (EthPhyDrv_Handle hPhy)
 

Enumerations

enum  Dp83826_LedMode {
  DP83826_LED_LINK_OK = 0x0U, DP83826_LED_RXTXACT = 0x1U, DP83826_LED_TXACT = 0x2U, DP83826_LED_RXACT = 0x3U,
  DP83826_LED_COLLISION = 0x4U, DP83826_LED_SPEED_100BTX = 0x5U, DP83826_LED_SPEED_10BTX = 0x6U, DP83826_LED_FULL_DUPLEX = 0x7U,
  DP83826_LED_BLINK_ACT = 0x8U, DP83826_LED_STRETCH_ACT = 0x9U, DP83826_LED_100BTFD = 0xAU, DP83826_LED_LPI_MODE = 0xBU,
  DP83826_LED_RXTXERR = 0xCU, DP83826_LED_LINK_LOSS = 0xDU, DP83826_LED_PRBS_ERROR = 0xEU
}
 LED modes (sources). More...
 

Enumeration Type Documentation

◆ Dp83826_LedMode

LED modes (sources).

Enumerator
DP83826_LED_LINK_OK 

Link established

DP83826_LED_RXTXACT 

Receive or transmit activity

DP83826_LED_TXACT 

Transmit activity

DP83826_LED_RXACT 

Receive activity

DP83826_LED_COLLISION 

Collision detected

DP83826_LED_SPEED_100BTX 

Speed, High for 100BASE-TX

DP83826_LED_SPEED_10BTX 

Speed, High for 10BASE-T

DP83826_LED_FULL_DUPLEX 

Full-Duplex

DP83826_LED_BLINK_ACT 

LINK OK / BLINK on TX/RX Activity

DP83826_LED_STRETCH_ACT 

Active Stretch Signal

DP83826_LED_100BTFD 

MII LINK (100BT+FD)

DP83826_LED_LPI_MODE 

LPI Mode (Energy Efficient Ethernet)

DP83826_LED_RXTXERR 

TX/RX MII Error

DP83826_LED_LINK_LOSS 

Link Lost (remains on until register 0x0001 is read)

DP83826_LED_PRBS_ERROR 

Blink for PRBS error (remains ON for single error, remains until counter is cleared)

Function Documentation

◆ Dp83826_initCfg()

void Dp83826_initCfg ( Dp83826_Cfg cfg)

Initialize dp83826 PHY specific config params.

Initializes the dp83826 PHY specific configuration parameters.

Parameters
cfgdp83826 PHY config structure pointer

◆ Dp83826_bind()

void Dp83826_bind ( EthPhyDrv_Handle hPhy,
uint8_t  phyAddr,
Phy_RegAccessCb_t pRegAccessCb 
)

◆ Dp83826_isPhyDevSupported()

bool Dp83826_isPhyDevSupported ( EthPhyDrv_Handle  hPhy,
const void *  pVersion 
)

◆ Dp83826_isMacModeSupported()

bool Dp83826_isMacModeSupported ( EthPhyDrv_Handle  hPhy,
Phy_Mii  mii 
)

◆ Dp83826_config()

int32_t Dp83826_config ( EthPhyDrv_Handle  hPhy,
const void *  pExtCfg,
const uint32_t  extCfgSize,
Phy_Mii  mii,
bool  loopbackEn 
)

◆ Dp83826_printRegs()

void Dp83826_printRegs ( EthPhyDrv_Handle  hPhy)