/* Returns the specified DMA Rx Desc frame length.  */
uint32_t ETH_GetDmaRxDescFrameLen(__IO ETH_DMADescType *DMARxDesc)
/* Returns the specified DMA Rx Desc frame length.  */
uint32_t ETH_GetDmaRxDescFrameLen(__IO ETH_DMADescType *DMARxDesc)
{
    return ((DMARxDesc->Status & ETH_DMA_RX_DESC_FL) >> ETH_DMA_RX_DESC_FRAME_LEN_SHIFT);
}