/* Enables or disables the specified DMA Rx Desc receive interrupt.  */
void ETH_EnableDmaRxDescReceiveInt(ETH_DMADescType *DMARxDesc, FunctionalState Cmd)
/* Enables or disables the specified DMA Rx Desc receive interrupt.  */
void ETH_EnableDmaRxDescReceiveInt(ETH_DMADescType *DMARxDesc, FunctionalState Cmd)
{
    assert_param(IS_FUNCTIONAL_STATE(Cmd));
    if (Cmd != DISABLE)
    {
        DMARxDesc->CtrlOrBufSize &= (~(uint32_t)ETH_DMA_RX_DESC_DIC);
    }
    else
    {
        DMARxDesc->CtrlOrBufSize |= ETH_DMA_RX_DESC_DIC;
    }
}