/* Checks whether the specified ETHERNET DMA Tx Desc flag is set or not.  */
FlagStatus ETH_GetDmaTxDescFlagStatus(ETH_DMADescType *DMATxDesc, uint32_t ETH_DMATxDescFlag)
/* Checks whether the specified ETHERNET DMA Tx Desc flag is set or not.  */
FlagStatus ETH_GetDmaTxDescFlagStatus(ETH_DMADescType *DMATxDesc, uint32_t ETH_DMATxDescFlag)
{
    FlagStatus bitstatus = RESET;
    assert_param(IS_ETH_DMATXDESC_GET_FLAG(ETH_DMATxDescFlag));
    if ((DMATxDesc->Status & ETH_DMATxDescFlag) != (uint32_t)RESET)
    {
        bitstatus = SET;
    }
    else
    {
        bitstatus = RESET;
    }
    return bitstatus;
}