Embedded TCP/IP stack  4.7.0

◆ fnet_eth_phy_set_addr()

fnet_return_t fnet_eth_phy_set_addr ( fnet_netif_desc_t  netif_desc,
fnet_uint8_t  phy_addr 
)

Set the PHY address number of the specified Ethernet interface.

Parameters
netif_descEthernet network interface descriptor.
phy_addrPHY address number.
Returns
This function returns:
See also
fnet_eth_phy_get_addr(), FNET_CFG_CPU_ETH0_PHY_ADDR

This function changes the PHY address of the netif interface to the phy_addr value.
This function is optional, default PHY address is defined by FNET_CFG_CPU_ETH0_PHY_ADDR


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