Embedded TCP/IP stack
4.7.0
|
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.
netif_desc | Network interface descriptor. |
reg_addr | PHY register address. |
reg_data | Pointer where result is written to (16-bits) |
This function reads a value of the Ethernet PHY's MII register.