| metaonly module ti.bios.LOG |
 |
 |
 |
LOG module
legacy module to support DSP/BIOS 5.x, see DSP/BIOS 5.x docs for more info
var LOG = xdc.useModule('ti.bios.LOG');
module-wide config parameters
per-instance config parameters
per-instance creation
| config LOG.OBJMEMSEG // module-wide |
 |
The memory segment that contains the LOG objects
| config LOG.TS // module-wide |
 |
This property is no longer supported
| config LOG.enableFlush // module-wide |
 |
If set to true, it will allow LOGs to be flushed
LOG.enableFlush = Bool false;
| Instance Config Parameters |
 |
var params = new LOG.Params;
// Instance config-params object
params.bufLen = UInt 64;
// The length of the log buffer (in words)
//
params.comment = String "<add comments here>";
// Type a comment to identify this object
params.dataType = String undefined;
// This property is no longer supported
params.exitFlush = Bool false;
// Flush buffer on exit
params.format = String undefined;
// This property is no longer supported
params.logType = String "circular";
// The type of the log
params.name = String "";
// Specify the name of the object
| config LOG.bufLen // instance |
 |
The length of the log buffer (in words)
var params = new LOG.Params;
...
params.bufLen = UInt 64;
| config LOG.bufSeg // instance |
 |
var params = new LOG.Params;
...
| config LOG.comment // instance |
 |
Type a comment to identify this object
var params = new LOG.Params;
...
params.comment = String "<add comments here>";
| config LOG.dataType // instance |
 |
This property is no longer supported
var params = new LOG.Params;
...
params.dataType = String undefined;
| config LOG.exitFlush // instance |
 |
Flush buffer on exit
var params = new LOG.Params;
...
params.exitFlush = Bool false;
| config LOG.format // instance |
 |
This property is no longer supported
var params = new LOG.Params;
...
params.format = String undefined;
| config LOG.logType // instance |
 |
The type of the log
var params = new LOG.Params;
...
params.logType = String "circular";
| config LOG.name // instance |
 |
Specify the name of the object
var params = new LOG.Params;
...
params.name = String "";
| Instance Creation |
 |
// Allocate instance config-params
params.config = ...
// Assign individual configs
var inst = LOG.create(String name, params);
// Create an instance-object
generated on Sat, 11 May 2013 02:22:24 GMT