View previous topic :: View next topic |
Author |
Message |
pattousai
Joined: 23 Aug 2006 Posts: 37
|
Is there a way to establish the priority in the PIC18F's? |
Posted: Thu Sep 04, 2008 11:32 am |
|
|
hi everybody...
I want know if there is a way to declare the priority of an interrupt in the PIC 18F's.
As far as i know the directive #priority only tells the order that the interrupts will be implemented. So, if an int_ext1 occurs while the pic process the int_ext2 nothing will happen, but I think the PIC18F has two types of priorities, so in the example above I could stop the execution of the int_ext2 and run the int_ext1 (if I put them in the right interrupt vectors)
thanks!! |
|
 |
dyeatman
Joined: 06 Sep 2003 Posts: 1950 Location: Norman, OK
|
|
Posted: Thu Sep 04, 2008 1:11 pm |
|
|
If you search this forum using the words "high" and "priority" you will find a great deal on the subject including examples. |
|
 |
|