metaonly module ti.catalog.msp430.peripherals.gpio.GPIO_MSP430x22xx

MSP430 General Purpose Input Output Ports

XDCscript usage meta-domain sourced in ti/catalog/msp430/peripherals/gpio/GPIO_MSP430x22xx.xdc
var GPIO_MSP430x22xx = xdc.useModule('ti.catalog.msp430.peripherals.gpio.GPIO_MSP430x22xx');
module-wide constants & types
        const GPIO_MSP430x22xx.BIT0_OFF;
        const GPIO_MSP430x22xx.BIT0;
    values of type GPIO_MSP430x22xx.Bit1_t// 
        const GPIO_MSP430x22xx.BIT1_OFF;
        const GPIO_MSP430x22xx.BIT1;
    values of type GPIO_MSP430x22xx.Bit2_t// 
        const GPIO_MSP430x22xx.BIT2_OFF;
        const GPIO_MSP430x22xx.BIT2;
    values of type GPIO_MSP430x22xx.Bit3_t// 
        const GPIO_MSP430x22xx.BIT3_OFF;
        const GPIO_MSP430x22xx.BIT3;
    values of type GPIO_MSP430x22xx.Bit4_t// 
        const GPIO_MSP430x22xx.BIT4_OFF;
        const GPIO_MSP430x22xx.BIT4;
    values of type GPIO_MSP430x22xx.Bit5_t// 
        const GPIO_MSP430x22xx.BIT5_OFF;
        const GPIO_MSP430x22xx.BIT5;
    values of type GPIO_MSP430x22xx.Bit6_t// 
        const GPIO_MSP430x22xx.BIT6_OFF;
        const GPIO_MSP430x22xx.BIT6;
    values of type GPIO_MSP430x22xx.Bit7_t// 
        const GPIO_MSP430x22xx.BIT7_OFF;
        const GPIO_MSP430x22xx.BIT7;
        obj.Bit0// GPIO Input Signal Bit 0 = IGPIO.Bit0_t  ...
        obj.Bit1// GPIO Input Signal Bit 1 = IGPIO.Bit1_t  ...
        obj.Bit2// GPIO Input Signal Bit 2 = IGPIO.Bit2_t  ...
        obj.Bit3// GPIO Input Signal Bit 3 = IGPIO.Bit3_t  ...
        obj.Bit4// GPIO Input Signal Bit 4 = IGPIO.Bit4_t  ...
        obj.Bit5// GPIO Input Signal Bit 5 = IGPIO.Bit5_t  ...
        obj.Bit6// GPIO Input Signal Bit 6 = IGPIO.Bit6_t  ...
        obj.Bit7// GPIO Input Signal Bit 7 = IGPIO.Bit7_t  ...
        obj.Bit0// GPIO Output Signal Bit 0 = IGPIO.Bit0_t  ...
        obj.Bit1// GPIO Output Signal Bit 1 = IGPIO.Bit1_t  ...
        obj.Bit2// GPIO Output Signal Bit 2 = IGPIO.Bit2_t  ...
        obj.Bit3// GPIO Output Signal Bit 3 = IGPIO.Bit3_t  ...
        obj.Bit4// GPIO Output Signal Bit 4 = IGPIO.Bit4_t  ...
        obj.Bit5// GPIO Output Signal Bit 5 = IGPIO.Bit5_t  ...
        obj.Bit6// GPIO Output Signal Bit 6 = IGPIO.Bit6_t  ...
        obj.Bit7// GPIO Output Signal Bit 7 = IGPIO.Bit7_t  ...
module-wide functions
per-instance config parameters
    var params = new GPIO_MSP430x22xx.Params// Instance config-params object;
        Bit0: IGPIO.BIT0_OFF,
        Bit1: IGPIO.BIT1_OFF,
        Bit2: IGPIO.BIT2_OFF,
        Bit3: IGPIO.BIT3_OFF,
        Bit4: IGPIO.BIT4_OFF,
        Bit5: IGPIO.BIT5_OFF,
        Bit6: IGPIO.BIT6_OFF,
        Bit7: IGPIO.BIT7_OFF
    };
        Bit0: IGPIO.BIT0_OFF,
        Bit1: IGPIO.BIT1_OFF,
        Bit2: IGPIO.BIT2_OFF,
        Bit3: IGPIO.BIT3_OFF,
        Bit4: IGPIO.BIT4_OFF,
        Bit5: IGPIO.BIT5_OFF,
        Bit6: IGPIO.BIT6_OFF,
        Bit7: IGPIO.BIT7_OFF
    };
        Bit0: IGPIO.BIT0_OFF,
        Bit1: IGPIO.BIT1_OFF,
        Bit2: IGPIO.BIT2_OFF,
        Bit3: IGPIO.BIT3_OFF,
        Bit4: IGPIO.BIT4_OFF,
        Bit5: IGPIO.BIT5_OFF,
        Bit6: IGPIO.BIT6_OFF,
        Bit7: IGPIO.BIT7_OFF
    };
        Bit0: IGPIO.BIT0_OFF,
        Bit1: IGPIO.BIT1_OFF,
        Bit2: IGPIO.BIT2_OFF,
        Bit3: IGPIO.BIT3_OFF,
        Bit4: IGPIO.BIT4_OFF,
        Bit5: IGPIO.BIT5_OFF,
        Bit6: IGPIO.BIT6_OFF,
        Bit7: IGPIO.BIT7_OFF
    };
        Bit0: IGPIO.BIT0_OFF,
        Bit1: IGPIO.BIT1_OFF,
        Bit2: IGPIO.BIT2_OFF,
        Bit3: IGPIO.BIT3_OFF,
        Bit4: IGPIO.BIT4_OFF,
        Bit5: IGPIO.BIT5_OFF,
        Bit6: IGPIO.BIT6_OFF,
        Bit7: IGPIO.BIT7_OFF
    };
        Bit0: IGPIO.BIT0_OFF,
        Bit1: IGPIO.BIT1_OFF,
        Bit2: IGPIO.BIT2_OFF,
        Bit3: IGPIO.BIT3_OFF,
        Bit4: IGPIO.BIT4_OFF,
        Bit5: IGPIO.BIT5_OFF,
        Bit6: IGPIO.BIT6_OFF,
        Bit7: IGPIO.BIT7_OFF
    };
        Bit0: IGPIO.BIT0_OFF,
        Bit1: IGPIO.BIT1_OFF,
        Bit2: IGPIO.BIT2_OFF,
        Bit3: IGPIO.BIT3_OFF,
        Bit4: IGPIO.BIT4_OFF,
        Bit5: IGPIO.BIT5_OFF,
        Bit6: IGPIO.BIT6_OFF,
        Bit7: IGPIO.BIT7_OFF
    };
        Bit0: IGPIO.BIT0_OFF,
        Bit1: IGPIO.BIT1_OFF,
        Bit2: IGPIO.BIT2_OFF,
        Bit3: IGPIO.BIT3_OFF,
        Bit4: IGPIO.BIT4_OFF,
        Bit5: IGPIO.BIT5_OFF,
        Bit6: IGPIO.BIT6_OFF,
        Bit7: IGPIO.BIT7_OFF
    };
        Bit0: IGPIO.BIT0_OFF,
        Bit1: IGPIO.BIT1_OFF,
        Bit2: IGPIO.BIT2_OFF,
        Bit3: IGPIO.BIT3_OFF,
        Bit4: IGPIO.BIT4_OFF,
        Bit5: IGPIO.BIT5_OFF,
        Bit6: IGPIO.BIT6_OFF,
        Bit7: IGPIO.BIT7_OFF
    };
        Bit0: IGPIO.BIT0_OFF,
        Bit1: IGPIO.BIT1_OFF,
        Bit2: IGPIO.BIT2_OFF,
        Bit3: IGPIO.BIT3_OFF,
        Bit4: IGPIO.BIT4_OFF,
        Bit5: IGPIO.BIT5_OFF,
        Bit6: IGPIO.BIT6_OFF,
        Bit7: IGPIO.BIT7_OFF
    };
        Bit0: IGPIO.BIT0_OFF,
        Bit1: IGPIO.BIT1_OFF,
        Bit2: IGPIO.BIT2_OFF,
        Bit3: IGPIO.BIT3_OFF,
        Bit4: IGPIO.BIT4_OFF,
        Bit5: IGPIO.BIT5_OFF,
        Bit6: IGPIO.BIT6_OFF,
        Bit7: IGPIO.BIT7_OFF
    };
        Bit0: IGPIO.BIT0_OFF,
        Bit1: IGPIO.BIT1_OFF,
        Bit2: IGPIO.BIT2_OFF,
        Bit3: IGPIO.BIT3_OFF,
        Bit4: IGPIO.BIT4_OFF,
        Bit5: IGPIO.BIT5_OFF,
        Bit6: IGPIO.BIT6_OFF,
        Bit7: IGPIO.BIT7_OFF
    };
        Bit0: IGPIO.BIT0_OFF,
        Bit1: IGPIO.BIT1_OFF,
        Bit2: IGPIO.BIT2_OFF,
        Bit3: IGPIO.BIT3_OFF,
        Bit4: IGPIO.BIT4_OFF,
        Bit5: IGPIO.BIT5_OFF,
        Bit6: IGPIO.BIT6_OFF,
        Bit7: IGPIO.BIT7_OFF
    };
        Bit0: IGPIO.BIT0_OFF,
        Bit1: IGPIO.BIT1_OFF,
        Bit2: IGPIO.BIT2_OFF,
        Bit3: IGPIO.BIT3_OFF,
        Bit4: IGPIO.BIT4_OFF,
        Bit5: IGPIO.BIT5_OFF,
        Bit6: IGPIO.BIT6,
        Bit7: IGPIO.BIT7
    };
        Bit0: IGPIO.BIT0_OFF,
        Bit1: IGPIO.BIT1_OFF,
        Bit2: IGPIO.BIT2_OFF,
        Bit3: IGPIO.BIT3_OFF,
        Bit4: IGPIO.BIT4_OFF,
        Bit5: IGPIO.BIT5_OFF,
        Bit6: IGPIO.BIT6_OFF,
        Bit7: IGPIO.BIT7_OFF
    };
        Bit0: IGPIO.BIT0_OFF,
        Bit1: IGPIO.BIT1_OFF,
        Bit2: IGPIO.BIT2_OFF,
        Bit3: IGPIO.BIT3_OFF,
        Bit4: IGPIO.BIT4_OFF,
        Bit5: IGPIO.BIT5_OFF,
        Bit6: IGPIO.BIT6_OFF,
        Bit7: IGPIO.BIT7_OFF
    };
        Bit0: IGPIO.BIT0_OFF,
        Bit1: IGPIO.BIT1_OFF,
        Bit2: IGPIO.BIT2_OFF,
        Bit3: IGPIO.BIT3_OFF,
        Bit4: IGPIO.BIT4_OFF,
        Bit5: IGPIO.BIT5_OFF,
        Bit6: IGPIO.BIT6_OFF,
        Bit7: IGPIO.BIT7_OFF
    };
        Bit0: IGPIO.BIT0_OFF,
        Bit1: IGPIO.BIT1_OFF,
        Bit2: IGPIO.BIT2_OFF,
        Bit3: IGPIO.BIT3_OFF,
        Bit4: IGPIO.BIT4_OFF,
        Bit5: IGPIO.BIT5_OFF,
        Bit6: IGPIO.BIT6_OFF,
        Bit7: IGPIO.BIT7_OFF
    };
        Bit0: IGPIO.BIT0_OFF,
        Bit1: IGPIO.BIT1_OFF,
        Bit2: IGPIO.BIT2_OFF,
        Bit3: IGPIO.BIT3_OFF,
        Bit4: IGPIO.BIT4_OFF,
        Bit5: IGPIO.BIT5_OFF,
        Bit6: IGPIO.BIT6_OFF,
        Bit7: IGPIO.BIT7_OFF
    };
        Bit0: IGPIO.BIT0_OFF,
        Bit1: IGPIO.BIT1_OFF,
        Bit2: IGPIO.BIT2_OFF,
        Bit3: IGPIO.BIT3_OFF,
        Bit4: IGPIO.BIT4_OFF,
        Bit5: IGPIO.BIT5_OFF,
        Bit6: IGPIO.BIT6_OFF,
        Bit7: IGPIO.BIT7_OFF
    };
        Bit0: IGPIO.BIT0_OFF,
        Bit1: IGPIO.BIT1_OFF,
        Bit2: IGPIO.BIT2_OFF,
        Bit3: IGPIO.BIT3_OFF,
        Bit4: IGPIO.BIT4_OFF,
        Bit5: IGPIO.BIT5_OFF,
        Bit6: IGPIO.BIT6_OFF,
        Bit7: IGPIO.BIT7_OFF
    };
        Bit0: IGPIO.BIT0_OFF,
        Bit1: IGPIO.BIT1_OFF,
        Bit2: IGPIO.BIT2_OFF,
        Bit3: IGPIO.BIT3_OFF,
        Bit4: IGPIO.BIT4_OFF,
        Bit5: IGPIO.BIT5_OFF,
        Bit6: IGPIO.BIT6_OFF,
        Bit7: IGPIO.BIT7_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 creation
    var inst = GPIO_MSP430x22xx.create// Create an instance-object(params);
per-instance functions
 
enum GPIO_MSP430x22xx.Bit0_t

GPIO Bit 0 Definitions

XDCscript usage meta-domain
values of type GPIO_MSP430x22xx.Bit0_t
    const GPIO_MSP430x22xx.BIT0_OFF;
    const GPIO_MSP430x22xx.BIT0;
enum GPIO_MSP430x22xx.Bit1_t
XDCscript usage meta-domain
values of type GPIO_MSP430x22xx.Bit1_t
    const GPIO_MSP430x22xx.BIT1_OFF;
    const GPIO_MSP430x22xx.BIT1;
enum GPIO_MSP430x22xx.Bit2_t
XDCscript usage meta-domain
values of type GPIO_MSP430x22xx.Bit2_t
    const GPIO_MSP430x22xx.BIT2_OFF;
    const GPIO_MSP430x22xx.BIT2;
enum GPIO_MSP430x22xx.Bit3_t
XDCscript usage meta-domain
values of type GPIO_MSP430x22xx.Bit3_t
    const GPIO_MSP430x22xx.BIT3_OFF;
    const GPIO_MSP430x22xx.BIT3;
enum GPIO_MSP430x22xx.Bit4_t
XDCscript usage meta-domain
values of type GPIO_MSP430x22xx.Bit4_t
    const GPIO_MSP430x22xx.BIT4_OFF;
    const GPIO_MSP430x22xx.BIT4;
enum GPIO_MSP430x22xx.Bit5_t
XDCscript usage meta-domain
values of type GPIO_MSP430x22xx.Bit5_t
    const GPIO_MSP430x22xx.BIT5_OFF;
    const GPIO_MSP430x22xx.BIT5;
enum GPIO_MSP430x22xx.Bit6_t
XDCscript usage meta-domain
values of type GPIO_MSP430x22xx.Bit6_t
    const GPIO_MSP430x22xx.BIT6_OFF;
    const GPIO_MSP430x22xx.BIT6;
enum GPIO_MSP430x22xx.Bit7_t
XDCscript usage meta-domain
values of type GPIO_MSP430x22xx.Bit7_t
    const GPIO_MSP430x22xx.BIT7_OFF;
    const GPIO_MSP430x22xx.BIT7;
struct GPIO_MSP430x22xx.GpioBits8PxDir_t

Generic GPIO 8-bit PxDIR register

XDCscript usage meta-domain
var obj = new GPIO_MSP430x22xx.GpioBits8PxDir_t;
 
    obj.Bit0 = IGPIO.Bit0_t  ...
    // GPIO Select Direction Bit 0 Bit = 0: The port pin is switched to input direction Bit = 1: The port pin is switched to output direction
    obj.Bit1 = IGPIO.Bit1_t  ...
    // GPIO Select Direction Bit 1 Bit = 0: The port pin is switched to input direction Bit = 1: The port pin is switched to output direction
    obj.Bit2 = IGPIO.Bit2_t  ...
    // GPIO Select Direction Bit 2 Bit = 0: The port pin is switched to input direction Bit = 1: The port pin is switched to output direction
    obj.Bit3 = IGPIO.Bit3_t  ...
    // GPIO Select Direction Bit 3 Bit = 0: The port pin is switched to input direction Bit = 1: The port pin is switched to output direction
    obj.Bit4 = IGPIO.Bit4_t  ...
    // GPIO Select Direction Bit 4 Bit = 0: The port pin is switched to input direction Bit = 1: The port pin is switched to output direction
    obj.Bit5 = IGPIO.Bit5_t  ...
    // GPIO Select Direction Bit 5 Bit = 0: The port pin is switched to input direction Bit = 1: The port pin is switched to output direction
    obj.Bit6 = IGPIO.Bit6_t  ...
    // GPIO Select Direction Bit 6 Bit = 0: The port pin is switched to input direction Bit = 1: The port pin is switched to output direction
    obj.Bit7 = IGPIO.Bit7_t  ...
    // GPIO Select Direction Bit 7 Bit = 0: The port pin is switched to input direction Bit = 1: The port pin is switched to output direction
SEE
struct GPIO_MSP430x22xx.GpioBits8PxIe_t

Generic GPIO 8-bit PxIE register

XDCscript usage meta-domain
var obj = new GPIO_MSP430x22xx.GpioBits8PxIe_t;
 
    obj.Bit0 = IGPIO.Bit0_t  ...
    // GPIO Interrupt Enable Bit 0 Bit = 0: The interrupt is disabled. Bit = 1: The interrupt is enabled
    obj.Bit1 = IGPIO.Bit1_t  ...
    // GPIO Interrupt Enable Bit 1 Bit = 0: The interrupt is disabled. Bit = 1: The interrupt is enabled
    obj.Bit2 = IGPIO.Bit2_t  ...
    // GPIO Interrupt Enable Bit 2 Bit = 0: The interrupt is disabled. Bit = 1: The interrupt is enabled
    obj.Bit3 = IGPIO.Bit3_t  ...
    // GPIO Interrupt Enable Bit 3 Bit = 0: The interrupt is disabled. Bit = 1: The interrupt is enabled
    obj.Bit4 = IGPIO.Bit4_t  ...
    // GPIO Interrupt Enable Bit 4 Bit = 0: The interrupt is disabled. Bit = 1: The interrupt is enabled
    obj.Bit5 = IGPIO.Bit5_t  ...
    // GPIO Interrupt Enable Bit 5 Bit = 0: The interrupt is disabled. Bit = 1: The interrupt is enabled
    obj.Bit6 = IGPIO.Bit6_t  ...
    // GPIO Interrupt Enable Bit 6 Bit = 0: The interrupt is disabled. Bit = 1: The interrupt is enabled
    obj.Bit7 = IGPIO.Bit7_t  ...
    // GPIO Interrupt Enable Bit 7 Bit = 0: The interrupt is disabled. Bit = 1: The interrupt is enabled
SEE
struct GPIO_MSP430x22xx.GpioBits8PxIes_t

Generic GPIO 8-bit PxIES register

XDCscript usage meta-domain
var obj = new GPIO_MSP430x22xx.GpioBits8PxIes_t;
 
    obj.Bit0 = IGPIO.Bit0_t  ...
    // GPIO Select Interrupt Edge Bit 0 Bit = 0: The PxIFGx flag is set with a low-to-high transition Bit = 1: The PxIFGx flag is set with a high-to-low transition
    obj.Bit1 = IGPIO.Bit1_t  ...
    // GPIO Select Interrupt Edge Bit 1 Bit = 0: The PxIFGx flag is set with a low-to-high transition Bit = 1: The PxIFGx flag is set with a high-to-low transition
    obj.Bit2 = IGPIO.Bit2_t  ...
    // GPIO Select Interrupt Edge Bit 2 Bit = 0: The PxIFGx flag is set with a low-to-high transition Bit = 1: The PxIFGx flag is set with a high-to-low transition
    obj.Bit3 = IGPIO.Bit3_t  ...
    // GPIO Select Interrupt Edge Bit 3 Bit = 0: The PxIFGx flag is set with a low-to-high transition Bit = 1: The PxIFGx flag is set with a high-to-low transition
    obj.Bit4 = IGPIO.Bit4_t  ...
    // GPIO Select Interrupt Edge Bit 4 Bit = 0: The PxIFGx flag is set with a low-to-high transition Bit = 1: The PxIFGx flag is set with a high-to-low transition
    obj.Bit5 = IGPIO.Bit5_t  ...
    // GPIO Select Interrupt Edge Bit 5 Bit = 0: The PxIFGx flag is set with a low-to-high transition Bit = 1: The PxIFGx flag is set with a high-to-low transition
    obj.Bit6 = IGPIO.Bit6_t  ...
    // GPIO Select Interrupt Edge Bit 6 Bit = 0: The PxIFGx flag is set with a low-to-high transition Bit = 1: The PxIFGx flag is set with a high-to-low transition
    obj.Bit7 = IGPIO.Bit7_t  ...
    // GPIO Select Interrupt Edge Bit 7 Bit = 0: The PxIFGx flag is set with a low-to-high transition Bit = 1: The PxIFGx flag is set with a high-to-low transition
SEE
struct GPIO_MSP430x22xx.GpioBits8PxIfg_t

Generic GPIO 8-bit PxIFG register

XDCscript usage meta-domain
var obj = new GPIO_MSP430x22xx.GpioBits8PxIfg_t;
 
    obj.Bit0 = IGPIO.Bit0_t  ...
    // GPIO Interrupt Flag Bit 0 Bit = 0: No interrupt is pending Bit = 1: An interrupt is pending
    obj.Bit1 = IGPIO.Bit1_t  ...
    // GPIO Interrupt Flag Bit 1 Bit = 0: No interrupt is pending Bit = 1: An interrupt is pending
    obj.Bit2 = IGPIO.Bit2_t  ...
    // GPIO Interrupt Flag Bit 2 Bit = 0: No interrupt is pending Bit = 1: An interrupt is pending
    obj.Bit3 = IGPIO.Bit3_t  ...
    // GPIO Interrupt Flag Bit 3 Bit = 0: No interrupt is pending Bit = 1: An interrupt is pending
    obj.Bit4 = IGPIO.Bit4_t  ...
    // GPIO Interrupt Flag Bit 4 Bit = 0: No interrupt is pending Bit = 1: An interrupt is pending
    obj.Bit5 = IGPIO.Bit5_t  ...
    // GPIO Interrupt Flag Bit 5 Bit = 0: No interrupt is pending Bit = 1: An interrupt is pending
    obj.Bit6 = IGPIO.Bit6_t  ...
    // GPIO Interrupt Flag Bit 6 Bit = 0: No interrupt is pending Bit = 1: An interrupt is pending
    obj.Bit7 = IGPIO.Bit7_t  ...
    // GPIO Interrupt Flag Bit 7 Bit = 0: No interrupt is pending Bit = 1: An interrupt is pending
SEE
struct GPIO_MSP430x22xx.GpioBits8PxIn_t

Generic GPIO 8-bit register

XDCscript usage meta-domain
var obj = new GPIO_MSP430x22xx.GpioBits8PxIn_t;
 
    obj.Bit0 = IGPIO.Bit0_t  ...
    // GPIO Input Signal Bit 0
    obj.Bit1 = IGPIO.Bit1_t  ...
    // GPIO Input Signal Bit 1
    obj.Bit2 = IGPIO.Bit2_t  ...
    // GPIO Input Signal Bit 2
    obj.Bit3 = IGPIO.Bit3_t  ...
    // GPIO Input Signal Bit 3
    obj.Bit4 = IGPIO.Bit4_t  ...
    // GPIO Input Signal Bit 4
    obj.Bit5 = IGPIO.Bit5_t  ...
    // GPIO Input Signal Bit 5
    obj.Bit6 = IGPIO.Bit6_t  ...
    // GPIO Input Signal Bit 6
    obj.Bit7 = IGPIO.Bit7_t  ...
    // GPIO Input Signal Bit 7
SEE
struct GPIO_MSP430x22xx.GpioBits8PxOut_t

Generic GPIO 8-bit PxOUT register

XDCscript usage meta-domain
var obj = new GPIO_MSP430x22xx.GpioBits8PxOut_t;
 
    obj.Bit0 = IGPIO.Bit0_t  ...
    // GPIO Output Signal Bit 0
    obj.Bit1 = IGPIO.Bit1_t  ...
    // GPIO Output Signal Bit 1
    obj.Bit2 = IGPIO.Bit2_t  ...
    // GPIO Output Signal Bit 2
    obj.Bit3 = IGPIO.Bit3_t  ...
    // GPIO Output Signal Bit 3
    obj.Bit4 = IGPIO.Bit4_t  ...
    // GPIO Output Signal Bit 4
    obj.Bit5 = IGPIO.Bit5_t  ...
    // GPIO Output Signal Bit 5
    obj.Bit6 = IGPIO.Bit6_t  ...
    // GPIO Output Signal Bit 6
    obj.Bit7 = IGPIO.Bit7_t  ...
    // GPIO Output Signal Bit 7
SEE
struct GPIO_MSP430x22xx.GpioBits8PxRen_t

Generic GPIO 8-bit PxREN register

XDCscript usage meta-domain
var obj = new GPIO_MSP430x22xx.GpioBits8PxRen_t;
 
    obj.Bit0 = IGPIO.Bit0_t  ...
    // GPIO Enables or Disables Pullup/Pulldown Bit 0 Bit = 0: Pullup/pulldown resistor disabled Bit = 1: Pullup/pulldown resistor enabled
    obj.Bit1 = IGPIO.Bit1_t  ...
    // GPIO Enables or Disables Pullup/Pulldown Bit 1 Bit = 0: Pullup/pulldown resistor disabled Bit = 1: Pullup/pulldown resistor enabled
    obj.Bit2 = IGPIO.Bit2_t  ...
    // GPIO Enables or Disables Pullup/Pulldown Bit 2 Bit = 0: Pullup/pulldown resistor disabled Bit = 1: Pullup/pulldown resistor enabled
    obj.Bit3 = IGPIO.Bit3_t  ...
    // GPIO Enables or Disables Pullup/Pulldown Bit 3 Bit = 0: Pullup/pulldown resistor disabled Bit = 1: Pullup/pulldown resistor enabled
    obj.Bit4 = IGPIO.Bit4_t  ...
    // GPIO Enables or Disables Pullup/Pulldown Bit 4 Bit = 0: Pullup/pulldown resistor disabled Bit = 1: Pullup/pulldown resistor enabled
    obj.Bit5 = IGPIO.Bit5_t  ...
    // GPIO Enables or Disables Pullup/Pulldown Bit 5 Bit = 0: Pullup/pulldown resistor disabled Bit = 1: Pullup/pulldown resistor enabled
    obj.Bit6 = IGPIO.Bit6_t  ...
    // GPIO Enables or Disables Pullup/Pulldown Bit 6 Bit = 0: Pullup/pulldown resistor disabled Bit = 1: Pullup/pulldown resistor enabled
    obj.Bit7 = IGPIO.Bit7_t  ...
    // GPIO Enables or Disables Pullup/Pulldown Bit 7 Bit = 0: Pullup/pulldown resistor disabled Bit = 1: Pullup/pulldown resistor enabled
SEE
struct GPIO_MSP430x22xx.GpioBits8PxSel_t

Generic GPIO 8-bit PxSEL register

