Closed AndreySmirnov81 closed 1 year ago
It is strange. trigger_update
should not cause interrupt.
Maybe wait
doesn't clear flag correctly?
wait
clears the flag correctly, however, the timer
does not stop and works cyclically, which leads to the fact that the TIMx_SR.UIF flag is constantly set.
bors r+
CounterHz
andCounter
do notwait
properly after the second and subsequentstart
.