/* Set the Timer to Count Up. 
This has no effect if the timer is set to center aligned. */
void timer_direction_up(uint32_t timer_peripheral)
/* Set the Timer to Count Up. 
This has no effect if the timer is set to center aligned. */
void timer_direction_up(uint32_t timer_peripheral)
{
	TIM_CR1(timer_peripheral) &= ~TIM_CR1_DIR_DOWN;
}