CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 2 matches
CCS Forum Index
Author Message
  Topic: INTCON bit check
kalas

Replies: 4
Views: 7973

PostForum: 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

PostForum: 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.
...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group