/* DMA Stream Channel Select. 
Ensure that the stream is disabled otherwise the setting will not be changed. */
void dma_channel_select(uint32_t dma, uint8_t stream, uint32_t channel)
/* DMA Stream Channel Select. 
Ensure that the stream is disabled otherwise the setting will not be changed. */
void dma_channel_select(uint32_t dma, uint8_t stream, uint32_t channel)
{
	DMA_SCR(dma, stream) |= channel;
}