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
Posted: Fri Jan 26, 2007 6:57 am
You will get an interrupt when you reenable global interrupts.
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