Function esp_idf_sys::esp_eth_stop

source ยท
pub unsafe extern "C" fn esp_eth_stop(
    hdl: esp_eth_handle_t,
) -> esp_err_t
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