| metaonly module ti.bios.SEM |
 |
 |
 |
SEM module
legacy module to support BIOS 5.x, see BIOS 5.x docs for more info
metaonly module SEM { ...
instance: ...
| XDCscript usage |
meta-domain |
var SEM = xdc.useModule('ti.bios.SEM');
module-wide config parameters
per-instance config parameters
per-instance creation
metaonly module SEM {
module-wide config parameters
instance:
per-instance config parameters
per-instance creation
}
| config SEM.OBJMEMSEG // module-wide |
 |
The memory segment that contains the SEM objects
| XDCscript usage |
meta-domain |
| per-instance config parameters |
 |
| XDCscript usage |
meta-domain |
var params = new SEM.Params;
// Instance config-params object
params.
comment =
String "
";
// Type a comment to identify this object
params.count = UInt 0;
// Initial semaphore count
params.name = String "";
// Specify the name of the object
| config SEM.comment // per-instance |
 |
Type a comment to identify this object
| XDCscript usage |
meta-domain |
var params = new SEM.Params;
...
params.
comment =
String "
";
| config SEM.count // per-instance |
 |
Initial semaphore count
| XDCscript usage |
meta-domain |
var params = new SEM.Params;
...
params.count = UInt 0;
| config SEM.name // per-instance |
 |
Specify the name of the object
| XDCscript usage |
meta-domain |
var params = new SEM.Params;
...
params.name = String "";
| per-instance creation |
 |
| XDCscript usage |
meta-domain |
// Allocate instance config-params
params.config = ...
// Assign individual configs
var inst = SEM.create( String name, params );
// Create an instance-object
generated on Fri, 16 Oct 2009 20:56:45 GMT