/* Enables or disables the specified ETHERNET MAC interrupts.  */
void ETH_EnableMacInt(uint32_t ETH_MAC_IT, FunctionalState Cmd)
/* Enables or disables the specified ETHERNET MAC interrupts.  */
void ETH_EnableMacInt(uint32_t ETH_MAC_IT, FunctionalState Cmd)
{
    assert_param(IS_ETH_MAC_INT(ETH_MAC_IT));
    assert_param(IS_FUNCTIONAL_STATE(Cmd));
    if (Cmd != DISABLE)
    {
        ETH->MACINTMSK &= (~(uint32_t)ETH_MAC_IT);
    }
    else
    {
        ETH->MACINTMSK |= ETH_MAC_IT;
    }
}