/* Checks whether the ETHERNET transmit DATFIFO bit is cleared or not.  */
FlagStatus ETH_GetFlushTxFifoStatus(void)
/* Checks whether the ETHERNET transmit DATFIFO bit is cleared or not.  */
FlagStatus ETH_GetFlushTxFifoStatus(void)
{
    FlagStatus bitstatus = RESET;
    if ((ETH->DMAOPMOD & ETH_DMAOPMOD_FTF) != (uint32_t)RESET)
    {
        bitstatus = SET;
    }
    else
    {
        bitstatus = RESET;
    }
    return bitstatus;
}