metaonly module ti.catalog.msp430.peripherals.gpio_grace3.GPIO_MSP430FR59xx_FR58xx |
 |
 |
MSP430 General Purpose Input Output Ports
var GPIO_MSP430FR59xx_FR58xx = xdc.useModule('ti.catalog.msp430.peripherals.gpio_grace3.GPIO_MSP430FR59xx_FR58xx');
module-wide constants & types
module-wide functions
per-instance config parameters
per-instance creation
struct GPIO_MSP430FR59xx_FR58xx.regIntVect_t |
 |
Interrupt vector description
var obj = new GPIO_MSP430FR59xx_FR58xx.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
GPIO_MSP430FR59xx_FR58xx.getAll() // module-wide |
 |
Find all peripherals of a certain type
DETAILS
The type of the peripherals returned is defined by the type of the
caller.
RETURNS
Returns an array of IPeripheral instances
GPIO_MSP430FR59xx_FR58xx.getRegisters() // module-wide |
 |
Find all registers defined by the peripheral
GPIO_MSP430FR59xx_FR58xx.getRegisters() returns String[]
RETURNS
Returns an array of register names
Instance Config Parameters |
 |
var params = new GPIO_MSP430FR59xx_FR58xx.Params;
// Instance config-params object
// GPIO interrupt source
params.name = String undefined;
// Specific peripheral name given by the device
params.numPortInterrupts = Int 4;
//
params.owner = String undefined;
// String specifying the entity that manages the peripheral
config GPIO_MSP430FR59xx_FR58xx.Params.interruptSource // instance |
 |
GPIO interrupt source
var params = new GPIO_MSP430FR59xx_FR58xx.Params;
...
config GPIO_MSP430FR59xx_FR58xx.Params.name // instance |
 |
Specific peripheral name given by the device
var params = new GPIO_MSP430FR59xx_FR58xx.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 GPIO_MSP430FR59xx_FR58xx.Params.numPortInterrupts // instance |
 |
var params = new GPIO_MSP430FR59xx_FR58xx.Params;
...
params.numPortInterrupts = Int 4;
config GPIO_MSP430FR59xx_FR58xx.Params.owner // instance |
 |
String specifying the entity that manages the peripheral
var params = new GPIO_MSP430FR59xx_FR58xx.Params;
...
params.owner = String undefined;
Static Instance Creation |
 |
var params =
new GPIO_MSP430FR59xx_FR58xx.
Params;
// Allocate instance config-params
params.config = ...
// Assign individual configs
var inst = GPIO_MSP430FR59xx_FR58xx.
create(
CS_A.Instance clock, params);
// Create an instance-object
generated on Wed, 09 Apr 2014 00:39:20 GMT