[Tinyos-help] Maximum timer interval for MicaZ?
Siirtola Harri
Harri.Siirtola at vtt.fi
Thu Aug 2 04:49:37 PDT 2007
Ok, that would only be a minute. A counter var is needed in Timer.fired
event. I'll check what's done in xmesh apps to achieve longer intervals.
Thanks, Michael!
Harri
-----Original Message-----
From: Michael Schippling [mailto:schip at santafe.edu]
Sent: Wednesday, August 01, 2007 8:11 PM
To: Siirtola Harri
Cc: tinyos_help
Subject: Re: [Tinyos-help] Maximum timer interval for MicaZ?
TimerC uses Timer/Counter1 which is 16 bits, so that's a theoretical
max.
But you would have to go look at the code, or experiment, to see if
there's more headroom eaten up by data munging...
MS
Siirtola Harri wrote:
> I'll need veeeery long measurement intervals for my application.
> What's the maximum value for parameter 'interval' with MicaZ?
> 22,118,400
> (0x1518000) binary milliseconds is 4 hours and fits in an uint32_t,
> does it work? Or do I have to establish a counter?
>
> Regards,
>
> Harri
>
>
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at Millennium.Berkeley.EDU
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-h
> elp
More information about the Tinyos-help
mailing list