This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ST without ISR

I'll use one timer for eight different events (with different values). If a event happened, the value of the variable will be increased.

variable1++ if 2x timer value will be increased
variable2++ if 5x timer value will be increased

and so on.

Is that possible to do that without the use of a ISR?

The main program will ask for the value of the variable1, variable2 - it is only important if the value of the variable1 e.g. is greater than one defined value - not if the value of the variable1 = defined value.

best regards
Bernd