View Single Post
Old 05-24-2009, 10:48 PM   #1385 (permalink)
dcb
needs more cowbell
 
dcb's Avatar
 
Join Date: Feb 2008
Location: ÿ
Posts: 5,032

pimp mobile - '81 gs 250 t
90 day: 96.29 mpg (US)

schnitzel - '01 Golf TDI
90 day: 53.56 mpg (US)
Thanks: 156
Thanked 259 Times in 203 Posts
Quote:
Originally Posted by MPaulHolmes View Post
If an interrupt handler takes too long, overlapping when the next interrupt would have happened, does the next interrupt get skipped, or does it get executed as soon as it's able to be?
my understanding of the 168 is that a flag gets set for each interrupt type so that interrupt will get triggered again once the interrupt routine returns. The "buffered" interrupt will happen at a slightly later time than expected of course, and if you get behind more than one then interrupts get missed completely.
__________________
WINDMILLS DO NOT WORK THAT WAY!!!
  Reply With Quote