/* Enables or disables the specified ETHERNET DMA interrupts.  */
void ETH_EnableDmaInt(uint32_t ETH_DMA_IT, FunctionalState Cmd)
/* Enables or disables the specified ETHERNET DMA interrupts.  */
void ETH_EnableDmaInt(uint32_t ETH_DMA_IT, FunctionalState Cmd)
{
    assert_param(IS_ETH_DMA_INT(ETH_DMA_IT));
    assert_param(IS_FUNCTIONAL_STATE(Cmd));
    if (Cmd != DISABLE)
    {
        ETH->DMAINTEN |= ETH_DMA_IT;
    }
    else
    {
        ETH->DMAINTEN &= (~(uint32_t)ETH_DMA_IT);
    }
}