/* Set the fields of structure stc_eth_init_t to default values.  */
int32_t ETH_StructInit(stc_eth_init_t *pstcEthInit)
/* Set the fields of structure stc_eth_init_t to default values.  */
int32_t ETH_StructInit(stc_eth_init_t *pstcEthInit)
{
    int32_t i32Ret = LL_OK;
    if (NULL == pstcEthInit) {
        i32Ret = LL_ERR_INVD_PARAM;
    } else {
        (void)ETH_MAC_StructInit(&pstcEthInit->stcMacInit);
        (void)ETH_DMA_StructInit(&pstcEthInit->stcDmaInit);
    }
    return i32Ret;
}