/* DMA Stream Set Peripheral Burst Configuration. 
Ensure that the stream is disabled otherwise the setting will not be changed. */
void dma_set_peripheral_burst(uint32_t dma, uint8_t stream, uint32_t burst)
/* DMA Stream Set Peripheral Burst Configuration. 
Ensure that the stream is disabled otherwise the setting will not be changed. */
void dma_set_peripheral_burst(uint32_t dma, uint8_t stream, uint32_t burst)
{
	uint32_t reg32 = (DMA_SCR(dma, stream) & ~DMA_SxCR_PBURST_MASK);
	DMA_SCR(dma, stream) = (reg32 | burst);
}