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

Is there any option to get an Interrupt in USB?

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



Joined: 24 Jul 2009
Posts: 21

View user's profile Send private message

Is there any option to get an Interrupt in USB?
PostPosted: Mon Aug 24, 2009 4:22 am     Reply with quote

Is there any option to get an Interrupt when message is received???Pic18f2550???
FvM



Joined: 27 Aug 2008
Posts: 2337
Location: Germany

View user's profile Send private message

PostPosted: Mon Aug 24, 2009 6:31 am     Reply with quote

It seems to me, that you already answered the question yourself, when you mentioned, that USB interrupt is handled in pic18_usb.h (actually it's pic18_usb.c). But anyway, it's used in the driver.

So you have two options: Poll the respective USB driver functions or modify the driver code and e.g. add a callback to your code.
sumith
Guest







PostPosted: Mon Aug 24, 2009 10:00 am     Reply with quote

thank you.........I got it...now i am trying in that way......once again thank you
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