Hi
I do not understand how different tasks will be executed on each interrupt
For example, interrupt occur at every 5ms
When Frist interrupt occur, do the first task
When second interrupt occut, do the second task
When third interrupt occur, do the third task
Repeat whole process
Here is my idea how first interrupt occur and finish his work in ISR but I don't understand how and when second and third task will execute?
I do not understand how different tasks will be executed on each interrupt
For example, interrupt occur at every 5ms
When Frist interrupt occur, do the first task
When second interrupt occut, do the second task
When third interrupt occur, do the third task
Repeat whole process
Here is my idea how first interrupt occur and finish his work in ISR but I don't understand how and when second and third task will execute?