/* param base ENET peripheral base address. param config ENET mac configuration structure pointer. The "enet_qos_config_t" type mac configuration return from ENET_QOS_GetDefaultConfig can be used directly. It is also possible to verify the Mac configuration using other methods. param macAddr ENET mac address of Ethernet device. This MAC address should be provided. param refclkSrc_Hz ENET input reference clock.  */
status_t ENET_QOS_Up(ENET_QOS_Type *base, const enet_qos_config_t *config, uint8_t *macAddr, uint8_t macCount, uint32_t refclkSrc_Hz)
/* param base ENET peripheral base address. param config ENET mac configuration structure pointer. The "enet_qos_config_t" type mac configuration return from ENET_QOS_GetDefaultConfig can be used directly. It is also possible to verify the Mac configuration using other methods. param macAddr ENET mac address of Ethernet device. This MAC address should be provided. param refclkSrc_Hz ENET input reference clock.  */
status_t ENET_QOS_Up(ENET_QOS_Type *base, const enet_qos_config_t *config, uint8_t *macAddr, uint8_t macCount, uint32_t refclkSrc_Hz)
{
    assert(config != NULL);
    status_t result = kStatus_Success;
    ENET_QOS_SetMTL(base, config);
    ENET_QOS_SetMacControl(base, config, macAddr, macCount);
    return result;
}