module ti.sysbios.family.arm.lm4.Seconds |
![](../../../../../Arrow_up.png) |
![](../../../../../Arrow_right.png) |
Seconds module that uses the RTC peripheral to count seconds
#include <ti/sysbios/family/arm/lm4/Seconds.h>
Functions common to all ISeconds modules |
UInt32 | |
Void | |
Functions common to all target modules |
|
|
Seconds_get() // module-wide |
![](../../../../../Arrow_up.png) |
Returns number of seconds since 1970 (the Unix epoch)
DETAILS
The user must call Seconds_set() before making any calls to Seconds_get(),
otherwise the value returned by Seconds_get() will be meaningless.
Seconds_set() // module-wide |
![](../../../../../Arrow_up.png) |
Update the real time clock with number of seconds since 1970
Void Seconds_set(UInt32 seconds);
Module-Wide Built-Ins |
![](../../../../../Arrow_up.png) |
// Get this module's unique id
Bool Seconds_Module_startupDone();
// Test if this module has completed startup
// The heap from which this module allocates memory
Bool Seconds_Module_hasMask();
// Test whether this module has a diagnostics mask
Bits16 Seconds_Module_getMask();
// Returns the diagnostics mask for this module
Void Seconds_Module_setMask(Bits16 mask);
// Set the diagnostics mask for this module
var Seconds = xdc.useModule('ti.sysbios.family.arm.lm4.Seconds');
module-wide config parameters
generated on Wed, 15 Apr 2015 00:19:36 GMT