Hi everybody,
just a short question to the micaz platform. Is the number of timers I
can use limited? I read in TEP102 that there are only three compare
registers for each of the 16-bit timers. Does this mean that I can use
only 6 timers at a time? Or does TinyOS provide some kind of
virtualizatio
For TinyOS 2.x see VirtualizeTimerC.
I believe `new TimerMilliC()`, has the same affect, but allows a
different way to wire.
There is a different between hardware-level HPL/HAL timers and the
exposed software timers in the HIL.
HTH,
Paul
On Mon, Jul 28, 2008 at 1:38 AM, Nicola Wegner
<[EMAIL PROT
Hi Nicola and Paul,
VirutalizeTimerC layers 255 independent timers on top of the lower layer
hardware timer resources
The platform wiring takes care of the wiring. From application code using
something like the following works well:
I have code that uses a timer...
uses interface Timer as GPST
Hi,
I am not sure if I got it right. Does it mean that I do not have to
care about virtual timers because they will be used automatically by
TinyOS?
If this is the case then the following code would create virtual
timers based on another virtual timer. Right?
components new TimerMilliC() as Base
On Tue, Jul 29, 2008 at 5:52 AM, Nicola Wegner <[EMAIL PROTECTED]
> wrote:
> Hi,
>
> I am not sure if I got it right.
Close.
> Does it mean that I do not have to
> care about virtual timers because they will be used automatically by
> TinyOS?
>
Yes it means tinyos will handle the virtualizati
Thank you Eric for the detailed explanation! I did not use
VirtualizeTimerC directly at first. But I tried it because I had some
strange problems with a timer and thought the reason could be that I
use to much timers at a time. Now I know that it has to be another
reason. By now I have found a work
I must be evil.
I have used VirtualizeTimerC, wired to a new TimerMilliC as the source, IIRC.
It worked nice for parameterization.
HTH,
Paul
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mail
2008/7/31 Paul Stickney <[EMAIL PROTECTED]>:
> I must be evil.
> I have used VirtualizeTimerC, wired to a new TimerMilliC as the source, IIRC.
> It worked nice for parameterization.
>
> HTH,
> Paul
Yes you seem to be very evil ;)
In my case it worked too. But I did not know if it was necessary fo