Apps
Components
Interfaces
All Files
Source Tree
source:
tos.system.TimeUtilC.nc
Component: TimeUtilC
Author:
Su Ping (
sping@intel-research.net
)
Provided Interfaces
TimeUtil
Function Index
async command char
TimeUtil.compare
(tos_time_t a, tos_time_t b)
async command tos_time_t
TimeUtil.subtract
(tos_time_t a, tos_time_t b)
async command tos_time_t
TimeUtil.add
(tos_time_t a, tos_time_t b)
async command tos_time_t
TimeUtil.addint32
(tos_time_t a, int32_t ms)
increase tos_time_t a by a specified unmber of binary ms return the new time
async command tos_time_t
TimeUtil.addUint32
(tos_time_t a, uint32_t ms)
increase tos_time_t a by a specified unmber of binary ms return the new time
async command tos_time_t
TimeUtil.subtractUint32
(tos_time_t a, uint32_t ms)
substrct tos_time_t a by a specified unmber of binary ms return the new time
async command tos_time_t
TimeUtil.create
(uint32_t high, uint32_t low)
async command uint32_t
TimeUtil.low32
(tos_time_t lt)
async command uint32_t
TimeUtil.high32
(tos_time_t lt)