You can use lib/time/TransformAlarmC to make a 32-bit alarm from the existing 16-bit one.
Janos On Sun, Jan 8, 2012 at 10:54 PM, Xiaohui Liu <[email protected]> wrote: > Hi all, > > Is there any microsecond timer on TelosB, preferably with width of 32 bit? I > find a counter running at microsecond Msp430CounterMicroC, which only > provides current time in microseconds. But I need to fire a timer to execute > some code at a specified interval, in the precision of microseconds, so a > counter is not suitable, at least directly. > > Also, I want to timestamp and measure the elapsed time between two events in > microseconds. But Msp430CounterMicroC's width is only 16 bit, measuring only > up to 64 ms, which is insufficient for my timestamping purpose. > > Can anyone share his/her experience? I searched quite some time but haven't > found a suitable timer/counter/alarm on TelosB yet. Thank you in advance. > > -- > -Xiaohui Liu > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
