Function esp_idf_svc::hal::sys::esp_eth_stop

source ยท
pub unsafe extern "C" fn esp_eth_stop(hdl: *mut c_void) -> i32
Expand description

@brief Stop Ethernet driver

@note This function does the oppsite operation of esp_eth_start.

@param[in] hdl handle of Ethernet driver @return - ESP_OK: stop esp_eth driver successfully - ESP_ERR_INVALID_ARG: stop esp_eth driver failed because of some invalid argument - ESP_ERR_INVALID_STATE: stop esp_eth driver failed because driver has not started yet - ESP_FAIL: stop esp_eth driver failed because some other error occurred