vead
Full Member level 5
Hello everyone
There are two type of interrupt, hardware ans software interrupt. When we have to do any task at any specific time, we use timer interrupts like if we have to do task after 1 second then we will set timer interrupt. interrupt will occur at every 1 second. Hardware interrupt like if any event happen interrupt will generate such as if any switch press turn on the motor. interrupt will happen at every switch press.
Scheduling decide which task should execute at this time. My understanding say that we set the timer interrupt for every tasks.
set interrupt for 10 ms (task 1)
set interrupt for 12 ms (task 2)
set interrupt for 15 ms (task 1)
We set priority for every task's
first priority (task 3)
second priority (Task 2)
third priority (Task 1)
I have the knowledge of timer interrupt and priority. if I want to make basic scheduler program then what's the programming knowledge required to implement simple scheduler
There are two type of interrupt, hardware ans software interrupt. When we have to do any task at any specific time, we use timer interrupts like if we have to do task after 1 second then we will set timer interrupt. interrupt will occur at every 1 second. Hardware interrupt like if any event happen interrupt will generate such as if any switch press turn on the motor. interrupt will happen at every switch press.
Scheduling decide which task should execute at this time. My understanding say that we set the timer interrupt for every tasks.
set interrupt for 10 ms (task 1)
set interrupt for 12 ms (task 2)
set interrupt for 15 ms (task 1)
We set priority for every task's
first priority (task 3)
second priority (Task 2)
third priority (Task 1)
I have the knowledge of timer interrupt and priority. if I want to make basic scheduler program then what's the programming knowledge required to implement simple scheduler