[Tinyos-beta-commits] CVS: tinyos-1.x/beta/teps/html tep102.html,
1.7, 1.8
Cory Sharp
cssharp at users.sourceforge.net
Fri May 20 03:10:10 PDT 2005
Update of /cvsroot/tinyos/tinyos-1.x/beta/teps/html
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30623/html
Modified Files:
tep102.html
Log Message:
Remove "when" and "numMissed" from Timer.fired()
Index: tep102.html
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/beta/teps/html/tep102.html,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** tep102.html 18 May 2005 17:12:36 -0000 1.7
--- tep102.html 20 May 2005 10:10:08 -0000 1.8
***************
*** 301,307 ****
<tr class="field"><th class="docinfo-name">Draft-Created:</th><td class="field-body">22-Sep-2004</td>
</tr>
! <tr class="field"><th class="docinfo-name">Draft-Version:</th><td class="field-body">1.7</td>
</tr>
! <tr class="field"><th class="docinfo-name">Draft-Modified:</th><td class="field-body">2005-05-18</td>
</tr>
<tr class="field"><th class="docinfo-name">Draft-Discuss:</th><td class="field-body">TinyOS Developer List <tinyos-devel at mail.millennium.berkeley.edu></td>
--- 301,307 ----
<tr class="field"><th class="docinfo-name">Draft-Created:</th><td class="field-body">22-Sep-2004</td>
</tr>
! <tr class="field"><th class="docinfo-name">Draft-Version:</th><td class="field-body">1.9</td>
</tr>
! <tr class="field"><th class="docinfo-name">Draft-Modified:</th><td class="field-body">2005-05-20</td>
</tr>
<tr class="field"><th class="docinfo-name">Draft-Discuss:</th><td class="field-body">TinyOS Developer List <tinyos-devel at mail.millennium.berkeley.edu></td>
***************
*** 537,541 ****
command void startOneShotNow( uint32_t dt );
command void stop();
! event void fired( uint32_t when, uint32_t numMissed );
// extended interface
--- 537,541 ----
command void startOneShotNow( uint32_t dt );
command void stop();
! event void fired();
// extended interface
***************
*** 560,571 ****
<dt>stop() </dt>
<dd>cancel any previously running timer.</dd>
! <dt>fired(when,numMissed) </dt>
! <dd>signals that the timer has occurred. The when parameter indicates
! when the timer should have fired. Because the timers fire in
! synchronous context, some time may have elapsed from "when" until
! now. For periodic timers, numMissed indicates how many events were
! outright missed and when indicates the time of the most recent
! event. For one-shot timers, numMissed is always 0 and when is the
! time of the event.</dd>
<dt>isRunning() </dt>
<dd>return TRUE if the timer has been started and has not been cancelled
--- 560,565 ----
<dt>stop() </dt>
<dd>cancel any previously running timer.</dd>
! <dt>fired()</dt>
! <dd>signals that the timer has occurred.</dd>
<dt>isRunning() </dt>
<dd>return TRUE if the timer has been started and has not been cancelled
***************
*** 707,712 ****
timers.</p>
<pre class="literal-block">
! generic component VirtualizeTimerC( typedef precision_tag,
! int max_timers )
{
provides interface Init;
--- 701,705 ----
timers.</p>
<pre class="literal-block">
! generic component VirtualizeTimerC( typedef precision_tag, int max_timers )
{
provides interface Init;
More information about the Tinyos-beta-commits
mailing list