2025-08-28 9:33 AM - edited 2025-08-28 9:58 AM
The way the ref manual states this makes it sound like, if, before you start a counter, you "manually" set the counter to a value higher than the period value, it will NOT start counting / reset back to zero once the timer is actually enabled.
However, when I try to do this, as soon as I enable the timer it doesn't function this way.
The Timer has no reset bits set in the RST register; It's in continuous mode, and the period value is set to 1000. The counter value is manually set to 19999 before it's enabled.
Once enabled, the timer begins counting right away, without an external reset event to trigger it. It's like setting the counter above the period value did nothing.
Am I misunderstanding what I'm reading, or is there something else I'm missing here? Is this "feature" only applicable to single shot modes or something? (unsure what the purpose would be there)
Thank you.