ETH_PHY_IO_ReadReg() is only used within LwIP_TCP_Echo_Server.
 
Symbols
loading...
Files
loading...

ETH_PHY_IO_ReadReg() function

Read a PHY register through the MDIO interface.

Syntax

int32_t ETH_PHY_IO_ReadReg(uint32_t DevAddr,     uint32_t RegAddr,     uint32_t *pRegVal);
Implemented in ethernetif.c:446

Arguments

DevAddr

PHY port address

RegAddr

PHY register address

pRegVal

pointer to hold the register value

Return value

0 if OK -1 if Error

References

LocationText
ethernetif.c:446
int32_t ETH_PHY_IO_ReadReg(uint32_t DevAddr, uint32_t RegAddr, uint32_t *pRegVal)
ethernetif.c:92
int32_t ETH_PHY_IO_ReadReg(uint32_t DevAddr, uint32_t RegAddr, uint32_t *pRegVal);
ethernetif.c:100
ETH_PHY_IO_ReadReg,

Call Tree

Functions called by ETH_PHY_IO_ReadReg()
ETH_PHY_IO_ReadReg()
all items filtered out
Data read by ETH_PHY_IO_ReadReg()
ETH_PHY_IO_ReadReg()
Implementations
ETH_PHY_IO_ReadReg()
all items filtered out
Type of ETH_PHY_IO_ReadReg()
ETH_PHY_IO_ReadReg()
int32_t
all items filtered out