Other Parts Discussed in Thread: SYSBIOS
Tool/software: TI-RTOS
Hi,
I am using TIRTOS 2.16.01.14.
I configured a timer module in the configuration file as shown below.
To start the timer I am using the code,
Key = Hwi_disable();
Timer_stop(Wdt);
Timer_setPeriodMicroSecs(Wdt,(timeoutValue[0] * 1000));
Timer_start(Wdt);
Hwi_restore(Key);
I want to clear the counter of timer. For that which API I have to use? I couldn't find any API for clearing counter register of timer in the cdoc document. Can you please tell me how to reset the counter of timer?
Regards
Sandra