Tool/software: Code Composer Studio
I started timer0 for time count use. I set timer0 to stop when it reached 0. but it not work properly. By debugging step by step, I finnally find that ,when I set TSS to 0 to start the timer, the timer counter changed to 0,and the timer stopped ,TIF changed to 1. what is wrong with my program.
My register is set like this:
while my program is like this: