Timer interrupt handler

DELETED

Here is my REAL code

Well, a snippet of it, anyway. If you really want explanations, you need to post ALL of your code.

Please post a Minimal, Complete, and Verifiable example