2020-09-14 3:13 AM
How do I restart a timer properly?
I can set the counter value, but what about the prescalers?
2020-09-14 4:14 AM
You can edit the copy of the timer init function and make the counter and prescaler values variable. Or you can change it to htimx.instance-> PSC = 0x ...
2020-09-14 6:04 AM
Generating an update event will clear the prescaler counter.