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;
        obj.register = String  ...
        obj.regForceSet = Bool  ...
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
    };
        {
            register: "IE2",
            regForceSet: false
        }
    ];
        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// Gets UCA0RXIE bit() returns Bool
    inst.getUCA0TXIE// Gets UCA0TXIE bit() returns Bool
    inst.getUCB0RXIE// Gets UCB0RXIE bit() returns Bool
    inst.getUCB0TXIE// Gets UCB0TXIE bit() returns Bool
    inst.setUCA0RXIE// Sets UCA0RXIE bit(Bool set) returns Bool
    inst.setUCA0TXIE// Sets UCA0TXIE bit(Bool set) returns Bool
    inst.setUCB0RXIE// Sets UCB0RXIE bit(Bool set) returns Bool
    inst.setUCB0TXIE// Sets 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.ForceSetDefaultRegister_t

Force Set Default Register

XDCscript usage meta-domain
var obj = new IE2.ForceSetDefaultRegister_t;
 
    obj.register = String  ...
    obj.regForceSet = Bool  ...
DETAILS
Type to store if each register needs to be forced initialized even if the register is in default state.
SEE
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.forceSetDefaultRegister = IE2.ForceSetDefaultRegister_t[] [
    // Determine if each Register needs to be forced set or not
    {
        register: "IE2",
        regForceSet: false
    }
];
    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.forceSetDefaultRegister  // instance

Determine if each Register needs to be forced set or not

XDCscript usage meta-domain
var params = new IE2.Params;
  ...
const params.forceSetDefaultRegister = IE2.ForceSetDefaultRegister_t[] [
    {
        register: "IE2",
        regForceSet: false
    }
];
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

Gets UCA0RXIE bit

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

Gets UCA0TXIE bit

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

Gets UCB0RXIE bit

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

Gets UCB0TXIE bit

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

Sets UCA0RXIE bit

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

Sets UCA0TXIE bit

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

Sets UCB0RXIE bit

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

Sets UCB0TXIE bit

XDCscript usage meta-domain
inst.setUCB0TXIE(Bool set) returns Bool
SEE
generated on Tue, 24 Aug 2010 15:40:48 GMT