Professional Documents
Culture Documents
Author Message
Joined: 20 Jul 2006 I am having a problem with interrupts: when I enable INT_EXT, it imediatly goes to the
Posts: 5
Location: Belo Horizonte, interrupt routine, no matter what border it was configured. I am simulating this in proteus so
Brazil there is no bouncing problem.
What should I do so the interrupt routine will only be accessed when the PIN_B0 gets low?
Thanks.
Breno
Last edited by Breno on Mon Jul 31, 2006 5:01 pm; edited 1 time in total
Quote:
Joined: 06 Sep 2003
Posts: 6775
When I enable INT_EXT, it immediately goes to the interrupt routine.
1 от 2 01.3.2007 г. 10:29
CCS :: View topic - INT_EXT interrupting in enable http://ccsinfo.com/forum/viewtopic.php?t=27783&highlight=inte...
ext_int_edge(H_TO_L);
enable_interrupts(INT_EXT);
clear_interrupt(INT_EXT); // Add this line
enable_interrupts(GLOBAL);
Page 1 of 1
2 от 2 01.3.2007 г. 10:29