esp_idf_hal::sys

Function esp_eth_get_phy_instance

Source
pub unsafe extern "C" fn esp_eth_get_phy_instance(
    hdl: *mut c_void,
    phy: *mut *mut esp_eth_phy_s,
) -> i32
Expand description

@brief Get PHY instance memory address

@param[in] hdl handle of Ethernet driver @param[out] phy pointer to memory to store the instance @return esp_err_t - ESP_OK: success - ESP_ERR_INVALID_ARG: failed because of some invalid argument