/* DMA Stream Enable Memory Circular Mode. 
Ensure that the stream is disabled otherwise the setting will not be changed. */
void dma_enable_circular_mode(uint32_t dma, uint8_t stream)
/* DMA Stream Enable Memory Circular Mode. 
Ensure that the stream is disabled otherwise the setting will not be changed. */
void dma_enable_circular_mode(uint32_t dma, uint8_t stream)
{
	DMA_SCR(dma, stream) |= DMA_SxCR_CIRC;
}