esp_eth_phy_802_3_pwrctl() function
Power control of Ethernet PHY
Arguments
phy_802_3
IEEE 802.3 PHY object infostructure
enable
set true to power ON Ethernet PHY; set false to power OFF Ethernet PHY
Return value
- ESP_OK: Ethernet PHY power down mode set successfully - ESP_FAIL: Ethernet PHY power up or power down failed because some error occurred