以太网速度设置

wangzhen
Posts: 5
Joined: Fri Jul 16, 2021 10:14 am

以太网速度设置

Postby wangzhen » Mon Sep 13, 2021 5:58 am

获取/设置以太网速度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");
}
这样对吗??

Who is online

Users browsing this forum: No registered users and 161 guests