Function esp_idf_svc::sys::esp_eth_mac_new_ksz8851snl

source ยท
pub unsafe extern "C" fn esp_eth_mac_new_ksz8851snl(
    ksz8851snl_config: *const eth_ksz8851snl_config_t,
    mac_config: *const eth_mac_config_t,
) -> *mut esp_eth_mac_s
Expand description

@brief Create KSZ8851SNL Ethernet MAC instance

@param ksz8851snl_config: KSZ8851SNL specific configuration @param mac_config: Ethernet MAC configuration

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