metaonly module ti.catalog.msp430.peripherals.interrupt.Interrupt_Controller

MSP430 Interrupt_Controller

XDCscript usage meta-domain sourced in ti/catalog/msp430/peripherals/interrupt/Interrupt_Controller.xdc
var Interrupt_Controller = xdc.useModule('ti.catalog.msp430.peripherals.interrupt.Interrupt_Controller');
module-wide functions
per-instance config parameters
    var params = new Interrupt_Controller.Params// Instance config-params object;
        params.baseAddr//  = UInt undefined;
        params.name// Specific peripheral name given by the device = String undefined;
        params.numInterrupts//  = UInt undefined;
        params.owner// String specifying the entity that manages the peripheral = String undefined;
 
 
Interrupt_Controller.getAll()  // module-wide

Find all peripherals of a certain type

XDCscript usage meta-domain
Interrupt_Controller.getAll() returns IPeripheral.Instance[]
 
DETAILS
The type of the peripherals returned is defined by the type of the caller.
RETURNS
Returns an array of IPeripheral instances
 
Interrupt_Controller.getRegisters()  // module-wide

Find all registers defined by the peripheral

XDCscript usage meta-domain
Interrupt_Controller.getRegisters() returns String[]
 
RETURNS
Returns an array of register names
Instance Config Parameters

XDCscript usage meta-domain
var params = new Interrupt_Controller.Params;
// Instance config-params object
    params.baseAddr = UInt undefined;
    // 
    params.name = String undefined;
    // Specific peripheral name given by the device
    params.numInterrupts = UInt undefined;
    // 
    params.owner = String undefined;
    // String specifying the entity that manages the peripheral
 
config Interrupt_Controller.baseAddr  // instance
XDCscript usage meta-domain
var params = new Interrupt_Controller.Params;
  ...
params.baseAddr = UInt undefined;
 
 
config Interrupt_Controller.name  // instance

Specific peripheral name given by the device

XDCscript usage meta-domain
var params = new Interrupt_Controller.Params;
  ...
params.name = String undefined;
 
DETAILS
Devices can have more than one peripheral of the same type. In such cases, device data sheets give different names to the instances of a same peripheral. For example, the name for a timer module could be TimerA3, and a device that has two such timers can name them TA0 and TA1.
 
config Interrupt_Controller.numInterrupts  // instance
XDCscript usage meta-domain
var params = new Interrupt_Controller.Params;
  ...
params.numInterrupts = UInt undefined;
 
 
config Interrupt_Controller.owner  // instance

String specifying the entity that manages the peripheral

XDCscript usage meta-domain
var params = new Interrupt_Controller.Params;
  ...
params.owner = String undefined;
 
generated on Fri, 10 Feb 2012 21:41:51 GMT