Using timers as perodic software event trigger
Hello!! I'm a total newbie, so sorry for any mistakes, and I would like to ask for simple explanations as well.
As title states, I would like to use a timer chosen from TIMx, not as an output on a pin, but rather for software only usage, to do an action periodically, instead of using a delay that would halt the rest of execution.
I know which bus the timer is on, what is its frequency. I think I understand how to bring it down using prescaler and ARR. But from other settings in "Pinout & Configuration" tab- what should the channel be set as? Should anything else be changed from default in "Configuration"? Or in other tabs?
And also, how should code look like? Which function (or maybe something else?) would be useful for such application?
I am using CubeIDE version 1.10.1.
