/* Set Timer DMA Requests on Capture/Compare Events. 
Capture/compare events will cause DMA requests to be generated. */
void timer_set_dma_on_compare_event(uint32_t timer_peripheral)
/* Set Timer DMA Requests on Capture/Compare Events. 
Capture/compare events will cause DMA requests to be generated. */
void timer_set_dma_on_compare_event(uint32_t timer_peripheral)
{
	TIM_CR2(timer_peripheral) &= ~TIM_CR2_CCDS;
}