Author |
Message |
Topic: INTCON bit check |
kalas
Replies: 4
Views: 7973
|
Forum: General CCS C Discussion Posted: Fri Feb 08, 2013 5:57 pm Subject: INTCON bit check |
First, use the #bit directive, or the compiler functions:
clear_interrupts("INT_RB");
while (!interrupt_active("INT_RB");
//or
#bit RBIF=getenv(&q ... |
Topic: INTCON bit check |
kalas
Replies: 4
Views: 7973
|
Forum: General CCS C Discussion Posted: Fri Feb 08, 2013 3:51 pm Subject: INTCON bit check |
Hi
I would like to check the RBIF bit in INTCON. I don't want use the ISR because this check is done in an init part of my project, the ISR have another job to do in the main part of the program.
... |
|