??? 01/24/07 10:51 Read: times |
#131368 - Understanding interrupts Responding to: ???'s previous message |
Clearing EA does not reset the interrupt source! The interrupt enables are simply switches - if the source has an interrupt pending, turning on the enables simply gates it through to the cpu. Have you tried your code in the simulator? It could be something as simple as the initialisation - its not the first time I've got things a little confused and expected something on one pin only to find its actually on another. Take a look at things step by step and they answer should become clearer! |
Topic | Author | Date |
External Interrupt triggering on initialization | 01/01/70 00:00 | |
Simple! | 01/01/70 00:00 | |
yes, but..... | 01/01/70 00:00 | |
There's probably a good reason. | 01/01/70 00:00 | |
worth a shot...but | 01/01/70 00:00 | |
Understanding interrupts | 01/01/70 00:00 | |
Yes, I Know | 01/01/70 00:00 | |
terse response | 01/01/70 00:00 | |
tried clr IE0... | 01/01/70 00:00 | |
clr IE ?? | 01/01/70 00:00 | |
I do not use the SILabs deviates, but | 01/01/70 00:00 | |
Interesting.... | 01/01/70 00:00 | |
AH, now we get a good guess at the reason. The ex | 01/01/70 00:00 | |
Maybe it is the part | 01/01/70 00:00 | |
are you sure | 01/01/70 00:00 | |
hmmm..... | 01/01/70 00:00 | |
Hardware bug | 01/01/70 00:00 | |
down memory lane | 01/01/70 00:00 | |
INT0 is assigned to P0.1 as the default![]() | 01/01/70 00:00 |