/* Enables or disables the specified ETHERNET MMC interrupts.  */
void ETH_EnableMmcInt(uint32_t ETH_MMC_IT, FunctionalState Cmd)
/* Enables or disables the specified ETHERNET MMC interrupts.  */
void ETH_EnableMmcInt(uint32_t ETH_MMC_IT, FunctionalState Cmd)
{
    assert_param(IS_ETH_MMC_INT(ETH_MMC_IT));
    assert_param(IS_FUNCTIONAL_STATE(Cmd));
    if ((ETH_MMC_IT & (uint32_t)0x10000000) != (uint32_t)RESET)
    {
        ETH_MMC_IT &= 0xEFFFFFFF;
        if (Cmd != DISABLE)
        {
            ETH->MMCRXINTMSK &= (~(uint32_t)ETH_MMC_IT);
        }
        else
        {
            ETH->MMCRXINTMSK |= ETH_MMC_IT;
        }
    }
    else
    {
        if (Cmd != DISABLE)
        {
            ETH->MMCTXINTMSK &= (~(uint32_t)ETH_MMC_IT);
        }
        else
        {
            ETH->MMCTXINTMSK |= ETH_MMC_IT;
        }
    }
}