module ti.sysbios.family.arm.cc32xx.Seconds

Seconds module that uses the RTC peripheral to count seconds

C synopsis target-domain sourced in ti/sysbios/family/arm/cc32xx/Seconds.xdc
 
Seconds_get()  // module-wide

Returns number of seconds since 1970 (the Unix epoch)

C synopsis target-domain
UInt32 Seconds_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.
 
Seconds_set()  // module-wide

Update the real time clock with number of seconds since 1970

C synopsis target-domain
Void Seconds_set(UInt32 seconds);
 
Module-Wide Built-Ins

C synopsis target-domain
Types_ModuleId Seconds_Module_id();
// Get this module's unique id
 
Bool Seconds_Module_startupDone();
// Test if this module has completed startup
 
IHeap_Handle Seconds_Module_heap();
// 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
 
Configuration settings sourced in ti/sysbios/family/arm/cc32xx/Seconds.xdc
var Seconds = xdc.useModule('ti.sysbios.family.arm.cc32xx.Seconds');
module-wide config parameters
 
 
metaonly config Seconds.common$  // module-wide

Common module configuration parameters

Configuration settings
Seconds.common$ = Types.Common$ undefined;
 
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.
generated on Wed, 15 Apr 2015 00:19:13 GMT