metaonly module ti.catalog.msp430.peripherals.special_function.IE1 |
![](../../../../../Arrow_up.png) |
![](../../../../../Arrow_right.png) |
MSP430 Interrupt Enable Register 1
var IE1 = xdc.useModule('ti.catalog.msp430.peripherals.special_function.IE1');
module-wide constants & types
module-wide functions
per-instance config parameters
};
per-instance functions
enum IE1.NMIE_t |
![](../../../../../Arrow_up.png) |
XDCscript usage |
meta-domain |
values of type IE1.NMIE_t
const IE1.NMIE_OFF;
const IE1.NMIE;
enum IE1.OFIE_t |
![](../../../../../Arrow_up.png) |
XDCscript usage |
meta-domain |
values of type IE1.OFIE_t
const IE1.OFIE_OFF;
// Interrupt not enabled
const IE1.OFIE;
// Interrupt enabled
enum IE1.WDTIE_t |
![](../../../../../Arrow_up.png) |
XDCscript usage |
meta-domain |
values of type IE1.WDTIE_t
const IE1.WDTIE_OFF;
const IE1.WDTIE;
struct IE1.IE1_t |
![](../../../../../Arrow_up.png) |
XDCscript usage |
meta-domain |
IE1.addPeripheralsMap() // module-wide |
![](../../../../../Arrow_up.png) |
Create a map of all peripherals available on a device
XDCscript usage |
meta-domain |
ARGUMENTS
DETAILS
The config parameter
peripherals is by default undefined in an
xdc.platform.ICpuDataSheet instance. This function gathers
all instance configuration parameters that are of the type
xdc.platform.IPeripheral into the map
peripherals.
IE1.getAll() // module-wide |
![](../../../../../Arrow_up.png) |
Find all peripherals of a certain type
XDCscript usage |
meta-domain |
DETAILS
The type of the peripherals returned is defined by the type of the
caller.
RETURNS
Returns an array of IPeripheral instances
IE1.getRegisters() // module-wide |
![](../../../../../Arrow_up.png) |
Find all registers defined by the peripheral
XDCscript usage |
meta-domain |
IE1.getRegisters() returns String[]
RETURNS
Returns an array of register names
Instance Config Parameters |
![](../../../../../Arrow_up.png) |
XDCscript usage |
meta-domain |
var params = new IE1.Params;
// Instance config-params object
// IE1, Interrupt Enable Register 1
};
params.name = String undefined;
// Specific peripheral name given by the device
params.owner = String undefined;
// String specifying the entity that manages the peripheral
config IE1.IE1 // instance |
![](../../../../../Arrow_up.png) |
IE1, Interrupt Enable Register 1
XDCscript usage |
meta-domain |
var params = new IE1.Params;
...
};
config IE1.name // instance |
![](../../../../../Arrow_up.png) |
Specific peripheral name given by the device
XDCscript usage |
meta-domain |
var params = new IE1.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 IE1.owner // instance |
![](../../../../../Arrow_up.png) |
String specifying the entity that manages the peripheral
XDCscript usage |
meta-domain |
var params = new IE1.Params;
...
params.owner = String undefined;
IE1.getNMIE() // instance |
![](../../../../../Arrow_up.png) |
Get NMIE bit
XDCscript usage |
meta-domain |
inst.getNMIE() returns Bool
IE1.getOFIE() // instance |
![](../../../../../Arrow_up.png) |
Get OFIE bit
XDCscript usage |
meta-domain |
inst.getOFIE() returns Bool
IE1.getWDTIE() // instance |
![](../../../../../Arrow_up.png) |
Get WDTIE bit
XDCscript usage |
meta-domain |
inst.getWDTIE() returns Bool
IE1.setNMIE() // instance |
![](../../../../../Arrow_up.png) |
Set NMIE bit
XDCscript usage |
meta-domain |
inst.setNMIE(Bool set) returns Bool
IE1.setOFIE() // instance |
![](../../../../../Arrow_up.png) |
Set OFIE bit
XDCscript usage |
meta-domain |
inst.setOFIE(Bool set) returns Bool
IE1.setWDTIE() // instance |
![](../../../../../Arrow_up.png) |
Set WDTIE bit
XDCscript usage |
meta-domain |
inst.setWDTIE(Bool set) returns Bool
generated on Fri, 25 Jun 2010 22:41:46 GMT