XDCscript usage meta-domain
var obj = new GPIO_MSP430x22xx.GpioBits8PxSel_t;
 
    obj.Bit0 = IGPIO.Bit0_t  ...
    // GPIO Select Pin Function Bit 0 See the device-specific data sheet to determine pin functions
    obj.Bit1 = IGPIO.Bit1_t  ...
    // GPIO Select Pin Function Bit 1 See the device-specific data sheet to determine pin functions
    obj.Bit2 = IGPIO.Bit2_t  ...
    // GPIO Select Pin Function Bit 2 See the device-specific data sheet to determine pin functions
    obj.Bit3 = IGPIO.Bit3_t  ...
    // GPIO Select Pin Function Bit 3 See the device-specific data sheet to determine pin functions
    obj.Bit4 = IGPIO.Bit4_t  ...
    // GPIO Select Pin Function Bit 4 See the device-specific data sheet to determine pin functions
    obj.Bit5 = IGPIO.Bit5_t  ...
    // GPIO Select Pin Function Bit 5 See the device-specific data sheet to determine pin functions
    obj.Bit6 = IGPIO.Bit6_t  ...
    // GPIO Select Pin Function Bit 6 See the device-specific data sheet to determine pin functions
    obj.Bit7 = IGPIO.Bit7_t  ...
    // GPIO Select Pin Function Bit 7 See the device-specific data sheet to determine pin functions
SEE
GPIO_MSP430x22xx.addPeripheralsMap()  // module-wide

Create a map of all peripherals available on a device

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

Find all peripherals of a certain type

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

Find all registers defined by the peripheral

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

