]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/cc2420_tkn154/ReferenceTime.nc
Merge TinyOS 2.1.1 into master.
[tinyos-2.x.git] / tos / chips / cc2420_tkn154 / ReferenceTime.nc
index e91e0e6bca0fc13d384adb35d6fd9609dda3027e..3e77e3c85acbc3f8e887e8991c4641216b30fad3 100644 (file)
 interface ReferenceTime
 {
   /** 
-   * Gets current reference time plus dt symbols.
+   * Gets current time and adds dt symbols.
    */
-  async command void getNow(ieee154_reftime_t* reftime, uint16_t dt);
+  async command void getNow(ieee154_timestamp_t* time, uint16_t dt);
 
   /** 
    * Converts reference time to local time.
    */
-  async command uint32_t toLocalTime(ieee154_reftime_t* refTime);
+  async command uint32_t toLocalTime(const ieee154_timestamp_t* time);
 }