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,038

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

schnitzel - '01 Volkswagen Golf TDI
90 day: 53.56 mpg (US)
Thanks: 158
Thanked 269 Times in 212 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