Embedded TCP/IP stack  4.7.0

◆ fnet_eth_phy_read()

fnet_return_t fnet_eth_phy_read ( fnet_netif_desc_t  netif_desc,
fnet_uint32_t  reg_addr,
fnet_uint16_t *  reg_data 
)

Read a value from an Ethernet PHY's MII register.

Parameters
netif_descNetwork interface descriptor.
reg_addrPHY register address.
reg_dataPointer where result is written to (16-bits)
Returns
This function returns:

This function reads a value of the Ethernet PHY's MII register.


© 2005-2020 by Andrej Butok. http://fnet.sourceforge.net