pub unsafe extern "C" fn esp_eth_driver_install(
    config: *const esp_eth_config_t,
    out_hdl: *mut esp_eth_handle_t
) -> esp_err_t
Expand description

@brief Install Ethernet driver

@param[in] config: configuration of the Ethernet driver @param[out] out_hdl: handle of Ethernet driver

@return - ESP_OK: install esp_eth driver successfully - ESP_ERR_INVALID_ARG: install esp_eth driver failed because of some invalid argument - ESP_ERR_NO_MEM: install esp_eth driver failed because there’s no memory for driver - ESP_FAIL: install esp_eth driver failed because some other error occurred