/* Returns the current DMAy Streamx FIFO filled level.  */
uint32_t DMA_GetFIFOStatus(DMA_Stream_TypeDef *DMAy_Streamx)
/* Returns the current DMAy Streamx FIFO filled level.  */
uint32_t DMA_GetFIFOStatus(DMA_Stream_TypeDef *DMAy_Streamx)
{
  uint32_t tmpreg = 0;
  assert_param(IS_DMA_ALL_PERIPH(DMAy_Streamx));
  tmpreg = (uint32_t)((DMAy_Streamx->FCR & DMA_SxFCR_FS));
  return tmpreg;
}