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

interrupts

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
cartic



Joined: 16 Nov 2004
Posts: 8

View user's profile Send private message

interrupts
PostPosted: Mon Dec 13, 2004 4:16 pm     Reply with quote

I am using CCS PCW compiler and PIC 16F873. Is there any way that I can create an interrupt that using a genral purpose I/O pin. In my case, event in RA3 pin should create an interrupt. I found the commands int_ext, in_ext1,in_ext2. I could not get the explanation of those from the manual. Will those functions in anyway be useful for this purpose or is there any other function for this purpose. Any help or suggestion is welcome.
Thanks
Karthik
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

View user's profile Send private message Send e-mail

PostPosted: Mon Dec 13, 2004 5:04 pm     Reply with quote

RB0 is the only pin for an external interrupt. Refer to the datasheet for the PIC to see what other interrupts you have available. But to answer your question, no you cannot just make any input generate an interrupt.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group