/* The purpose of this API is to get the default ENET configure structure for ENET_QOS_Init(). User may use the initialized structure unchanged in ENET_QOS_Init(), or modify some fields of the structure before calling ENET_QOS_Init(). Example: code enet_qos_config_t config; ENET_QOS_GetDefaultConfig(&config); endcode param config The ENET mac controller configuration structure pointer.  */
void ENET_QOS_GetDefaultConfig(enet_qos_config_t *config)
/* The purpose of this API is to get the default ENET configure structure for ENET_QOS_Init(). User may use the initialized structure unchanged in ENET_QOS_Init(), or modify some fields of the structure before calling ENET_QOS_Init(). Example: code enet_qos_config_t config; ENET_QOS_GetDefaultConfig(&config); endcode param config The ENET mac controller configuration structure pointer.  */
void ENET_QOS_GetDefaultConfig(enet_qos_config_t *config)
{
    assert(config != NULL);
    (void)memset(config, 0, sizeof(*config));
    config->miiMode   = kENET_QOS_RgmiiMode;
    config->miiSpeed  = kENET_QOS_MiiSpeed1000M;
    config->miiDuplex = kENET_QOS_MiiFullDuplex;
    config->specialControl = 0;
    config->multiqueueCfg  = NULL;
    config->pauseDuration  = 0;
    config->ptpConfig = NULL;
}