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;
// USCI_B0 transmit interrupt enable
0 Interrupt disabled
1 Interrupt enabled
// USCI_B0 receive interrupt enable
0 Interrupt disabled
1 Interrupt enabled
// USCI_A0 transmit interrupt enable
0 Interrupt disabled
1 Interrupt enabled
// 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 |
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.
IE2.getAll() // module-wide |
|
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
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
// IE2, Interrupt Enable Register 2
};
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;
...
};
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