Function esp_idf_svc::sys::esp_eth_driver_install
source · pub unsafe extern "C" fn esp_eth_driver_install(
config: *const esp_eth_config_t,
out_hdl: *mut *mut c_void,
) -> i32
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