[Tinyos-help] Atmega1281 sleep and active time analysis
张荣雨
zhangrongyu at yahoo.cn
Thu Jun 11 17:56:27 PDT 2009
Hi all:
Now I am analysing the atemga1281 sleep and active time on tinyos-2.x platform,and I find a method in a paper using Oscilloscope: an output pin was turned on in each ISR when the processor woke up from a sleep mode,the TOSH_run_task() function turned off the output pin before executing the AVR sleep instructio. So I follow it to turn off the output pin in the Scheduler.taskLoop() of tinyos2.x just before the McuSleep.sleep() instruction. But I do not know where to turn on the output pin on tinyos2.x platform.
Can anyone help me? Or other ways to analysis the mcu sleep and active time?
Thanks
___________________________________________________________
好玩贺卡等你发,邮箱贺卡全新上线!
http://card.mail.cn.yahoo.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20090612/8d6aef44/attachment-0001.htm
More information about the Tinyos-help
mailing list