[Tinyos-help] Maximum timer interval for MicaZ?

Michael Schippling schip at santafe.edu
Wed Aug 1 10:11:16 PDT 2007


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-help


More information about the Tinyos-help mailing list