/* Set Timer DMA Requests on Update Events. 
Update events will cause DMA requests to be generated. */
void timer_set_dma_on_update_event(uint32_t timer_peripheral)
/* Set Timer DMA Requests on Update Events. 
Update events will cause DMA requests to be generated. */
void timer_set_dma_on_update_event(uint32_t timer_peripheral)
{
	TIM_CR2(timer_peripheral) |= TIM_CR2_CCDS;
}