2020-09-14 03:13 AM
How do I restart a timer properly?
I can set the counter value, but what about the prescalers?
2020-09-14 04: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 06:04 AM
Generating an update event will clear the prescaler counter.