Function esp_idf_svc::sys::esp_eth_mac_new_dm9051

source ยท
pub unsafe extern "C" fn esp_eth_mac_new_dm9051(
    dm9051_config: *const eth_dm9051_config_t,
    mac_config: *const eth_mac_config_t,
) -> *mut esp_eth_mac_s
Expand description

@brief Create DM9051 Ethernet MAC instance

@param dm9051_config: DM9051 specific configuration @param mac_config: Ethernet MAC configuration

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