[Tinyos-beta-commits]
CVS: tinyos-1.x/beta/teps/txt tep102.txt, 1.1, 1.2
Cory Sharp
cssharp at users.sourceforge.net
Mon Jan 24 02:01:02 PST 2005
Update of /cvsroot/tinyos/tinyos-1.x/beta/teps/txt
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3138
Modified Files:
tep102.txt
Log Message:
Rename TimeCount to Counter.
Remove synchronous Timer<T32khz> as a standard, 32khz is always async as
decided in a past telecon.
Remove result_t's from fired events in Timer and TimerAsync.
Index: tep102.txt
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/beta/teps/txt/tep102.txt,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** tep102.txt 19 Jan 2005 17:37:32 -0000 1.1
--- tep102.txt 24 Jan 2005 10:00:59 -0000 1.2
***************
*** 1,3 ****
! ============================
Timers
============================
--- 1,3 ----
! <===========================
Timers
============================
***************
*** 83,87 ****
Five interfaces are presented:
! * TimeCount<frequency_tag>
* Alarm<frequency_tag>
* Timer<frequency_tag>
--- 83,87 ----
Five interfaces are presented:
! * Counter<frequency_tag>
* Alarm<frequency_tag>
* Timer<frequency_tag>
***************
*** 90,95 ****
Low frequency alarms are satisfied by Timer<frequency_tag>, derived from
! one or more Alarm's. TinyOS will provide Timer<TMilli> and Timer<T32khz>
! through the standard timer component TimerC.
High frequency alarms are satisfied by TimerAsync<frequency_tag>, derived
--- 90,95 ----
Low frequency alarms are satisfied by Timer<frequency_tag>, derived from
! one or more Alarm's. TinyOS will provide Timer<TMilli> through the
! standard timer component TimerC.
High frequency alarms are satisfied by TimerAsync<frequency_tag>, derived
***************
*** 99,105 ****
Time elapsed measurements are provided by Stopwatch<frequency_tag>, which
! are derived from a TimeCount.
! Local time is provided by TimeCount. The time origin is relative to when
the mote was booted.
--- 99,105 ----
Time elapsed measurements are provided by Stopwatch<frequency_tag>, which
! are derived from a Counter.
! Local time is provided by Counter. The time origin is relative to when
the mote was booted.
***************
*** 162,166 ****
b. Presentation: System independent
c. Async
! d. TimeCount<frequency_tag>
i. Get current time as a uint32_t in whatever units are specified by
--- 162,166 ----
b. Presentation: System independent
c. Async
! d. Counter<frequency_tag>
i. Get current time as a uint32_t in whatever units are specified by
***************
*** 172,176 ****
iii. Interface::
! interface TimeCount<frequency_tag>
{
async command uint32_t get();
--- 172,176 ----
iii. Interface::
! interface Counter<frequency_tag>
{
async command uint32_t get();
***************
*** 188,192 ****
* Allows for precise periodic timers, no alarm time slip
! iii. The time base of an Alarm must correspond to an appropriate TimeCount
iv. Interface::
--- 188,192 ----
* Allows for precise periodic timers, no alarm time slip
! iii. The time base of an Alarm must correspond to an appropriate Counter
iv. Interface::
***************
*** 273,277 ****
command bool isOneShot();
command uint32_t getPeriod();
! event result_t fired();
}
--- 273,277 ----
command bool isOneShot();
command uint32_t getPeriod();
! event void fired();
}
***************
*** 295,299 ****
async command bool isOneShot();
async command uint32_t getPeriod();
! async event result_t fired();
}
--- 295,299 ----
async command bool isOneShot();
async command uint32_t getPeriod();
! async event void fired();
}
***************
*** 305,309 ****
iv. Indicates if an overflow occurred for the returned value
v. Stopwatches only depend on measurements from an appropriate
! TimeCount.
v. Interface::
--- 305,309 ----
iv. Indicates if an overflow occurred for the returned value
v. Stopwatches only depend on measurements from an appropriate
! Counter.
v. Interface::
More information about the Tinyos-beta-commits
mailing list