interface ti.sysbios.interfaces.ISeconds

Seconds interface

XDCspec summary sourced in ti/sysbios/interfaces/ISeconds.xdc
interface ISeconds {  ...
// inherits xdc.runtime.IModule
XDCspec declarations sourced in ti/sysbios/interfaces/ISeconds.xdc
 
interface ISeconds {
module-wide config parameters
module-wide functions
}
 
metaonly config ISeconds.common$  // module-wide

Common module configuration parameters

XDCspec declarations sourced in ti/sysbios/interfaces/ISeconds.xdc
metaonly config Types.Common$ common$;
 
DETAILS
All modules have this configuration parameter. Its name contains the '$' character to ensure it does not conflict with configuration parameters declared by the module. This allows new configuration parameters to be added in the future without any chance of breaking existing modules.
 
ISeconds.get()  // module-wide

Returns number of seconds since 1970 (the Unix epoch)

XDCspec declarations sourced in ti/sysbios/interfaces/ISeconds.xdc
UInt32 get();
 
DETAILS
The user must call Seconds_set() before making any calls to Seconds_get(), otherwise the value returned by Seconds_get() will be meaningless.
 
ISeconds.set()  // module-wide

Update the real time clock with number of seconds since 1970

XDCspec declarations sourced in ti/sysbios/interfaces/ISeconds.xdc
Void set(UInt32 seconds);
 
generated on Wed, 15 Apr 2015 00:19:54 GMT