Function esp_idf_svc::hal::sys::esp_eth_mac_new_w5500

source ยท
pub unsafe extern "C" fn esp_eth_mac_new_w5500(
    w5500_config: *const eth_w5500_config_t,
    mac_config: *const eth_mac_config_t,
) -> *mut esp_eth_mac_s
Expand description

@brief Create W5500 Ethernet MAC instance

@param w5500_config: W5500 specific configuration @param mac_config: Ethernet MAC configuration

@return - instance: create MAC instance successfully - NULL: create MAC instance failed because some error occurred