/* DMA Get FIFO Status. 
Status of FIFO (empty. full or partial filled states) is returned. This has no meaning if direct mode is enabled (as the FIFO is not used). */
uint32_t dma_fifo_status(uint32_t dma, uint8_t stream)
/* DMA Get FIFO Status. 
Status of FIFO (empty. full or partial filled states) is returned. This has no meaning if direct mode is enabled (as the FIFO is not used). */
uint32_t dma_fifo_status(uint32_t dma, uint8_t stream)
{
	return DMA_SFCR(dma, stream) & DMA_SxFCR_FS_MASK;
}