Page 1 of 1

以太网速度设置

Posted: Mon Sep 13, 2021 5:58 am
by wangzhen
获取/设置以太网速度10M/100M的函数;

Code: Select all

s_mac = esp_eth_mac_new_esp32(&mac_config);
if(s_mac->set_speed(s_mac, ETH_SPEED_100M) == ESP_OK) 
{
    printf("ESP32 set eth speed (100M) is ok..\n");
}
这样对吗??