/* Disable Timer Update Events. 
Update events are not generated and the shadow registers keep their values. */
void timer_disable_update_event(uint32_t timer_peripheral)
/* Disable Timer Update Events. 
Update events are not generated and the shadow registers keep their values. */
void timer_disable_update_event(uint32_t timer_peripheral)
{
	TIM_CR1(timer_peripheral) |= TIM_CR1_UDIS;
}