Embedded TCP/IP stack  4.7.0
Ethernet Interface API

Detailed Description

This section describes API that is only for Ethernet network interfaces.

Functions

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. More...
 
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. More...
 
fnet_uint8_t fnet_eth_phy_get_addr (fnet_netif_desc_t netif_desc)
 Get a PHY address number of the specified Ethernet interface. More...
 
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. More...
 

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