Author |
Message |
Topic: Interrupt levels and priorities |
myheadhurts
Replies: 10
Views: 15749
|
Forum: General CCS C Discussion Posted: Thu Dec 09, 2004 8:57 am Subject: Interrupt levels and priorities |
Cheers Mark, this looks like just the ticket. I will give it a twirl and let you know later. |
Topic: Please help me about led is blink when i swap my sourcecode! |
myheadhurts
Replies: 3
Views: 8269
|
Forum: General CCS C Discussion Posted: Thu Dec 09, 2004 8:24 am Subject: Please help me about led is blink when i swap my sourcecode! |
Does the string to LCD function use the same port pin? this could account for the flash of the LED |
Topic: Interrupt levels and priorities |
myheadhurts
Replies: 10
Views: 15749
|
Forum: General CCS C Discussion Posted: Thu Dec 09, 2004 8:06 am Subject: Interrupt levels and priorities |
cheers for that, I have looked at the asm/c listing and it appears to be in the correct places now.
It still looks like my fast interrupt is not interrupting my RDA interrupt.
Do I need to set t ... |
Topic: Interrupt levels and priorities |
myheadhurts
Replies: 10
Views: 15749
|
Forum: General CCS C Discussion Posted: Thu Dec 09, 2004 4:31 am Subject: Interrupt levels and priorities |
forgive me for being a little thick!
I understand now that I have to use the fast keyword and the implications of backing up registers, but I don't seem to be able to fathom out specifically how or ... |
Topic: Interrupt levels and priorities |
myheadhurts
Replies: 10
Views: 15749
|
Forum: General CCS C Discussion Posted: Thu Dec 09, 2004 3:07 am Subject: Interrupt levels and priorities |
I've included the relavent code below.
I tried the #int_fast, but the ccs complier doesn't seem to recognise it and throws up an 'invalid pre-processor directive' message.
#include <18F252.h> ... |
Topic: Interrupt levels and priorities |
myheadhurts
Replies: 10
Views: 15749
|
Forum: General CCS C Discussion Posted: Wed Dec 08, 2004 11:10 am Subject: Interrupt levels and priorities |
oh yeah, i forgot to mention, i am using a PIC18F252 |
Topic: Interrupt levels and priorities |
myheadhurts
Replies: 10
Views: 15749
|
Forum: General CCS C Discussion Posted: Wed Dec 08, 2004 11:09 am Subject: Interrupt levels and priorities |
I seem to be struggling a little in guaranteeeing the level assigned to interrupts. I am using ext1 and need it to be in the high level interrupts section, and rda that needs to be in the low level se ... |
|