metaonly module ti.bios.CLK

CLK module

legacy module to support DSP/BIOS 5.x, see DSP/BIOS 5.x docs for more info
Configuration settings sourced in ti/bios/CLK.xdc
var CLK = xdc.useModule('ti.bios.CLK');
module-wide config parameters
per-instance config parameters
    var params = new CLK.Params// Instance config-params object;
        params.comment// Type a comment to identify this object = String "<add comments here>";
        params.fxn// The function to be executed when the timer interrupt occurs = String undefined;
        params.name// Use to save the name of the object = String "";
        params.order// This property is no longer supported = Int16 undefined;
per-instance creation
    var inst = CLK.create// Create an instance-object(String name, params);
 
 
config CLK.CONFIGURETIMER  // module-wide

This property is no longer supported

Configuration settings
CLK.CONFIGURETIMER = Bool undefined;
 
 
config CLK.CONONDEBUG  // module-wide

This property is no longer supported

Configuration settings
CLK.CONONDEBUG = Bool undefined;
 
 
config CLK.ENABLECLK  // module-wide

If true, Use the on-device timer to drive high and low resolution times and to trigger execution of CLK functions. On some devices with ENABLEHTIME property, this enables only low-resolution timer

Configuration settings
CLK.ENABLECLK = Bool true;
 
 
config CLK.ENABLEHTIME  // module-wide

This property enables the high-resolution timer. (C64x+ only)

Configuration settings
CLK.ENABLEHTIME = Bool true;
 
 
config CLK.FIXTDDR  // module-wide

This property is no longer supported

Configuration settings
CLK.FIXTDDR = Bool undefined;
 
 
config CLK.HIRESTIME  // module-wide

This property is no longer supported

Configuration settings
CLK.HIRESTIME = Bool undefined;
 
 
config CLK.INPUTCLK  // module-wide

This property is no longer supported

Configuration settings
CLK.INPUTCLK = Float undefined;
 
 
config CLK.MICROSECONDS  // module-wide

The number of microseconds between interrupts

Configuration settings
CLK.MICROSECONDS = Float 1000;
 
 
config CLK.OBJMEMSEG  // module-wide

The memory segment that contains the CLK objects

Configuration settings
CLK.OBJMEMSEG = MEM.Instance null;
 
 
config CLK.POSTINITFXN  // module-wide

This property is no longer supported

Configuration settings
CLK.POSTINITFXN = String undefined;
 
 
config CLK.PRD  // module-wide

This property is no longer supported

Configuration settings
CLK.PRD = Int16 undefined;
 
 
config CLK.RESETTIMER  // module-wide

Allow DSP/BIOS to initialize the timer to the mode specified by TIMMODE and release the timer from reset. (C64x+ only)

Configuration settings
CLK.RESETTIMER = Bool undefined;
 
 
config CLK.SPECIFYRATE  // module-wide

This property is no longer supported

Configuration settings
CLK.SPECIFYRATE = Bool undefined;
 
 
config CLK.STARTBOTH  // module-wide

This property is no longer supported

Configuration settings
CLK.STARTBOTH = Bool undefined;
 
 
config CLK.TCRTDDR  // module-wide

This property is no longer supported

Configuration settings
CLK.TCRTDDR = Int undefined;
 
 
config CLK.TIMER5BASE  // module-wide

This property sets the GPTimer5 base address. (C64x+ OMAP devices only)

Configuration settings
CLK.TIMER5BASE = UInt32 undefined;
 
 
config CLK.TIMER6BASE  // module-wide

This property sets the GPTimer6 base address. (C64x+ OMAP devices only)

Configuration settings
CLK.TIMER6BASE = UInt32 undefined;
 
 
config CLK.TIMER7BASE  // module-wide

This property sets the GPTimer7 base address. (C64x+ OMAP devices only)

Configuration settings
CLK.TIMER7BASE = UInt32 undefined;
 
 
config CLK.TIMER8BASE  // module-wide

This property sets the GPTimer8 base address. (C64x+ OMAP devices only)

Configuration settings
CLK.TIMER8BASE = UInt32 undefined;
 
 
config CLK.TIMERSELECT  // module-wide

Select the on-device timer to drive the timer services for CLK

Configuration settings
CLK.TIMERSELECT = String undefined;
 
 
config CLK.TIMMODE  // module-wide

This property specifies the timer mode. (C64x+ only)

Configuration settings
CLK.TIMMODE = String "32-bit unchained";
 
 
config CLK.WHICHHIRESTIMER  // module-wide

Selects the high-resolution timer

Configuration settings
CLK.WHICHHIRESTIMER = String null;
 
Instance Config Parameters

Configuration settings
var params = new CLK.Params;
// Instance config-params object
    params.comment = String "<add comments here>";
    // Type a comment to identify this object
    params.fxn = String undefined;
    // The function to be executed when the timer interrupt occurs
    params.name = String "";
    // Use to save the name of the object
    params.order = Int16 undefined;
    // This property is no longer supported
 
config CLK.comment  // instance

Type a comment to identify this object

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

The function to be executed when the timer interrupt occurs

Configuration settings
var params = new CLK.Params;
  ...
params.fxn = String undefined;
 
 
config CLK.name  // instance

Use to save the name of the object

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

This property is no longer supported

Configuration settings
var params = new CLK.Params;
  ...
params.order = Int16 undefined;
 
Instance Creation

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