XDCscript usage meta-domain
var params = new GPIO_MSP430x22xx.Params;
// Instance config-params object
    params.P1DIR = GPIO_MSP430x22xx.GpioBits8PxDir_t {
    // Port 1 Direction Register
    Bit0: IGPIO.BIT0_OFF,
    Bit1: IGPIO.BIT1_OFF,
    Bit2: IGPIO.BIT2_OFF,
    Bit3: IGPIO.BIT3_OFF,
    Bit4: IGPIO.BIT4_OFF,
    Bit5: IGPIO.BIT5_OFF,
    Bit6: IGPIO.BIT6_OFF,
    Bit7: IGPIO.BIT7_OFF
};
    params.P1IE = GPIO_MSP430x22xx.GpioBits8PxIe_t {
    // Port 1 Interrupt Enable Register
    Bit0: IGPIO.BIT0_OFF,
    Bit1: IGPIO.BIT1_OFF,
    Bit2: IGPIO.BIT2_OFF,
    Bit3: IGPIO.BIT3_OFF,
    Bit4: IGPIO.BIT4_OFF,
    Bit5: IGPIO.BIT5_OFF,
    Bit6: IGPIO.BIT6_OFF,
    Bit7: IGPIO.BIT7_OFF
};
    params.P1IES = GPIO_MSP430x22xx.GpioBits8PxIes_t {
    // Port 1 Interrupt Edge Select Register
    Bit0: IGPIO.BIT0_OFF,
    Bit1: IGPIO.BIT1_OFF,
    Bit2: IGPIO.BIT2_OFF,
    Bit3: IGPIO.BIT3_OFF,
    Bit4: IGPIO.BIT4_OFF,
    Bit5: IGPIO.BIT5_OFF,
    Bit6: IGPIO.BIT6_OFF,
    Bit7: IGPIO.BIT7_OFF
};
    params.P1IFG = GPIO_MSP430x22xx.GpioBits8PxIfg_t {
    // Port 1 Interrupt Flag Register
    Bit0: IGPIO.BIT0_OFF,
    Bit1: IGPIO.BIT1_OFF,
    Bit2: IGPIO.BIT2_OFF,
    Bit3: IGPIO.BIT3_OFF,
    Bit4: IGPIO.BIT4_OFF,
    Bit5: IGPIO.BIT5_OFF,
    Bit6: IGPIO.BIT6_OFF,
    Bit7: IGPIO.BIT7_OFF
};
    params.P1OUT = GPIO_MSP430x22xx.GpioBits8PxOut_t {
    // Port 1 Output Register
    Bit0: IGPIO.BIT0_OFF,
    Bit1: IGPIO.BIT1_OFF,
    Bit2: IGPIO.BIT2_OFF,
    Bit3: IGPIO.BIT3_OFF,
    Bit4: IGPIO.BIT4_OFF,
    Bit5: IGPIO.BIT5_OFF,
    Bit6: IGPIO.BIT6_OFF,
    Bit7: IGPIO.BIT7_OFF
};
    params.P1REN = GPIO_MSP430x22xx.GpioBits8PxRen_t {
    // Port 1 Resistor Enable Register
    Bit0: IGPIO.BIT0_OFF,
    Bit1: IGPIO.BIT1_OFF,
    Bit2: IGPIO.BIT2_OFF,
    Bit3: IGPIO.BIT3_OFF,
    Bit4: IGPIO.BIT4_OFF,
    Bit5: IGPIO.BIT5_OFF,
    Bit6: IGPIO.BIT6_OFF,
    Bit7: IGPIO.BIT7_OFF
};
    params.P1SEL = GPIO_MSP430x22xx.GpioBits8PxSel_t {
    // Port 1 Port Select Register
    Bit0: IGPIO.BIT0_OFF,
    Bit1: IGPIO.BIT1_OFF,
    Bit2: IGPIO.BIT2_OFF,
    Bit3: IGPIO.BIT3_OFF,
    Bit4: IGPIO.BIT4_OFF,
    Bit5: IGPIO.BIT5_OFF,
    Bit6: IGPIO.BIT6_OFF,
    Bit7: IGPIO.BIT7_OFF
};
    params.P2DIR = GPIO_MSP430x22xx.GpioBits8PxDir_t {
    // Port 2 Direction Register
    Bit0: IGPIO.BIT0_OFF,
    Bit1: IGPIO.BIT1_OFF,
    Bit2: IGPIO.BIT2_OFF,
    Bit3: IGPIO.BIT3_OFF,
    Bit4: IGPIO.BIT4_OFF,
    Bit5: IGPIO.BIT5_OFF,
    Bit6: IGPIO.BIT6_OFF,
    Bit7: IGPIO.BIT7_OFF
};
    params.P2IE = GPIO_MSP430x22xx.GpioBits8PxIe_t {
    // Port 2 Interrupt Enable Register
    Bit0: IGPIO.BIT0_OFF,
    Bit1: IGPIO.BIT1_OFF,
    Bit2: IGPIO.BIT2_OFF,
    Bit3: IGPIO.BIT3_OFF,
    Bit4: IGPIO.BIT4_OFF,
    Bit5: IGPIO.BIT5_OFF,
    Bit6: IGPIO.BIT6_OFF,
    Bit7: IGPIO.BIT7_OFF
};
    params.P2IES = GPIO_MSP430x22xx.GpioBits8PxIes_t {
    // Port 2 Interrupt Edge Select Register
    Bit0: IGPIO.BIT0_OFF,
    Bit1: IGPIO.BIT1_OFF,
    Bit2: IGPIO.BIT2_OFF,
    Bit3: IGPIO.BIT3_OFF,
    Bit4: IGPIO.BIT4_OFF,
    Bit5: IGPIO.BIT5_OFF,
    Bit6: IGPIO.BIT6_OFF,
    Bit7: IGPIO.BIT7_OFF
};
    params.P2IFG = GPIO_MSP430x22xx.GpioBits8PxIfg_t {
    // Port 2 Interrupt Flag Register
    Bit0: IGPIO.BIT0_OFF,
    Bit1: IGPIO.BIT1_OFF,
    Bit2: IGPIO.BIT2_OFF,
    Bit3: IGPIO.BIT3_OFF,
    Bit4: IGPIO.BIT4_OFF,
    Bit5: IGPIO.BIT5_OFF,
    Bit6: IGPIO.BIT6_OFF,
    Bit7: IGPIO.BIT7_OFF
};
    params.P2OUT = GPIO_MSP430x22xx.GpioBits8PxOut_t {
    // Port 2 Output Register
    Bit0: IGPIO.BIT0_OFF,
    Bit1: IGPIO.BIT1_OFF,
    Bit2: IGPIO.BIT2_OFF,
    Bit3: IGPIO.BIT3_OFF,
    Bit4: IGPIO.BIT4_OFF,
    Bit5: IGPIO.BIT5_OFF,
    Bit6: IGPIO.BIT6_OFF,
    Bit7: IGPIO.BIT7_OFF
};
    params.P2REN = GPIO_MSP430x22xx.GpioBits8PxRen_t {
    // Port 2 Resistor Enable Register
    Bit0: IGPIO.BIT0_OFF,
    Bit1: IGPIO.BIT1_OFF,
    Bit2: IGPIO.BIT2_OFF,
    Bit3: IGPIO.BIT3_OFF,
    Bit4: IGPIO.BIT4_OFF,
    Bit5: IGPIO.BIT5_OFF,
    Bit6: IGPIO.BIT6_OFF,
    Bit7: IGPIO.BIT7_OFF
};
    params.P2SEL = GPIO_MSP430x22xx.GpioBits8PxSel_t {
    // Port 2 Port Select Register
    Bit0: IGPIO.BIT0_OFF,
    Bit1: IGPIO.BIT1_OFF,
    Bit2: IGPIO.BIT2_OFF,
    Bit3: IGPIO.BIT3_OFF,
    Bit4: IGPIO.BIT4_OFF,
    Bit5: IGPIO.BIT5_OFF,
    Bit6: IGPIO.BIT6,
    Bit7: IGPIO.BIT7
};
    params.P3DIR = GPIO_MSP430x22xx.GpioBits8PxDir_t {
    // Port 3 Direction Register
    Bit0: IGPIO.BIT0_OFF,
    Bit1: IGPIO.BIT1_OFF,
    Bit2: IGPIO.BIT2_OFF,
    Bit3: IGPIO.BIT3_OFF,
    Bit4: IGPIO.BIT4_OFF,
    Bit5: IGPIO.BIT5_OFF,
    Bit6: IGPIO.BIT6_OFF,
    Bit7: IGPIO.BIT7_OFF
};
    params.P3OUT = GPIO_MSP430x22xx.GpioBits8PxOut_t {
    // Port 3 Output Register
    Bit0: IGPIO.BIT0_OFF,
    Bit1: IGPIO.BIT1_OFF,
    Bit2: IGPIO.BIT2_OFF,
    Bit3: IGPIO.BIT3_OFF,
    Bit4: IGPIO.BIT4_OFF,
    Bit5: IGPIO.BIT5_OFF,
    Bit6: IGPIO.BIT6_OFF,
    Bit7: IGPIO.BIT7_OFF
};
    params.P3REN = GPIO_MSP430x22xx.GpioBits8PxRen_t {
    // Port 3 Resistor Enable Register
    Bit0: IGPIO.BIT0_OFF,
    Bit1: IGPIO.BIT1_OFF,
    Bit2: IGPIO.BIT2_OFF,
    Bit3: IGPIO.BIT3_OFF,
    Bit4: IGPIO.BIT4_OFF,
    Bit5: IGPIO.BIT5_OFF,
    Bit6: IGPIO.BIT6_OFF,
    Bit7: IGPIO.BIT7_OFF
};
    params.P3SEL = GPIO_MSP430x22xx.GpioBits8PxSel_t {
    // Port 3 Port Select Register
    Bit0: IGPIO.BIT0_OFF,
    Bit1: IGPIO.BIT1_OFF,
    Bit2: IGPIO.BIT2_OFF,
    Bit3: IGPIO.BIT3_OFF,
    Bit4: IGPIO.BIT4_OFF,
    Bit5: IGPIO.BIT5_OFF,
    Bit6: IGPIO.BIT6_OFF,
    Bit7: IGPIO.BIT7_OFF
};
    params.P4DIR = GPIO_MSP430x22xx.GpioBits8PxDir_t {
    // Port 4 Direction Register
    Bit0: IGPIO.BIT0_OFF,
    Bit1: IGPIO.BIT1_OFF,
    Bit2: IGPIO.BIT2_OFF,
    Bit3: IGPIO.BIT3_OFF,
    Bit4: IGPIO.BIT4_OFF,
    Bit5: IGPIO.BIT5_OFF,
    Bit6: IGPIO.BIT6_OFF,
    Bit7: IGPIO.BIT7_OFF
};
    params.P4OUT = GPIO_MSP430x22xx.GpioBits8PxOut_t {
    // Port 4 Output Register
    Bit0: IGPIO.BIT0_OFF,
    Bit1: IGPIO.BIT1_OFF,
    Bit2: IGPIO.BIT2_OFF,
    Bit3: IGPIO.BIT3_OFF,
    Bit4: IGPIO.BIT4_OFF,
    Bit5: IGPIO.BIT5_OFF,
    Bit6: IGPIO.BIT6_OFF,
    Bit7: IGPIO.BIT7_OFF
};
    params.P4REN = GPIO_MSP430x22xx.GpioBits8PxRen_t {
    // Port 4 Resistor Enable Register
    Bit0: IGPIO.BIT0_OFF,
    Bit1: IGPIO.BIT1_OFF,
    Bit2: IGPIO.BIT2_OFF,
    Bit3: IGPIO.BIT3_OFF,
    Bit4: IGPIO.BIT4_OFF,
    Bit5: IGPIO.BIT5_OFF,
    Bit6: IGPIO.BIT6_OFF,
    Bit7: IGPIO.BIT7_OFF
};
    params.P4SEL = GPIO_MSP430x22xx.GpioBits8PxSel_t {
    // Port 4 Port Select Register
    Bit0: IGPIO.BIT0_OFF,
    Bit1: IGPIO.BIT1_OFF,
    Bit2: IGPIO.BIT2_OFF,
    Bit3: IGPIO.BIT3_OFF,
    Bit4: IGPIO.BIT4_OFF,
    Bit5: IGPIO.BIT5_OFF,
    Bit6: IGPIO.BIT6_OFF,
    Bit7: IGPIO.BIT7_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 GPIO_MSP430x22xx.P1DIR  // instance

Port 1 Direction Register

XDCscript usage meta-domain
var params = new GPIO_MSP430x22xx.Params;
  ...
    Bit0: IGPIO.BIT0_OFF,
    Bit1: IGPIO.BIT1_OFF,
    Bit2: IGPIO.BIT2_OFF,
    Bit3: IGPIO.BIT3_OFF,
    Bit4: IGPIO.BIT4_OFF,
    Bit5: IGPIO.BIT5_OFF,
    Bit6: IGPIO.BIT6_OFF,
    Bit7: IGPIO.BIT7_OFF
};
config GPIO_MSP430x22xx.P1IE  // instance

