Embedded TCP/IP stack
4.7.0
|
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.
netif_desc | Ethernet network interface descriptor. |
phy_addr | PHY address number. |
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