metaonly module ti.catalog.msp430.peripherals.special_function.IE2

MSP430 Interrupt Enable Register 2

XDCscript usage meta-domain sourced in ti/catalog/msp430/peripherals/special_function/IE2.xdc
var IE2 = xdc.useModule('ti.catalog.msp430.peripherals.special_function.IE2');
module-wide constants & types
    values of type IE2.UCA0RXIE_t// 
        const IE2.UCA0RXIE// Interrupt enabled;
    values of type IE2.UCA0TXIE_t// 
        const IE2.UCA0TXIE// Interrupt enabled;
    values of type IE2.UCB0RXIE_t// 
        const IE2.UCB0RXIE// Interrupt enabled;
    values of type IE2.UCB0TXIE_t// 
        const IE2.UCB0TXIE// Interrupt enabled;
module-wide functions
per-instance config parameters
    var params = new IE2.Params// Instance config-params object;
        UCB0TXIE: IE2.UCB0TXIE_OFF,
        UCB0RXIE: IE2.UCB0RXIE_OFF,
        UCA0TXIE: IE2.UCA0TXIE_OFF,
        UCA0RXIE: IE2.UCA0RXIE_OFF
    };
        params.name// Specific peripheral name given by the device = String undefined;
        params.owner// String specifying the entity that manages the peripheral = String undefined;
per-instance functions
    inst.getUCA0RXIE// Get UCA0RXIE bit() returns Bool
    inst.getUCA0TXIE// Get UCA0TXIE bit() returns Bool
    inst.getUCB0RXIE// Get UCB0RXIE bit() returns Bool
    inst.getUCB0TXIE// Get UCB0TXIE bit() returns Bool
    inst.setUCA0RXIE// Set UCA0RXIE bit(Bool set) returns Bool
    inst.setUCA0TXIE// Set UCA0TXIE bit(Bool set) returns Bool
    inst.setUCB0RXIE// Set UCB0RXIE bit(Bool set) returns Bool
    inst.setUCB0TXIE// Set UCB0TXIE bit(Bool set) returns Bool
 
enum IE2.UCA0RXIE_t
XDCscript usage meta-domain
values of type IE2.UCA0RXIE_t
    const IE2.UCA0RXIE_OFF;
    // Interrupt disabled
    const IE2.UCA0RXIE;
    // Interrupt enabled
enum IE2.UCA0TXIE_t
XDCscript usage meta-domain
values of type IE2.UCA0TXIE_t
    const IE2.UCA0TXIE_OFF;
    // Interrupt disabled
    const IE2.UCA0TXIE;
    // Interrupt enabled
enum IE2.UCB0RXIE_t
XDCscript usage meta-domain
values of type IE2.UCB0RXIE_t
    const IE2.UCB0RXIE_OFF;
    // Interrupt disabled
    const IE2.UCB0RXIE;
    // Interrupt enabled
enum IE2.UCB0TXIE_t
XDCscript usage meta-domain
values of type IE2.UCB0TXIE_t
    const IE2.UCB0TXIE_OFF;
    // Interrupt disabled
    const IE2.UCB0TXIE;
    // Interrupt enabled
struct IE2.IE2_t

IE2, Interrupt Enable Register 2

XDCscript usage meta-domain
var obj = new IE2.IE2_t;
 
    obj.UCB0TXIE = IE2.UCB0TXIE_t  ...
    // USCI_B0 transmit interrupt enable 0 Interrupt disabled 1 Interrupt enabled
    obj.UCB0RXIE = IE2.UCB0RXIE_t  ...
    // USCI_B0 receive interrupt enable 0 Interrupt disabled 1 Interrupt enabled
    obj.UCA0TXIE = IE2.UCA0TXIE_t  ...
    // USCI_A0 transmit interrupt enable 0 Interrupt disabled 1 Interrupt enabled
    obj.UCA0RXIE = IE2.UCA0RXIE_t  ...
    // USCI_A0 receive interrupt enable 0 Interrupt disabled 1 Interrupt enabled
IE2.addPeripheralsMap()  // module-wide

Create a map of all peripherals available on a device

XDCscript usage meta-domain
IE2.addPeripheralsMap(ICpuDataSheet.Instance cds) returns Void
ARGUMENTS
cds — an xdc.platform.ICpuDataSheet instance
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.
IE2.getAll()  // module-wide

Find all peripherals of a certain type

XDCscript usage meta-domain
IE2.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
IE2.getRegisters()  // module-wide

Find all registers defined by the peripheral

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

XDCscript usage meta-domain
var params = new IE2.Params;
// Instance config-params object
    params.IE2 = IE2.IE2_t {
    // IE2, Interrupt Enable Register 2
    UCB0TXIE: IE2.UCB0TXIE_OFF,
    UCB0RXIE: IE2.UCB0RXIE_OFF,
    UCA0TXIE: IE2.UCA0TXIE_OFF,
    UCA0RXIE: IE2.UCA0RXIE_OFF
};
    params.name = String undefined;
    // Specific peripheral name given by the device
    params.owner = String undefined;
    // String specifying the entity that manages the peripheral
config IE2.IE2  // instance

IE2, Interrupt Enable Register 2

XDCscript usage meta-domain
var params = new IE2.Params;
  ...
params.IE2 = IE2.IE2_t {
    UCB0TXIE: IE2.UCB0TXIE_OFF,
    UCB0RXIE: IE2.UCB0RXIE_OFF,
    UCA0TXIE: IE2.UCA0TXIE_OFF,
    UCA0RXIE: IE2.UCA0RXIE_OFF
};
config IE2.name  // instance

Specific peripheral name given by the device

XDCscript usage meta-domain
var params = new IE2.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 IE2.owner  // instance

String specifying the entity that manages the peripheral

XDCscript usage meta-domain
var params = new IE2.Params;
  ...
params.owner = String undefined;
IE2.getUCA0RXIE()  // instance

Get UCA0RXIE bit

XDCscript usage meta-domain
inst.getUCA0RXIE() returns Bool
IE2.getUCA0TXIE()  // instance

Get UCA0TXIE bit

XDCscript usage meta-domain
inst.getUCA0TXIE() returns Bool
IE2.getUCB0RXIE()  // instance

Get UCB0RXIE bit

XDCscript usage meta-domain
inst.getUCB0RXIE() returns Bool
IE2.getUCB0TXIE()  // instance

Get UCB0TXIE bit

XDCscript usage meta-domain
inst.getUCB0TXIE() returns Bool
IE2.setUCA0RXIE()  // instance

Set UCA0RXIE bit

XDCscript usage meta-domain
inst.setUCA0RXIE(Bool set) returns Bool
IE2.setUCA0TXIE()  // instance

Set UCA0TXIE bit

XDCscript usage meta-domain
inst.setUCA0TXIE(Bool set) returns Bool
IE2.setUCB0RXIE()  // instance

Set UCB0RXIE bit

XDCscript usage meta-domain
inst.setUCB0RXIE(Bool set) returns Bool
IE2.setUCB0TXIE()  // instance

Set UCB0TXIE bit

XDCscript usage meta-domain
inst.setUCB0TXIE(Bool set) returns Bool
generated on Fri, 28 May 2010 20:25:52 GMT