Port 1 Interrupt Enable Register

XDCscript usage meta-domain
var params = new GPIO_MSP430x22xx.Params;
  ...
    Bit0: IGPIO.BIT0_OFF,
    Bit1: IGPIO.BIT1_OFF,
    Bit2: IGPIO.BIT2_OFF,
    Bit3: IGPIO.BIT3_OFF,
    Bit4: IGPIO.BIT4_OFF,
    Bit5: IGPIO.BIT5_OFF,
    Bit6: IGPIO.BIT6_OFF,
    Bit7: IGPIO.BIT7_OFF
};
config GPIO_MSP430x22xx.P1IES  // instance

Port 1 Interrupt Edge Select Register

XDCscript usage meta-domain
var params = new GPIO_MSP430x22xx.Params;
  ...
    Bit0: IGPIO.BIT0_OFF,
    Bit1: IGPIO.BIT1_OFF,
    Bit2: IGPIO.BIT2_OFF,
    Bit3: IGPIO.BIT3_OFF,
    Bit4: IGPIO.BIT4_OFF,
    Bit5: IGPIO.BIT5_OFF,
    Bit6: IGPIO.BIT6_OFF,
    Bit7: IGPIO.BIT7_OFF
};
config GPIO_MSP430x22xx.P1IFG  // instance

Port 1 Interrupt Flag Register

XDCscript usage meta-domain
var params = new GPIO_MSP430x22xx.Params;
  ...
    Bit0: IGPIO.BIT0_OFF,
    Bit1: IGPIO.BIT1_OFF,
    Bit2: IGPIO.BIT2_OFF,
    Bit3: IGPIO.BIT3_OFF,
    Bit4: IGPIO.BIT4_OFF,
    Bit5: IGPIO.BIT5_OFF,
    Bit6: IGPIO.BIT6_OFF,
    Bit7: IGPIO.BIT7_OFF
};
config GPIO_MSP430x22xx.P1OUT  // instance

Port 1 Output Register

XDCscript usage meta-domain
var params = new GPIO_MSP430x22xx.Params;
  ...
    Bit0: IGPIO.BIT0_OFF,
    Bit1: IGPIO.BIT1_OFF,
    Bit2: IGPIO.BIT2_OFF,
    Bit3: IGPIO.BIT3_OFF,
    Bit4: IGPIO.BIT4_OFF,
    Bit5: IGPIO.BIT5_OFF,
    Bit6: IGPIO.BIT6_OFF,
    Bit7: IGPIO.BIT7_OFF
};
config GPIO_MSP430x22xx.P1REN  // instance

Port 1 Resistor Enable Register

XDCscript usage meta-domain
var params = new GPIO_MSP430x22xx.Params;
  ...
    Bit0: IGPIO.BIT0_OFF,
    Bit1: IGPIO.BIT1_OFF,
    Bit2: IGPIO.BIT2_OFF,
    Bit3: IGPIO.BIT3_OFF,
    Bit4: IGPIO.BIT4_OFF,
    Bit5: IGPIO.BIT5_OFF,
    Bit6: IGPIO.BIT6_OFF,
    Bit7: IGPIO.BIT7_OFF
};
config GPIO_MSP430x22xx.P1SEL  // instance

Port 1 Port Select Register

XDCscript usage meta-domain
var params = new GPIO_MSP430x22xx.Params;
  ...
    Bit0: IGPIO.BIT0_OFF,
    Bit1: IGPIO.BIT1_OFF,
    Bit2: IGPIO.BIT2_OFF,
    Bit3: IGPIO.BIT3_OFF,
    Bit4: IGPIO.BIT4_OFF,
    Bit5: IGPIO.BIT5_OFF,
    Bit6: IGPIO.BIT6_OFF,
    Bit7: IGPIO.BIT7_OFF
};
config GPIO_MSP430x22xx.P2DIR  // instance

Port 2 Direction Register

XDCscript usage meta-domain
var params = new GPIO_MSP430x22xx.Params;
  ...
    Bit0: IGPIO.BIT0_OFF,
    Bit1: IGPIO.BIT1_OFF,
    Bit2: IGPIO.BIT2_OFF,
    Bit3: IGPIO.BIT3_OFF,
    Bit4: IGPIO.BIT4_OFF,
    Bit5: IGPIO.BIT5_OFF,
    Bit6: IGPIO.BIT6_OFF,
    Bit7: IGPIO.BIT7_OFF
};
config GPIO_MSP430x22xx.P2IE  // instance

Port 2 Interrupt Enable Register

XDCscript usage meta-domain
var params = new GPIO_MSP430x22xx.Params;
  ...
    Bit0: IGPIO.BIT0_OFF,
    Bit1: IGPIO.BIT1_OFF,
    Bit2: IGPIO.BIT2_OFF,
    Bit3: IGPIO.BIT3_OFF,
    Bit4: IGPIO.BIT4_OFF,
    Bit5: IGPIO.BIT5_OFF,
    Bit6: IGPIO.BIT6_OFF,
    Bit7: IGPIO.BIT7_OFF
};
config GPIO_MSP430x22xx.P2IES  // instance

Port 2 Interrupt Edge Select Register

XDCscript usage meta-domain
var params = new GPIO_MSP430x22xx.Params;
  ...
    Bit0: IGPIO.BIT0_OFF,
    Bit1: IGPIO.BIT1_OFF,
    Bit2: IGPIO.BIT2_OFF,
    Bit3: IGPIO.BIT3_OFF,
    Bit4: IGPIO.BIT4_OFF,
    Bit5: IGPIO.BIT5_OFF,
    Bit6: IGPIO.BIT6_OFF,
    Bit7: IGPIO.BIT7_OFF
};
config GPIO_MSP430x22xx.P2IFG  // instance

Port 2 Interrupt Flag Register

XDCscript usage meta-domain
var params = new GPIO_MSP430x22xx.Params;
  ...
    Bit0: IGPIO.BIT0_OFF,
    Bit1: IGPIO.BIT1_OFF,
    Bit2: IGPIO.BIT2_OFF,
    Bit3: IGPIO.BIT3_OFF,
    Bit4: IGPIO.BIT4_OFF,
    Bit5: IGPIO.BIT5_OFF,
    Bit6: IGPIO.BIT6_OFF,
    Bit7: IGPIO.BIT7_OFF
};
config GPIO_MSP430x22xx.P2OUT  // instance

Port 2 Output Register

XDCscript usage meta-domain
var params = new GPIO_MSP430x22xx.Params;
  ...
    Bit0: IGPIO.BIT0_OFF,
    Bit1: IGPIO.BIT1_OFF,
    Bit2: IGPIO.BIT2_OFF,
    Bit3: IGPIO.BIT3_OFF,
    Bit4: IGPIO.BIT4_OFF,
    Bit5: IGPIO.BIT5_OFF,
    Bit6: IGPIO.BIT6_OFF,
    Bit7: IGPIO.BIT7_OFF
};
config GPIO_MSP430x22xx.P2REN  // instance

Port 2 Resistor Enable Register

