??? 03/25/09 17:01 Read: times |
#163854 - well, I'll be Responding to: ???'s previous message |
there's no much reason in storing/restoring EA in an ISR, as EA's state is known: it must have been set if the interrupt occured
I have done so for ages, but, of course, you are right. Now, I am very much against ANY fiddeling with EA except for atomicity/flash write issues (which both should be outside an ISR). Erik |
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 |