/* DMA Channel Enable Transfers from Memory. 
The data direction is set to read from memory. */
void dma_set_read_from_memory(uint32_t dma, uint8_t channel)
/* DMA Channel Enable Transfers from Memory. 
The data direction is set to read from memory. */
void dma_set_read_from_memory(uint32_t dma, uint8_t channel)
{
	DMA_CCR(dma, channel) |= DMA_CCR_DIR;
}