XDCscript usage meta-domain
var params = new GPIO_MSP430x22xx.Params;
  ...
    Bit0: IGPIO.BIT0_OFF,
    Bit1: IGPIO.BIT1_OFF,
    Bit2: IGPIO.BIT2_OFF,
    Bit3: IGPIO.BIT3_OFF,
    Bit4: IGPIO.BIT4_OFF,
    Bit5: IGPIO.BIT5_OFF,
    Bit6: IGPIO.BIT6_OFF,
    Bit7: IGPIO.BIT7_OFF
};
config GPIO_MSP430x22xx.P2SEL  // instance

Port 2 Port Select Register

XDCscript usage meta-domain
var params = new GPIO_MSP430x22xx.Params;
  ...
    Bit0: IGPIO.BIT0_OFF,
    Bit1: IGPIO.BIT1_OFF,
    Bit2: IGPIO.BIT2_OFF,
    Bit3: IGPIO.BIT3_OFF,
    Bit4: IGPIO.BIT4_OFF,
    Bit5: IGPIO.BIT5_OFF,
    Bit6: IGPIO.BIT6,
    Bit7: IGPIO.BIT7
};
config GPIO_MSP430x22xx.P3DIR  // instance

Port 3 Direction Register

XDCscript usage meta-domain
var params = new GPIO_MSP430x22xx.Params;
  ...
    Bit0: IGPIO.BIT0_OFF,
    Bit1: IGPIO.BIT1_OFF,
    Bit2: IGPIO.BIT2_OFF,
    Bit3: IGPIO.BIT3_OFF,
    Bit4: IGPIO.BIT4_OFF,
    Bit5: IGPIO.BIT5_OFF,
    Bit6: IGPIO.BIT6_OFF,
    Bit7: IGPIO.BIT7_OFF
};
config GPIO_MSP430x22xx.P3OUT  // instance

Port 3 Output Register

XDCscript usage meta-domain
var params = new GPIO_MSP430x22xx.Params;
  ...
    Bit0: IGPIO.BIT0_OFF,
    Bit1: IGPIO.BIT1_OFF,
    Bit2: IGPIO.BIT2_OFF,
    Bit3: IGPIO.BIT3_OFF,
    Bit4: IGPIO.BIT4_OFF,
    Bit5: IGPIO.BIT5_OFF,
    Bit6: IGPIO.BIT6_OFF,
    Bit7: IGPIO.BIT7_OFF
};
config GPIO_MSP430x22xx.P3REN  // instance

Port 3 Resistor Enable Register

XDCscript usage meta-domain
var params = new GPIO_MSP430x22xx.Params;
  ...
    Bit0: IGPIO.BIT0_OFF,
    Bit1: IGPIO.BIT1_OFF,
    Bit2: IGPIO.BIT2_OFF,
    Bit3: IGPIO.BIT3_OFF,
    Bit4: IGPIO.BIT4_OFF,
    Bit5: IGPIO.BIT5_OFF,
    Bit6: IGPIO.BIT6_OFF,
    Bit7: IGPIO.BIT7_OFF
};
config GPIO_MSP430x22xx.P3SEL  // instance

Port 3 Port Select Register

XDCscript usage meta-domain
var params = new GPIO_MSP430x22xx.Params;
  ...
    Bit0: IGPIO.BIT0_OFF,
    Bit1: IGPIO.BIT1_OFF,
    Bit2: IGPIO.BIT2_OFF,
    Bit3: IGPIO.BIT3_OFF,
    Bit4: IGPIO.BIT4_OFF,
    Bit5: IGPIO.BIT5_OFF,
    Bit6: IGPIO.BIT6_OFF,
    Bit7: IGPIO.BIT7_OFF
};
config GPIO_MSP430x22xx.P4DIR  // instance

Port 4 Direction Register

XDCscript usage meta-domain
var params = new GPIO_MSP430x22xx.Params;
  ...
    Bit0: IGPIO.BIT0_OFF,
    Bit1: IGPIO.BIT1_OFF,
    Bit2: IGPIO.BIT2_OFF,
    Bit3: IGPIO.BIT3_OFF,
    Bit4: IGPIO.BIT4_OFF,
    Bit5: IGPIO.BIT5_OFF,
    Bit6: IGPIO.BIT6_OFF,
    Bit7: IGPIO.BIT7_OFF
};
config GPIO_MSP430x22xx.P4OUT  // instance

Port 4 Output Register

XDCscript usage meta-domain
var params = new GPIO_MSP430x22xx.Params;
  ...
    Bit0: IGPIO.BIT0_OFF,
    Bit1: IGPIO.BIT1_OFF,
    Bit2: IGPIO.BIT2_OFF,
    Bit3: IGPIO.BIT3_OFF,
    Bit4: IGPIO.BIT4_OFF,
    Bit5: IGPIO.BIT5_OFF,
    Bit6: IGPIO.BIT6_OFF,
    Bit7: IGPIO.BIT7_OFF
};
config GPIO_MSP430x22xx.P4REN  // instance

Port 4 Resistor Enable Register

XDCscript usage meta-domain
var params = new GPIO_MSP430x22xx.Params;
  ...
    Bit0: IGPIO.BIT0_OFF,
    Bit1: IGPIO.BIT1_OFF,
    Bit2: IGPIO.BIT2_OFF,
    Bit3: IGPIO.BIT3_OFF,
    Bit4: IGPIO.BIT4_OFF,
    Bit5: IGPIO.BIT5_OFF,
    Bit6: IGPIO.BIT6_OFF,
    Bit7: IGPIO.BIT7_OFF
};
config GPIO_MSP430x22xx.P4SEL  // instance

Port 4 Port Select Register

XDCscript usage meta-domain
var params = new GPIO_MSP430x22xx.Params;
  ...
    Bit0: IGPIO.BIT0_OFF,
    Bit1: IGPIO.BIT1_OFF,
    Bit2: IGPIO.BIT2_OFF,
    Bit3: IGPIO.BIT3_OFF,
    Bit4: IGPIO.BIT4_OFF,
    Bit5: IGPIO.BIT5_OFF,
    Bit6: IGPIO.BIT6_OFF,
    Bit7: IGPIO.BIT7_OFF
};
config GPIO_MSP430x22xx.name  // instance

Specific peripheral name given by the device

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

String specifying the entity that manages the peripheral

XDCscript usage meta-domain
var params = new GPIO_MSP430x22xx.Params;
  ...
params.owner = String undefined;
Instance Creation

XDCscript usage meta-domain
var params = new GPIO_MSP430x22xx.Params;
// Allocate instance config-params
params.config =   ...
// Assign individual configs
 
var inst = GPIO_MSP430x22xx.create(params);
// Create an instance-object
GPIO_MSP430x22xx.getNumberOfPorts()  // instance

Get getNumberOfPorts

XDCscript usage meta-domain
inst.getNumberOfPorts() returns UChar
GPIO_MSP430x22xx.getTotalNumberOfGPIOs()  // instance

Get getTotalNumberOfGPIOs

XDCscript usage meta-domain
inst.getTotalNumberOfGPIOs() returns UChar
generated on Fri, 28 May 2010 20:25:49 GMT