I am using Timer3 as code posted below. I call startCounting() before a task
executes and I call stopCounting after task executes.
But, I am getting variable result. Is there any mistake in my code or somebody
can provide code performing similar job.
And, it is Atmega128 specific.
#include "pr
How much do the results vary? There are other interrupts and such
that happen during processing, so even a very regular "foreground"
process might slip'n'slide a bit.
At a cursory review level I'd think your code is probably OK,
although I believe there is a counter wrap-around interrupt
you could
@millennium.berkeley.edu
Subject: Re: [Tinyos-help] Question regarding computation time calculation for
a task in MicroSeconds in Atmega128
How much do the results vary? There are other interrupts and such
that happen during processing, so even a very regular "foreground"
process might slip
;
tinyos-help@millennium.berkeley.edu
Subject: Re: [Tinyos-help] Question regarding computation time calculation for
a task in MicroSeconds in Atmega128
How much do the results vary? There are other interrupts and such
that happen during processing, so even a very regular "foreground"
pro