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
aaronik19



Joined: 25 Apr 2011
Posts: 297

View user's profile Send private message

interrupts
PostPosted: Sun Sep 04, 2011 12:38 am     Reply with quote

Hope that everyone is fine! Can someone explain what is the difference between the following interrupts, EXT, int_rb? Is it possible to include RB1-RB3 in the interrupt like RB4-RB7?

Thanks
aaronik19
Ttelmah



Joined: 11 Mar 2010
Posts: 19551

View user's profile Send private message

PostPosted: Sun Sep 04, 2011 2:28 am     Reply with quote

Read the chip's data sheet.
What interrupts are available on a chip, depend on the chip, nothing else.

Some chips allow pins like RB0...3 to be used by INT_RB. Most don't. Some of these have you able to enable/disable INT_RB, on individual pins, and in a few versions, even allow the detection direction to be detected/controlled.
So for the PIC16F1937 (for example), CCS has 'INT_RB0_L2H'.

In general, INT_EXT, responds to a specific change in level on a particular pin (direction settable separately). Normally pin B0. INT_RB, normally responds to any charge on any of the high four pins of port B. and it responds (except on some later chips), to any _change_.

Best Wishes
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