| metaonly module ti.bios.STS |
 |
 |
 |
STS module
legacy module to support DSP/BIOS 5.x, see DSP/BIOS 5.x docs for more info
var STS = xdc.useModule('ti.bios.STS');
module-wide config parameters
per-instance config parameters
per-instance creation
| config STS.OBJMEMSEG // module-wide |
 |
The memory segment that contains the STS objects
| Instance Config Parameters |
 |
var params = new STS.Params;
// Instance config-params object
params.comment = String "<add comments here>";
// Type a comment to identify this object
params.name = String "";
// Specify the name of the object
params.numA = Int32 1;
// The integer parameters used by the operation property
params.numB = Int32 0;
// The integer parameters used by the operation property
params.numC = Int32 1;
// The integer parameters used by the operation property
params.operation = String null;
// The expression evaluated on the data for this object
params.previousVal = Int32 0;
// The initial 32-bit history value to use in this object
params.unitType = String null;
// Choose the type of time base units
| config STS.comment // instance |
 |
Type a comment to identify this object
var params = new STS.Params;
...
params.comment = String "<add comments here>";
| config STS.name // instance |
 |
Specify the name of the object
var params = new STS.Params;
...
params.name = String "";
| config STS.numA // instance |
 |
The integer parameters used by the operation property
var params = new STS.Params;
...
params.numA = Int32 1;
| config STS.numB // instance |
 |
The integer parameters used by the operation property
var params = new STS.Params;
...
params.numB = Int32 0;
| config STS.numC // instance |
 |
The integer parameters used by the operation property
var params = new STS.Params;
...
params.numC = Int32 1;
| config STS.operation // instance |
 |
The expression evaluated on the data for this object
var params = new STS.Params;
...
params.operation = String null;
| config STS.previousVal // instance |
 |
The initial 32-bit history value to use in this object
var params = new STS.Params;
...
params.previousVal = Int32 0;
| config STS.unitType // instance |
 |
Choose the type of time base units
var params = new STS.Params;
...
params.unitType = String null;
| Instance Creation |
 |
// Allocate instance config-params
params.config = ...
// Assign individual configs
var inst = STS.create(String name, params);
// Create an instance-object
generated on Sat, 11 May 2013 02:22:25 GMT