esp_eth_phy_802_3_get_mmd_addr() function
Reads MDIO device's internal address register
Arguments
phy_802_3
IEEE 802.3 PHY object infostructure
devaddr
Address of MDIO device
mmd_addr
Current address stored in device's register
Return value
- ESP_OK: Address register read successfully - ESP_FAIL: Address register read failed because of some error occurred - ESP_ERR_INVALID_ARG: Device address provided is out of range (hardware limits device address to 5 bits)