Function esp_idf_sys::esp_eth_mac_new_esp32

source ยท
pub unsafe extern "C" fn esp_eth_mac_new_esp32(
    esp32_config: *const eth_esp32_emac_config_t,
    config: *const eth_mac_config_t,
) -> *mut esp_eth_mac_t
Expand description

@brief Create ESP32 Ethernet MAC instance

@param esp32_config: EMAC specific configuration @param config: Ethernet MAC configuration

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