??? 04/01/09 09:52 Read: times Msg Score: +1 +1 Good Answer/Helpful |
#164142 - ah, then it's OK Responding to: ???'s previous message |
What is the effect on the performance of the system? The main effect of disabling interrupts for a piece of "main" code is the increase of interrupts latency, i.e. the worst-case time needed for the system to react on the stimulus which invoked in the interrupt. If the interrupt occurs exactly at the time when you disable the interrupt, the ISR can't start (and perform its service) until you re-enable the interrupt. Plus of course the "normal" impact of adding instructions accomplishing the interrupt disable/enable, or store/restore where this technique is used. I.e. bigger and slower code. Whether this is relevant, is up to you to decide. JW |
Topic | Author | Date |
EA in "Interrupt service routine" | 01/01/70 00:00 | |
yes,no | 01/01/70 00:00 | |
both are wrong | 01/01/70 00:00 | |
... including this one? | 01/01/70 00:00 | |
well, I'll be | 01/01/70 00:00 | |
thanks >> it's working >> further | 01/01/70 00:00 | |
but WHY are you doing that? | 01/01/70 00:00 | |
Now i am not doing EA=0 in ISR. | 01/01/70 00:00 | |
ah, then it's OK![]() | 01/01/70 00:00 |