??? 01/08/05 08:52 Read: times |
#84558 - Can we solve like this? Responding to: ???'s previous message |
I assume only two priorities are available. Let the 10 ms interrupt can be at high priority and remaining others are at low priority. Now 10 ms external interrupt is executed and inside the ISR save the current IP, and redefine the IP to have high priority for 5 ms (Timer) interrupt and others at low priority. And initiate the 5ms timer now. So after elapse of 5 ms from external interrupt, the 5 ms will execute and return to 10 ms interrupt, if not completed. Once 10 ms is over, ohter low priority can execute. V.Nagarajan |
Topic | Author | Date |
Can't set interrupt priority | 01/01/70 00:00 | |
need more | 01/01/70 00:00 | |
re Erik's questions | 01/01/70 00:00 | |
possibles | 01/01/70 00:00 | |
re: possibilities | 01/01/70 00:00 | |
Can we solve like this? | 01/01/70 00:00 | |
but why? | 01/01/70 00:00 | |
re: can we solve like this? | 01/01/70 00:00 | |
re but why when it makes no difference | 01/01/70 00:00 | |
Software bug?![]() | 01/01/70 00:00 |