Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/12/01 12:42
Read: times


 
#10752 - Timer Interrupt
Hi,
in my application I use Timer 0 to generate a gate time for counting pulses on port pins. T0 interrupt is active. There are some commands in the main program that must not be disturbed by the interrupt. So I clear ET0 before those commands and set it again after this part of code is done. Now imagine T0 int. is not active, but overflow occurs, TF0 is set. Then T0 int. is activated (setb ET0), will this lead to the ISR (immediately)? Or is this overflow lost/forgotten? I don't think so, but want to be sure...
Thanks for your help!

Carsten

List of 9 messages in thread
TopicAuthorDate
Timer Interrupt            01/01/70 00:00      
RE: Timer Interrupt            01/01/70 00:00      
RE: Timer Interrupt            01/01/70 00:00      
RE: Timer Interrupt            01/01/70 00:00      
RE: Timer Interrupt            01/01/70 00:00      
RE: Timer Interrupt            01/01/70 00:00      
RE: Timer Interrupt            01/01/70 00:00      
RE: Timer Interrupt            01/01/70 00:00      
RE: Timer Interrupt            01/01/70 00:00      

Back to Subject List