Function esp_idf_svc::sys::esp_eth_start
source ยท pub unsafe extern "C" fn esp_eth_start(hdl: *mut c_void) -> i32
Expand description
@brief Start Ethernet driver ONLY in standalone mode (i.e. without TCP/IP stack)
@note This API will start driver state machine and internal software timer (for checking link status).
@param[in] hdl handle of Ethernet driver
@return - ESP_OK: start esp_eth driver successfully - ESP_ERR_INVALID_ARG: start esp_eth driver failed because of some invalid argument - ESP_ERR_INVALID_STATE: start esp_eth driver failed because driver has started already - ESP_FAIL: start esp_eth driver failed because some other error occurred