Function esp_idf_sys::esp_eth_start

source ·
pub unsafe extern "C" fn esp_eth_start(
    hdl: esp_eth_handle_t
) -> esp_err_t
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