Menu

#5 task interupr routine always runs

open
nobody
None
5
2004-06-11
2004-06-11
Anonymous
No

the Task interrupt routine always runs. Even if the
reason for the event is another interrupt

there should be a test like this so that it only runs
when the timer int happens

_asm(" btfss _INTCON,_T0IF");
_asm(" goto Task_Skip");
...
...
_asm("Task_Skip");

Discussion

MongoDB Logo MongoDB