View Single Post
Old 05-25-2009, 01:35 PM   #1404 (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
I just was looking at the change in the number of clock cycles it took to execute the function by itself, but I think it was running the interrupt in the background and doubling the resulting number of clock cycles (running the code twice). When I disable the isr it takes more like 600 cycles to run the code in the isr (about 40us). Sorry for the confusion.
__________________
WINDMILLS DO NOT WORK THAT WAY!!!
  Reply With Quote