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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/28/08 10:58
Read: times


 
#159399 - Timer0 question again!
I have question about timer0 in gate mode,
when counting length of external signal!
I think that first interrupt will occur but i don know how overload is executed! did he execute like normal interrupt in
timer mode or i must put other code!
Will following code work!



void timer0_ext(void) interrupt 0
{
   result=256*TH0+TL0;
}

void timer0_over(void) interrupt 1
{
   too_big=1;
}


List of 3 messages in thread
TopicAuthorDate
Timer0 question again!            01/01/70 00:00      
   SFR INITIALISATIONS?            01/01/70 00:00      
      SFR initilisation!            01/01/70 00:00      

Back to Subject List