??? 02/04/05 14:48 Read: times Msg Score: +1 +1 Good Question |
#86546 - how would you do that Responding to: ???'s previous message |
just SETB Bit_Flag eventhough P1.0 is 0.
How would you do that when the processor is stuck in a loop. You do not specify "SETB Bit_Flag in an ISR" and also I think the original poster stating "escape from that situation after a number of time" does not imply a (non-timer?) interrupt should be used. Erik |
Topic | Author | Date |
How to escape from an endless loop ? | 01/01/70 00:00 | |
what is the problem? | 01/01/70 00:00 | |
Counter | 01/01/70 00:00 | |
How about another BIT flag | 01/01/70 00:00 | |
how would you do that | 01/01/70 00:00 | |
Problem Solved with a combination. | 01/01/70 00:00 | |
External interrupt | 01/01/70 00:00 | |
Additional explanation about the problem | 01/01/70 00:00 | |
loops | 01/01/70 00:00 | |
Not in the ISR | 01/01/70 00:00 | |
Answer t o additional explanation | 01/01/70 00:00 | |
Messing with stack inside interrupt... | 01/01/70 00:00 | |
Setup stack inside interrupt | 01/01/70 00:00 | |
I am sure it is good way for you! | 01/01/70 00:00 | |
Your idea is good.![]() | 01/01/70 00:00 |