Dear All,
I am bit (lot !) confused with clocks, timer on mica2.
Any help, would be highly appreciated. Following is my understanding. Correct me if I am wrong.
Mica2 has a 4MHz hardware clock, so its clock period is .25 us, and this is the lowest granularity that we can achieve on mica2. This hardware clock generates an interrupt every .25 us and suppose we want to determine the elapse of 1 second (i.e 10^6 us), we use the module 'timer' to count 4000000 such hardware interrupts and then it conveys to the application that 1 sec has passed.
Mica2 has two timers - timer0 is 8 bit, timer1 is 16 bit.
My ques is : What advantange do I have in terms of granularity when I decide to use timer1 instead of timer0 ?
Thanks...
Smaitra.
_______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
