Embedded TCP/IP stack  4.7.0

◆ fnet_eth_phy_write()

fnet_return_t fnet_eth_phy_write ( fnet_netif_desc_t  netif_desc,
fnet_uint32_t  reg_addr,
fnet_uint16_t  reg_data 
)

Write Ethernet PHY's MII register.

Parameters
netif_descNetwork interface descriptor.
reg_addrPHY register address.
reg_dataData to write (16-bits)
Returns
This function returns:

This function writes to an Ethernet PHY's MII register.


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