enum SFRIE1.ACCVIE_t |
|
XDCscript usage |
meta-domain |
values of type SFRIE1.ACCVIE_t
const SFRIE1.ACCVIE_OFF;
// Interrupt not enabled
const SFRIE1.ACCVIE;
// Interrupt enabled
enum SFRIE1.ACCVIFG_t |
|
XDCscript usage |
meta-domain |
values of type SFRIE1.ACCVIFG_t
const SFRIE1.ACCVIFG_OFF;
// No interrupt pending
const SFRIE1.ACCVIFG;
// Interrupt pending
enum SFRIE1.JMBINIE_t |
|
XDCscript usage |
meta-domain |
values of type SFRIE1.JMBINIE_t
const SFRIE1.JMBINIE_OFF;
// Interrupt not enabled
const SFRIE1.JMBINIE;
// Interrupt enabled
enum SFRIE1.JMBOUTIE_t |
|
XDCscript usage |
meta-domain |
values of type SFRIE1.JMBOUTIE_t
const SFRIE1.JMBOUTIE_OFF;
// Interrupt not enabled
const SFRIE1.JMBOUTIE;
// Interrupt enabled
enum SFRIE1.NMIIE_t |
|
XDCscript usage |
meta-domain |
values of type SFRIE1.NMIIE_t
const SFRIE1.NMIIE_OFF;
// Interrupt not enabled
const SFRIE1.NMIIE;
// Interrupt enabled
enum SFRIE1.NMIIFG_t |
|
XDCscript usage |
meta-domain |
values of type SFRIE1.NMIIFG_t
const SFRIE1.NMIIFG_OFF;
// No interrupt pending
const SFRIE1.NMIIFG;
// Interrupt pending
enum SFRIE1.OFIE_t |
|
XDCscript usage |
meta-domain |
values of type SFRIE1.OFIE_t
const SFRIE1.OFIE_OFF;
// Interrupt not enabled
const SFRIE1.OFIE;
// Interrupt enabled
enum SFRIE1.OFIFG_t |
|
XDCscript usage |
meta-domain |
values of type SFRIE1.OFIFG_t
const SFRIE1.OFIFG_OFF;
// No interrupt pending
const SFRIE1.OFIFG;
// Interrupt pending
enum SFRIE1.WDTIE_t |
|
XDCscript usage |
meta-domain |
values of type SFRIE1.WDTIE_t
const SFRIE1.WDTIE_OFF;
// Interrupt not enabled
const SFRIE1.WDTIE;
// Interrupt enabled
enum SFRIE1.WDTIFG_t |
|
XDCscript usage |
meta-domain |
values of type SFRIE1.WDTIFG_t
const SFRIE1.WDTIFG_OFF;
// No interrupt pending
const SFRIE1.WDTIFG;
// Interrupt pending
struct SFRIE1.ForceSetDefaultRegister_t |
|
Force Set Default Register
XDCscript usage |
meta-domain |
var obj = new SFRIE1.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 SFRIE1.IE1_t |
|
XDCscript usage |
meta-domain |
var obj = new SFRIE1.IE1_t;
// Flash memory access violation interrupt
enable. This bit enables the ACCVIFG interrupt.
0 Interrupt disabled
1 Interrupt enabled
// NMI interrupt enable. This bit enables
the NMI interrupt.
0 Interrupt disabled
1 Interrupt enabled
// Oscillator fault flag interrupt enable
This bit enables the OFIFG interrupt.
0 Interrupt disabled
1 Interrupt enabled
// Watchdog timer+ interrupt enable. This
bit enables the WDTIFG interrupt for
interval timer mode. It is not necessary
to set this bit for watchdog mode.
0 Interrupt disabled
1 Interrupt enabled
struct SFRIE1.IFG1_t |
|
XDCscript usage |
meta-domain |
var obj = new SFRIE1.IFG1_t;
// Flash memory access violation interrupt
flag.
0 No interrupt pending
1 Interrupt pending
// NMI interrupt flag.
0 No interrupt pending
1 Interrupt pending
// Oscillator fault interrupt flag
0 No interrupt pending
1 Interrupt pending
// Watchdog timer+ interrupt flag.
0 No interrupt pending
1 Interrupt pending
struct SFRIE1.regIntVect_t |
|
Interrupt vector description
XDCscript usage |
meta-domain |
var obj = new SFRIE1.regIntVect_t;
obj.registerName = String ...
obj.registerDescription = String ...
obj.isrToggleString = String ...
obj.priorityName = String ...
obj.interruptEnable = Bool ...
obj.interruptHandler = Bool ...
obj.priority = Int ...
DETAILS
Type to describe a single interrupt vector pin and all its possible
configurations.
SEE
SFRIE1.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
SFRIE1.getRegisters() // module-wide |
|
Find all registers defined by the peripheral
XDCscript usage |
meta-domain |
SFRIE1.getRegisters() returns String[]
RETURNS
Returns an array of register names
Instance Config Parameters |
|
XDCscript usage |
meta-domain |
var params = new SFRIE1.Params;
// Instance config-params object
// IE1, Interrupt Enable Register 1
};
// IFG1, Interrupt Flag Register 1
};
// Determine if each Register needs to be forced set or not
{
register: "SFRIE1",
regForceSet: false
},
{
register: "SFRIFG1",
regForceSet: false
}
];
// SFRIE1 interrupt enables
params.name = String undefined;
// Specific peripheral name given by the device
params.owner = String undefined;
// String specifying the entity that manages the peripheral
config SFRIE1.SFRIE1 // instance |
|
IE1, Interrupt Enable Register 1
XDCscript usage |
meta-domain |
var params = new SFRIE1.Params;
...
};
config SFRIE1.SFRIFG1 // instance |
|
IFG1, Interrupt Flag Register 1
XDCscript usage |
meta-domain |
var params = new SFRIE1.Params;
...
};
config SFRIE1.forceSetDefaultRegister // instance |
|
Determine if each Register needs to be forced set or not
XDCscript usage |
meta-domain |
var params = new SFRIE1.Params;
...
{
register: "SFRIE1",
regForceSet: false
},
{
register: "SFRIFG1",
regForceSet: false
}
];
config SFRIE1.interruptSource // instance |
|
SFRIE1 interrupt enables
XDCscript usage |
meta-domain |
var params = new SFRIE1.Params;
...
config SFRIE1.name // instance |
|
Specific peripheral name given by the device
XDCscript usage |
meta-domain |
var params = new SFRIE1.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 SFRIE1.owner // instance |
|
String specifying the entity that manages the peripheral
XDCscript usage |
meta-domain |
var params = new SFRIE1.Params;
...
params.owner = String undefined;
SFRIE1.getSFRIE1() // instance |
|
Gets a bit from the register in SFRIE1
XDCscript usage |
meta-domain |
inst.getSFRIE1(String register) returns Bool
SEE
SFRIE1.setSFRIE1() // instance |
|
Sets a bit in the register SFRIE1
XDCscript usage |
meta-domain |
inst.setSFRIE1(String register, Bool set) returns Bool
SEE