AnsweredAssumed Answered

Setting the UG bit in EGR register of the TIMER 1 of STM32f4 discovery

Question asked by gandalf on Apr 20, 2012
Latest reply on Apr 20, 2012 by Clive One
/*  Configures the TIM1 Prescaler. */
  TIM_PrescalerConfig(TIM1,PrescalerValue,TIM_PSCReloadMode_Update);

I used the above statement to set the UG bit in the EGR register of timer1, but it did not work. Can someone please tell me how i can set this bit?
I am using a STM32F4 discovery board.

Outcomes