TIM updated callback
I am using 4 TIMs for updated interrupts functions. in the main while loop, I will call start the timer. and if the timer reaches its full-period and call the callback function. A Flag will be setted in the callback function and print a timeout meassage. The problem I found is the timeout will be triggerred in every powered on. Everytime I click reset MCU, it will first enter the callback function and print the "timeout message". Why this will happen and how to avoid this?
Thanks all in advance!



