metaonly module ti.bios.STS

STS module

legacy module to support DSP/BIOS 5.x, see DSP/BIOS 5.x docs for more info
Configuration settings sourced in ti/bios/STS.xdc
var STS = xdc.useModule('ti.bios.STS');
module-wide config parameters
per-instance config parameters
    var params = new STS.Params// Instance config-params object;
        params.comment// Type a comment to identify this object = String "<add comments here>";
        params.name// Specify the name of the object = String "";
        params.unitType// Choose the type of time base units = String null;
per-instance creation
    var inst = STS.create// Create an instance-object(String name, params);
 
 
config STS.OBJMEMSEG  // module-wide

The memory segment that contains the STS objects

Configuration settings
STS.OBJMEMSEG = MEM.Instance null;
 
Instance Config Parameters

Configuration settings
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

Configuration settings
var params = new STS.Params;
  ...
params.comment = String "<add comments here>";
 
 
config STS.name  // instance

Specify the name of the object

Configuration settings
var params = new STS.Params;
  ...
params.name = String "";
 
 
config STS.numA  // instance

The integer parameters used by the operation property

Configuration settings
var params = new STS.Params;
  ...
params.numA = Int32 1;
 
 
config STS.numB  // instance

The integer parameters used by the operation property

Configuration settings
var params = new STS.Params;
  ...
params.numB = Int32 0;
 
 
config STS.numC  // instance

The integer parameters used by the operation property

Configuration settings
var params = new STS.Params;
  ...
params.numC = Int32 1;
 
 
config STS.operation  // instance

The expression evaluated on the data for this object

Configuration settings
var params = new STS.Params;
  ...
params.operation = String null;
 
 
config STS.previousVal  // instance

The initial 32-bit history value to use in this object

Configuration settings
var params = new STS.Params;
  ...
params.previousVal = Int32 0;
 
 
config STS.unitType  // instance

Choose the type of time base units

Configuration settings
var params = new STS.Params;
  ...
params.unitType = String null;
 
Instance Creation

Configuration settings
var params = new STS.Params;
// 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