metaonly module ti.bios.PRD

PRD module

legacy module to support DSP/BIOS 5.x, see DSP/BIOS 5.x docs for more info
Configuration settings sourced in ti/bios/PRD.xdc
var PRD = xdc.useModule('ti.bios.PRD');
module-wide config parameters
per-instance config parameters
    var params = new PRD.Params// Instance config-params object;
        params.arg0// Argument for the user-specified function = UArg 0;
        params.arg1// This property is no longer supported = UArg undefined;
        params.comment// Type a comment to identify this object = String "<add comments here>";
        params.fxn// Type a comment to identify this object = String undefined;
        params.mode// Determines whether function executes every period or just once = String "continuous";
        params.name// Specify the name of the object = String "";
        params.order// This property is no longer supported = UInt16 undefined;
per-instance creation
    var inst = PRD.create// Create an instance-object(String name, params);
 
 
config PRD.MICROSECONDS  // module-wide

The number of microseconds between ticks

Configuration settings
PRD.MICROSECONDS = Float 0.0;
 
 
config PRD.OBJMEMSEG  // module-wide

The memory segment containing the PRD objects

Configuration settings
PRD.OBJMEMSEG = MEM.Instance null;
 
 
config PRD.USECLK  // module-wide

This property is no longer supported

Configuration settings
PRD.USECLK = Bool undefined;
 
Instance Config Parameters

Configuration settings
var params = new PRD.Params;
// Instance config-params object
    params.arg0 = UArg 0;
    // Argument for the user-specified function
    params.arg1 = UArg undefined;
    // This property is no longer supported
    params.comment = String "<add comments here>";
    // Type a comment to identify this object
    params.fxn = String undefined;
    // Type a comment to identify this object
    params.mode = String "continuous";
    // Determines whether function executes every period or just once
    params.name = String "";
    // Specify the name of the object
    params.order = UInt16 undefined;
    // This property is no longer supported
    params.period = UInt 0;
    // The number of ticks represented by the period
 
config PRD.arg0  // instance

Argument for the user-specified function

Configuration settings
var params = new PRD.Params;
  ...
params.arg0 = UArg 0;
 
 
config PRD.arg1  // instance

This property is no longer supported

Configuration settings
var params = new PRD.Params;
  ...
params.arg1 = UArg undefined;
 
 
config PRD.comment  // instance

Type a comment to identify this object

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

Type a comment to identify this object

Configuration settings
var params = new PRD.Params;
  ...
params.fxn = String undefined;
 
 
config PRD.mode  // instance

Determines whether function executes every period or just once

Configuration settings
var params = new PRD.Params;
  ...
params.mode = String "continuous";
 
 
config PRD.name  // instance

Specify the name of the object

Configuration settings
var params = new PRD.Params;
  ...
params.name = String "";
 
 
config PRD.order  // instance

This property is no longer supported

Configuration settings
var params = new PRD.Params;
  ...
params.order = UInt16 undefined;
 
 
config PRD.period  // instance

The number of ticks represented by the period

Configuration settings
var params = new PRD.Params;
  ...
params.period = UInt 0;
 
Instance Creation

Configuration settings
var params = new PRD.Params;
// Allocate instance config-params
params.config =   ...
// Assign individual configs
 
var inst = PRD.create(String name, params);
// Create an instance-object
generated on Sat, 11 May 2013 02:22:25 GMT