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 support@ccsinfo.com

Interrupt being missed.

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



Joined: 22 Aug 2006
Posts: 18

View user's profile Send private message

Interrupt being missed.
PostPosted: Fri Jan 26, 2007 6:31 am     Reply with quote

Hello,

I am currenly using timer3 to trigger an interrupt every 100ms. From time to time, I need to run a part of the program for 1ms which can't be interrupted. So I first disable and and then re-enable the timer interrupt 1ms later.
What happen if a timer overflow occurs when the interrupt is disabled? I suppose I just miss it. Is it possible to service the interrupt?

Thanks,

ch_dupre
Mark



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

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

PostPosted: Fri Jan 26, 2007 6:57 am     Reply with quote

You will get an interrupt when you reenable global interrupts.
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