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_desc
Network interface descriptor.
reg_addr
PHY register address.
reg_data
Data to write (16-bits)
Returns
This function returns:
FNET_OK
on success.
FNET_ERR
on failure.
This function writes to an Ethernet PHY's MII register.
© 2005-2020 by Andrej Butok.
http://fnet.sourceforge.net