2014-03-06 06:15 PM
Hi ,
I have a timer programmed to monitor a timeout event using timer interrupt(every 100ms). If the event occurs within the time (100ms) i would like to refresh the timeout. Is the below code able to do it ?TIM_Cmd(TIM14, DISABLE);
TIM_Cmd(TIM14, ENABLE);
Is there a better way ?
Thanks.
I am using stm32f4.
2014-03-06 06:28 PM
TIM14->CNT = 0; //??
2014-03-06 06:37 PM