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

MSP430 General Purpose Input Output Ports

XDCscript usage meta-domain sourced in ti/catalog/msp430/peripherals/gpio/GPIO_MSP430F22x2.xdc
var GPIO_MSP430F22x2 = xdc.useModule('ti.catalog.msp430.peripherals.gpio.GPIO_MSP430F22x2');
module-wide constants & types
        const GPIO_MSP430F22x2.BIT0_OFF;
        const GPIO_MSP430F22x2.BIT0;
 
    values of type GPIO_MSP430F22x2.Bit1_t// 
        const GPIO_MSP430F22x2.BIT1_OFF;
        const GPIO_MSP430F22x2.BIT1;
 
    values of type GPIO_MSP430F22x2.Bit2_t// 
        const GPIO_MSP430F22x2.BIT2_OFF;
        const GPIO_MSP430F22x2.BIT2;
 
    values of type GPIO_MSP430F22x2.Bit3_t// 
        const GPIO_MSP430F22x2.BIT3_OFF;
        const GPIO_MSP430F22x2.BIT3;
 
    values of type GPIO_MSP430F22x2.Bit4_t// 
        const GPIO_MSP430F22x2.BIT4_OFF;
        const GPIO_MSP430F22x2.BIT4;
 
    values of type GPIO_MSP430F22x2.Bit5_t// 
        const GPIO_MSP430F22x2.BIT5_OFF;
        const GPIO_MSP430F22x2.BIT5;
 
    values of type GPIO_MSP430F22x2.Bit6_t// 
        const GPIO_MSP430F22x2.BIT6_OFF;
        const GPIO_MSP430F22x2.BIT6;
 
    values of type GPIO_MSP430F22x2.Bit7_t// 
        const GPIO_MSP430F22x2.BIT7_OFF;
        const GPIO_MSP430F22x2.BIT7;
 
        const GPIO_MSP430F22x2.IE_OFF// Disabled;
 
 
 
        obj.functionIndex// Device Pin Functional Selection = UInt  ...
        obj.owner// Current Device Pin Owner = Any  ...
 
        obj.functionName = String[]  ...
        obj.functionConfig = IGPIO.DeviceRegisterConfig_t[][]  ...
 
        obj.pinName = String  ...
        obj.pinFunction = IGPIO.DevicePinFunction_t  ...
 
        obj.register = String  ...
        obj.bitSetMask = UInt  ...
        obj.bitClearMask = UInt  ...
 
        obj.register = String  ...
        obj.regForceSet = Bool  ...
 
 
 
 
 
        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  ...
 
 
 
 
        obj.port = UInt[]  ...
        obj.pin = UInt[]  ...
        obj.pinName = String[]  ...
        obj.functionIndex = UInt[]  ...
        obj.functionName = String[]  ...
 
        obj.registerName = String  ...
        obj.registerDescription = String  ...
        obj.isrToggleString = String  ...
        obj.priorityName = String  ...
        obj.interruptEnable = Bool  ...
        obj.interruptHandler = Bool  ...
        obj.priority = Int  ...
module-wide functions
per-instance config parameters
    var params = new GPIO_MSP430F22x2.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
        };
            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
        };
            [
                {
                    pinName: "P1.0",
                    pinFunction: {
                        functionName: [
                            "GPIO Input",
                            "GPIO Output",
                            "Timer_A3.TACLK",
                            "ADC10CLK"
                        ],
                        functionConfig: [
                            [
                                {
                                    register: "P1DIR",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x01
                                },
                                {
                                    register: "P1SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x01
                                }
                            ],
                            [
                                {
                                    register: "P1DIR",
                                    bitSetMask: 0x01,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "P1SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x01
                                }
                            ],
                            [
                                {
                                    register: "P1DIR",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x01
                                },
                                {
                                    register: "P1SEL",
                                    bitSetMask: 0x01,
                                    bitClearMask: 0x00
                                }
                            ],
                            [
                                {
                                    register: "P1DIR",
                                    bitSetMask: 0x01,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "P1SEL",
                                    bitSetMask: 0x01,
                                    bitClearMask: 0x00
                                }
                            ]
                        ]
                    }
                },
                {
                    pinName: "P1.1",
                    pinFunction: {
                        functionName: [
                            "GPIO Input",
                            "GPIO Output",
                            "Timer_A3.CCI0A",
                            "Timer_A3.TA0"
                        ],
                        functionConfig: [
                            [
                                {
                                    register: "P1DIR",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x02
                                },
                                {
                                    register: "P1SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x02
                                }
                            ],
                            [
                                {
                                    register: "P1DIR",
                                    bitSetMask: 0x02,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "P1SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x02
                                }
                            ],
                            [
                                {
                                    register: "P1DIR",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x02
                                },
                                {
                                    register: "P1SEL",
                                    bitSetMask: 0x02,
                                    bitClearMask: 0x00
                                }
                            ],
                            [
                                {
                                    register: "P1DIR",
                                    bitSetMask: 0x02,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "P1SEL",
                                    bitSetMask: 0x02,
                                    bitClearMask: 0x00
                                }
                            ]
                        ]
                    }
                },
                {
                    pinName: "P1.2",
                    pinFunction: {
                        functionName: [
                            "GPIO Input",
                            "GPIO Output",
                            "Timer_A3.CCI1A",
                            "Timer_A3.TA1"
                        ],
                        functionConfig: [
                            [
                                {
                                    register: "P1DIR",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x04
                                },
                                {
                                    register: "P1SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x04
                                }
                            ],
                            [
                                {
                                    register: "P1DIR",
                                    bitSetMask: 0x04,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "P1SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x04
                                }
                            ],
                            [
                                {
                                    register: "P1DIR",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x04
                                },
                                {
                                    register: "P1SEL",
                                    bitSetMask: 0x04,
                                    bitClearMask: 0x00
                                }
                            ],
                            [
                                {
                                    register: "P1DIR",
                                    bitSetMask: 0x04,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "P1SEL",
                                    bitSetMask: 0x04,
                                    bitClearMask: 0x00
                                }
                            ]
                        ]
                    }
                },
                {
                    pinName: "P1.3",
                    pinFunction: {
                        functionName: [
                            "GPIO Input",
                            "GPIO Output",
                            "Timer_A3.CCI2A",
                            "Timer_A3.TA2"
                        ],
                        functionConfig: [
                            [
                                {
                                    register: "P1DIR",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x08
                                },
                                {
                                    register: "P1SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x08
                                }
                            ],
                            [
                                {
                                    register: "P1DIR",
                                    bitSetMask: 0x08,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "P1SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x08
                                }
                            ],
                            [
                                {
                                    register: "P1DIR",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x08
                                },
                                {
                                    register: "P1SEL",
                                    bitSetMask: 0x08,
                                    bitClearMask: 0x00
                                }
                            ],
                            [
                                {
                                    register: "P1DIR",
                                    bitSetMask: 0x08,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "P1SEL",
                                    bitSetMask: 0x08,
                                    bitClearMask: 0x00
                                }
                            ]
                        ]
                    }
                },
                {
                    pinName: "P1.4",
                    pinFunction: {
                        functionName: [
                            "GPIO Input",
                            "GPIO Output",
                            "SMCLK"
                        ],
                        functionConfig: [
                            [
                                {
                                    register: "P1DIR",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x10
                                },
                                {
                                    register: "P1SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x10
                                }
                            ],
                            [
                                {
                                    register: "P1DIR",
                                    bitSetMask: 0x10,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "P1SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x10
                                }
                            ],
                            [
                                {
                                    register: "P1DIR",
                                    bitSetMask: 0x10,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "P1SEL",
                                    bitSetMask: 0x10,
                                    bitClearMask: 0x00
                                }
                            ]
                        ]
                    }
                },
                {
                    pinName: "P1.5",
                    pinFunction: {
                        functionName: [
                            "GPIO Input",
                            "GPIO Output",
                            "Timer_A3.TA0"
                        ],
                        functionConfig: [
                            [
                                {
                                    register: "P1DIR",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x20
                                },
                                {
                                    register: "P1SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x20
                                }
                            ],
                            [
                                {
                                    register: "P1DIR",
                                    bitSetMask: 0x20,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "P1SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x20
                                }
                            ],
                            [
                                {
                                    register: "P1DIR",
                                    bitSetMask: 0x20,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "P1SEL",
                                    bitSetMask: 0x20,
                                    bitClearMask: 0x00
                                }
                            ]
                        ]
                    }
                },
                {
                    pinName: "P1.6",
                    pinFunction: {
                        functionName: [
                            "GPIO Input",
                            "GPIO Output",
                            "Timer_A3.TA1"
                        ],
                        functionConfig: [
                            [
                                {
                                    register: "P1DIR",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x40
                                },
                                {
                                    register: "P1SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x40
                                }
                            ],
                            [
                                {
                                    register: "P1DIR",
                                    bitSetMask: 0x40,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "P1SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x40
                                }
                            ],
                            [
                                {
                                    register: "P1DIR",
                                    bitSetMask: 0x40,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "P1SEL",
                                    bitSetMask: 0x40,
                                    bitClearMask: 0x00
                                }
                            ]
                        ]
                    }
                },
                {
                    pinName: "P1.7",
                    pinFunction: {
                        functionName: [
                            "GPIO Input",
                            "GPIO Output",
                            "Timer_A3.TA2"
                        ],
                        functionConfig: [
                            [
                                {
                                    register: "P1DIR",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x80
                                },
                                {
                                    register: "P1SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x80
                                }
                            ],
                            [
                                {
                                    register: "P1DIR",
                                    bitSetMask: 0x80,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "P1SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x80
                                }
                            ],
                            [
                                {
                                    register: "P1DIR",
                                    bitSetMask: 0x80,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "P1SEL",
                                    bitSetMask: 0x80,
                                    bitClearMask: 0x00
                                }
                            ]
                        ]
                    }
                }
            ],
            [
                {
                    pinName: "P2.0",
                    pinFunction: {
                        functionName: [
                            "GPIO Input",
                            "GPIO Output",
                            "ACLK",
                            "A0"
                        ],
                        functionConfig: [
                            [
                                {
                                    register: "P2DIR",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x01
                                },
                                {
                                    register: "P2SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x01
                                },
                                {
                                    register: "ADC10AE0",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x01
                                }
                            ],
                            [
                                {
                                    register: "P2DIR",
                                    bitSetMask: 0x01,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "P2SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x01
                                },
                                {
                                    register: "ADC10AE0",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x01
                                }
                            ],
                            [
                                {
                                    register: "P2DIR",
                                    bitSetMask: 0x01,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "P2SEL",
                                    bitSetMask: 0x01,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "ADC10AE0",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x01
                                }
                            ],
                            [
                                {
                                    register: "ADC10AE0",
                                    bitSetMask: 0x01,
                                    bitClearMask: 0x00
                                }
                            ]
                        ]
                    }
                },
                {
                    pinName: "P2.1",
                    pinFunction: {
                        functionName: [
                            "GPIO Input",
                            "GPIO Output",
                            "Timer_A3.INCLK",
                            "SMCLK",
                            "A1"
                        ],
                        functionConfig: [
                            [
                                {
                                    register: "P2DIR",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x02
                                },
                                {
                                    register: "P2SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x02
                                },
                                {
                                    register: "ADC10AE0",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x02
                                }
                            ],
                            [
                                {
                                    register: "P2DIR",
                                    bitSetMask: 0x02,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "P2SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x02
                                },
                                {
                                    register: "ADC10AE0",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x02
                                }
                            ],
                            [
                                {
                                    register: "P2DIR",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x02
                                },
                                {
                                    register: "P2SEL",
                                    bitSetMask: 0x02,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "ADC10AE0",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x02
                                }
                            ],
                            [
                                {
                                    register: "P2DIR",
                                    bitSetMask: 0x02,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "P2SEL",
                                    bitSetMask: 0x02,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "ADC10AE0",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x02
                                }
                            ],
                            [
                                {
                                    register: "ADC10AE0",
                                    bitSetMask: 0x02,
                                    bitClearMask: 0x00
                                }
                            ]
                        ]
                    }
                },
                {
                    pinName: "P2.2",
                    pinFunction: {
                        functionName: [
                            "GPIO Input",
                            "GPIO Output",
                            "Timer_A3.CCI0B",
                            "Timer_A3.TA0",
                            "A2"
                        ],
                        functionConfig: [
                            [
                                {
                                    register: "P2DIR",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x04
                                },
                                {
                                    register: "P2SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x04
                                },
                                {
                                    register: "ADC10AE0",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x04
                                }
                            ],
                            [
                                {
                                    register: "P2DIR",
                                    bitSetMask: 0x04,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "P2SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x04
                                },
                                {
                                    register: "ADC10AE0",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x04
                                }
                            ],
                            [
                                {
                                    register: "P2DIR",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x04
                                },
                                {
                                    register: "P2SEL",
                                    bitSetMask: 0x04,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "ADC10AE0",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x04
                                }
                            ],
                            [
                                {
                                    register: "P2DIR",
                                    bitSetMask: 0x04,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "P2SEL",
                                    bitSetMask: 0x04,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "ADC10AE0",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x04
                                }
                            ],
                            [
                                {
                                    register: "ADC10AE0",
                                    bitSetMask: 0x04,
                                    bitClearMask: 0x00
                                }
                            ]
                        ]
                    }
                },
                {
                    pinName: "P2.3",
                    pinFunction: {
                        functionName: [
                            "GPIO Input",
                            "GPIO Output",
                            "Timer_A3.CCI1B",
                            "Timer_A3.TA1",
                            "A3/VREF--/VeREF--"
                        ],
                        functionConfig: [
                            [
                                {
                                    register: "P2DIR",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x08
                                },
                                {
                                    register: "P2SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x08
                                },
                                {
                                    register: "ADC10AE0",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x08
                                }
                            ],
                            [
                                {
                                    register: "P2DIR",
                                    bitSetMask: 0x08,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "P2SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x08
                                },
                                {
                                    register: "ADC10AE0",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x08
                                }
                            ],
                            [
                                {
                                    register: "P2DIR",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x08
                                },
                                {
                                    register: "P2SEL",
                                    bitSetMask: 0x08,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "ADC10AE0",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x08
                                }
                            ],
                            [
                                {
                                    register: "P2DIR",
                                    bitSetMask: 0x08,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "P2SEL",
                                    bitSetMask: 0x08,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "ADC10AE0",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x08
                                }
                            ],
                            [
                                {
                                    register: "ADC10AE0",
                                    bitSetMask: 0x08,
                                    bitClearMask: 0x00
                                }
                            ]
                        ]
                    }
                },
                {
                    pinName: "P2.4",
                    pinFunction: {
                        functionName: [
                            "GPIO Input",
                            "GPIO Output",
                            "Timer_A3.TA2",
                            "A4/VREF+/VeREF+"
                        ],
                        functionConfig: [
                            [
                                {
                                    register: "P2DIR",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x10
                                },
                                {
                                    register: "P2SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x10
                                },
                                {
                                    register: "ADC10AE0",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x10
                                }
                            ],
                            [
                                {
                                    register: "P2DIR",
                                    bitSetMask: 0x10,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "P2SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x10
                                },
                                {
                                    register: "ADC10AE0",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x10
                                }
                            ],
                            [
                                {
                                    register: "P2DIR",
                                    bitSetMask: 0x10,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "P2SEL",
                                    bitSetMask: 0x10,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "ADC10AE0",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x10
                                }
                            ],
                            [
                                {
                                    register: "ADC10AE0",
                                    bitSetMask: 0x10,
                                    bitClearMask: 0x00
                                }
                            ]
                        ]
                    }
                },
                {
                    pinName: "P2.5",
                    pinFunction: {
                        functionName: [
                            "GPIO Input",
                            "GPIO Output",
                            "DVSS",
                            "Rosc"
                        ],
                        functionConfig: [
                            [
                                {
                                    register: "P2DIR",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x20
                                },
                                {
                                    register: "P2SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x20
                                },
                                {
                                    register: "BCSCTL2",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x01
                                }
                            ],
                            [
                                {
                                    register: "P2DIR",
                                    bitSetMask: 0x20,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "P2SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x20
                                },
                                {
                                    register: "BCSCTL2",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x01
                                }
                            ],
                            [
                                {
                                    register: "P2DIR",
                                    bitSetMask: 0x20,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "P2SEL",
                                    bitSetMask: 0x20,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "BCSCTL2",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x01
                                }
                            ],
                            [
                                {
                                    register: "BCSCTL2",
                                    bitSetMask: 0x01,
                                    bitClearMask: 0x00
                                }
                            ]
                        ]
                    }
                },
                {
                    pinName: "P2.6",
                    pinFunction: {
                        functionName: [
                            "GPIO Input",
                            "GPIO Output",
                            "XIN"
                        ],
                        functionConfig: [
                            [
                                {
                                    register: "P2DIR",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x40
                                },
                                {
                                    register: "P2SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x40
                                }
                            ],
                            [
                                {
                                    register: "P2DIR",
                                    bitSetMask: 0x40,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "P2SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x40
                                }
                            ],
                            [
                                {
                                    register: "P2SEL",
                                    bitSetMask: 0x40,
                                    bitClearMask: 0x00
                                }
                            ]
                        ]
                    }
                },
                {
                    pinName: "P2.7",
                    pinFunction: {
                        functionName: [
                            "GPIO Input",
                            "GPIO Output",
                            "XOUT"
                        ],
                        functionConfig: [
                            [
                                {
                                    register: "P2DIR",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x80
                                },
                                {
                                    register: "P2SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x80
                                }
                            ],
                            [
                                {
                                    register: "P2DIR",
                                    bitSetMask: 0x80,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "P2SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x80
                                }
                            ],
                            [
                                {
                                    register: "P2SEL",
                                    bitSetMask: 0x80,
                                    bitClearMask: 0x00
                                }
                            ]
                        ]
                    }
                }
            ],
            [
                {
                    pinName: "P3.0",
                    pinFunction: {
                        functionName: [
                            "GPIO Input",
                            "GPIO Output",
                            "UCB0STE/UCA0CLK",
                            "A5"
                        ],
                        functionConfig: [
                            [
                                {
                                    register: "P3DIR",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x01
                                },
                                {
                                    register: "P3SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x01
                                },
                                {
                                    register: "ADC10AE0",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x20
                                }
                            ],
                            [
                                {
                                    register: "P3DIR",
                                    bitSetMask: 0x01,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "P3SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x01
                                },
                                {
                                    register: "ADC10AE0",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x20
                                }
                            ],
                            [
                                {
                                    register: "P3SEL",
                                    bitSetMask: 0x01,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "ADC10AE0",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x20
                                }
                            ],
                            [
                                {
                                    register: "ADC10AE0",
                                    bitSetMask: 0x20,
                                    bitClearMask: 0x00
                                }
                            ]
                        ]
                    }
                },
                {
                    pinName: "P3.1",
                    pinFunction: {
                        functionName: [
                            "GPIO Input",
                            "GPIO Output",
                            "UCB0SIMO/UCB0SDA"
                        ],
                        functionConfig: [
                            [
                                {
                                    register: "P3DIR",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x02
                                },
                                {
                                    register: "P3SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x02
                                }
                            ],
                            [
                                {
                                    register: "P3DIR",
                                    bitSetMask: 0x02,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "P3SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x02
                                }
                            ],
                            [
                                {
                                    register: "P3SEL",
                                    bitSetMask: 0x02,
                                    bitClearMask: 0x00
                                }
                            ]
                        ]
                    }
                },
                {
                    pinName: "P3.2",
                    pinFunction: {
                        functionName: [
                            "GPIO Input",
                            "GPIO Output",
                            "UCB0SOMI/UCB0SCL"
                        ],
                        functionConfig: [
                            [
                                {
                                    register: "P3DIR",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x04
                                },
                                {
                                    register: "P3SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x04
                                }
                            ],
                            [
                                {
                                    register: "P3DIR",
                                    bitSetMask: 0x04,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "P3SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x04
                                }
                            ],
                            [
                                {
                                    register: "P3SEL",
                                    bitSetMask: 0x04,
                                    bitClearMask: 0x00
                                }
                            ]
                        ]
                    }
                },
                {
                    pinName: "P3.3",
                    pinFunction: {
                        functionName: [
                            "GPIO Input",
                            "GPIO Output",
                            "UCB0CLK/UCA0STE"
                        ],
                        functionConfig: [
                            [
                                {
                                    register: "P3DIR",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x08
                                },
                                {
                                    register: "P3SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x08
                                }
                            ],
                            [
                                {
                                    register: "P3DIR",
                                    bitSetMask: 0x08,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "P3SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x08
                                }
                            ],
                            [
                                {
                                    register: "P3SEL",
                                    bitSetMask: 0x08,
                                    bitClearMask: 0x00
                                }
                            ]
                        ]
                    }
                },
                {
                    pinName: "P3.4",
                    pinFunction: {
                        functionName: [
                            "GPIO Input",
                            "GPIO Output",
                            "UCA0TXD/UCA0SIMO"
                        ],
                        functionConfig: [
                            [
                                {
                                    register: "P3DIR",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x10
                                },
                                {
                                    register: "P3SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x10
                                }
                            ],
                            [
                                {
                                    register: "P3DIR",
                                    bitSetMask: 0x10,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "P3SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x10
                                }
                            ],
                            [
                                {
                                    register: "P3SEL",
                                    bitSetMask: 0x10,
                                    bitClearMask: 0x00
                                }
                            ]
                        ]
                    }
                },
                {
                    pinName: "P3.5",
                    pinFunction: {
                        functionName: [
                            "GPIO Input",
                            "GPIO Output",
                            "UCA0RXD/UCA0SOMI"
                        ],
                        functionConfig: [
                            [
                                {
                                    register: "P3DIR",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x20
                                },
                                {
                                    register: "P3SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x20
                                }
                            ],
                            [
                                {
                                    register: "P3DIR",
                                    bitSetMask: 0x20,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "P3SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x20
                                }
                            ],
                            [
                                {
                                    register: "P3SEL",
                                    bitSetMask: 0x20,
                                    bitClearMask: 0x00
                                }
                            ]
                        ]
                    }
                },
                {
                    pinName: "P3.6",
                    pinFunction: {
                        functionName: [
                            "GPIO Input",
                            "GPIO Output",
                            "A6"
                        ],
                        functionConfig: [
                            [
                                {
                                    register: "P3DIR",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x40
                                },
                                {
                                    register: "P3SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x40
                                },
                                {
                                    register: "ADC10AE0",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x40
                                }
                            ],
                            [
                                {
                                    register: "P3DIR",
                                    bitSetMask: 0x40,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "P3SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x40
                                },
                                {
                                    register: "ADC10AE0",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x40
                                }
                            ],
                            [
                                {
                                    register: "ADC10AE0",
                                    bitSetMask: 0x40,
                                    bitClearMask: 0x00
                                }
                            ]
                        ]
                    }
                },
                {
                    pinName: "P3.7",
                    pinFunction: {
                        functionName: [
                            "GPIO Input",
                            "GPIO Output",
                            "A7"
                        ],
                        functionConfig: [
                            [
                                {
                                    register: "P3DIR",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x80
                                },
                                {
                                    register: "P3SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x80
                                },
                                {
                                    register: "ADC10AE0",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x80
                                }
                            ],
                            [
                                {
                                    register: "P3DIR",
                                    bitSetMask: 0x80,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "P3SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x80
                                },
                                {
                                    register: "ADC10AE0",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x80
                                }
                            ],
                            [
                                {
                                    register: "ADC10AE0",
                                    bitSetMask: 0x80,
                                    bitClearMask: 0x00
                                }
                            ]
                        ]
                    }
                }
            ],
            [
                {
                    pinName: "P4.0",
                    pinFunction: {
                        functionName: [
                            "GPIO Input",
                            "GPIO Output",
                            "Timer_B3.CCI0A",
                            "Timer_B3.TB0"
                        ],
                        functionConfig: [
                            [
                                {
                                    register: "P4DIR",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x01
                                },
                                {
                                    register: "P4SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x01
                                }
                            ],
                            [
                                {
                                    register: "P4DIR",
                                    bitSetMask: 0x01,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "P4SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x01
                                }
                            ],
                            [
                                {
                                    register: "P4DIR",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x01
                                },
                                {
                                    register: "P4SEL",
                                    bitSetMask: 0x01,
                                    bitClearMask: 0x00
                                }
                            ],
                            [
                                {
                                    register: "P4DIR",
                                    bitSetMask: 0x01,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "P4SEL",
                                    bitSetMask: 0x01,
                                    bitClearMask: 0x00
                                }
                            ]
                        ]
                    }
                },
                {
                    pinName: "P4.1",
                    pinFunction: {
                        functionName: [
                            "GPIO Input",
                            "GPIO Output",
                            "Timer_B3.CCI1A",
                            "Timer_B3.TB1"
                        ],
                        functionConfig: [
                            [
                                {
                                    register: "P4DIR",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x02
                                },
                                {
                                    register: "P4SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x02
                                }
                            ],
                            [
                                {
                                    register: "P4DIR",
                                    bitSetMask: 0x02,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "P4SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x02
                                }
                            ],
                            [
                                {
                                    register: "P4DIR",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x02
                                },
                                {
                                    register: "P4SEL",
                                    bitSetMask: 0x02,
                                    bitClearMask: 0x00
                                }
                            ],
                            [
                                {
                                    register: "P4DIR",
                                    bitSetMask: 0x02,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "P4SEL",
                                    bitSetMask: 0x02,
                                    bitClearMask: 0x00
                                }
                            ]
                        ]
                    }
                },
                {
                    pinName: "P4.2",
                    pinFunction: {
                        functionName: [
                            "GPIO Input",
                            "GPIO Output",
                            "Timer_B3.CCI2A",
                            "Timer_B3.TB2"
                        ],
                        functionConfig: [
                            [
                                {
                                    register: "P4DIR",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x04
                                },
                                {
                                    register: "P4SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x04
                                }
                            ],
                            [
                                {
                                    register: "P4DIR",
                                    bitSetMask: 0x04,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "P4SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x04
                                }
                            ],
                            [
                                {
                                    register: "P4DIR",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x04
                                },
                                {
                                    register: "P4SEL",
                                    bitSetMask: 0x04,
                                    bitClearMask: 0x00
                                }
                            ],
                            [
                                {
                                    register: "P4DIR",
                                    bitSetMask: 0x04,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "P4SEL",
                                    bitSetMask: 0x04,
                                    bitClearMask: 0x00
                                }
                            ]
                        ]
                    }
                },
                {
                    pinName: "P4.3",
                    pinFunction: {
                        functionName: [
                            "GPIO Input",
                            "GPIO Output",
                            "Timer_B3.CCI0B",
                            "Timer_B3.TB0",
                            "A12"
                        ],
                        functionConfig: [
                            [
                                {
                                    register: "P4DIR",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x08
                                },
                                {
                                    register: "P4SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x08
                                },
                                {
                                    register: "ADC10AE1",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x10
                                }
                            ],
                            [
                                {
                                    register: "P4DIR",
                                    bitSetMask: 0x08,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "P4SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x08
                                },
                                {
                                    register: "ADC10AE1",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x10
                                }
                            ],
                            [
                                {
                                    register: "P4DIR",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x08
                                },
                                {
                                    register: "P4SEL",
                                    bitSetMask: 0x08,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "ADC10AE1",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x10
                                }
                            ],
                            [
                                {
                                    register: "P4DIR",
                                    bitSetMask: 0x08,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "P4SEL",
                                    bitSetMask: 0x08,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "ADC10AE1",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x10
                                }
                            ],
                            [
                                {
                                    register: "ADC10AE1",
                                    bitSetMask: 0x10,
                                    bitClearMask: 0x00
                                }
                            ]
                        ]
                    }
                },
                {
                    pinName: "P4.4",
                    pinFunction: {
                        functionName: [
                            "GPIO Input",
                            "GPIO Output",
                            "Timer_B3.CCI1B",
                            "Timer_B3.TB1",
                            "A13"
                        ],
                        functionConfig: [
                            [
                                {
                                    register: "P4DIR",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x10
                                },
                                {
                                    register: "P4SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x10
                                },
                                {
                                    register: "ADC10AE1",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x20
                                }
                            ],
                            [
                                {
                                    register: "P4DIR",
                                    bitSetMask: 0x10,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "P4SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x10
                                },
                                {
                                    register: "ADC10AE1",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x20
                                }
                            ],
                            [
                                {
                                    register: "P4DIR",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x10
                                },
                                {
                                    register: "P4SEL",
                                    bitSetMask: 0x10,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "ADC10AE1",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x20
                                }
                            ],
                            [
                                {
                                    register: "P4DIR",
                                    bitSetMask: 0x10,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "P4SEL",
                                    bitSetMask: 0x10,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "ADC10AE1",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x20
                                }
                            ],
                            [
                                {
                                    register: "ADC10AE1",
                                    bitSetMask: 0x20,
                                    bitClearMask: 0x00
                                }
                            ]
                        ]
                    }
                },
                {
                    pinName: "P4.5",
                    pinFunction: {
                        functionName: [
                            "GPIO Input",
                            "GPIO Output",
                            "Timer_B3.TB2",
                            "A14"
                        ],
                        functionConfig: [
                            [
                                {
                                    register: "P4DIR",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x20
                                },
                                {
                                    register: "P4SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x20
                                },
                                {
                                    register: "ADC10AE1",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x40
                                }
                            ],
                            [
                                {
                                    register: "P4DIR",
                                    bitSetMask: 0x20,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "P4SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x20
                                },
                                {
                                    register: "ADC10AE1",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x40
                                }
                            ],
                            [
                                {
                                    register: "P4DIR",
                                    bitSetMask: 0x20,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "P4SEL",
                                    bitSetMask: 0x20,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "ADC10AE1",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x40
                                }
                            ],
                            [
                                {
                                    register: "ADC10AE1",
                                    bitSetMask: 0x40,
                                    bitClearMask: 0x00
                                }
                            ]
                        ]
                    }
                },
                {
                    pinName: "P4.6",
                    pinFunction: {
                        functionName: [
                            "GPIO Input",
                            "GPIO Output",
                            "TBOUTH",
                            "DVSS",
                            "A15"
                        ],
                        functionConfig: [
                            [
                                {
                                    register: "P4DIR",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x40
                                },
                                {
                                    register: "P4SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x40
                                },
                                {
                                    register: "ADC10AE1",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x80
                                }
                            ],
                            [
                                {
                                    register: "P4DIR",
                                    bitSetMask: 0x40,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "P4SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x40
                                },
                                {
                                    register: "ADC10AE1",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x80
                                }
                            ],
                            [
                                {
                                    register: "P4DIR",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x40
                                },
                                {
                                    register: "P4SEL",
                                    bitSetMask: 0x40,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "ADC10AE1",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x80
                                }
                            ],
                            [
                                {
                                    register: "P4DIR",
                                    bitSetMask: 0x40,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "P4SEL",
                                    bitSetMask: 0x40,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "ADC10AE1",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x80
                                }
                            ],
                            [
                                {
                                    register: "ADC10AE1",
                                    bitSetMask: 0x80,
                                    bitClearMask: 0x00
                                }
                            ]
                        ]
                    }
                },
                {
                    pinName: "P4.7",
                    pinFunction: {
                        functionName: [
                            "GPIO Input",
                            "GPIO Output",
                            "Timer_B3.TBCLK",
                            "DVSS"
                        ],
                        functionConfig: [
                            [
                                {
                                    register: "P4DIR",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x80
                                },
                                {
                                    register: "P4SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x80
                                }
                            ],
                            [
                                {
                                    register: "P4DIR",
                                    bitSetMask: 0x80,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "P4SEL",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x80
                                }
                            ],
                            [
                                {
                                    register: "P4DIR",
                                    bitSetMask: 0x00,
                                    bitClearMask: 0x80
                                },
                                {
                                    register: "P4SEL",
                                    bitSetMask: 0x80,
                                    bitClearMask: 0x00
                                }
                            ],
                            [
                                {
                                    register: "P4DIR",
                                    bitSetMask: 0x80,
                                    bitClearMask: 0x00
                                },
                                {
                                    register: "P4SEL",
                                    bitSetMask: 0x80,
                                    bitClearMask: 0x00
                                }
                            ]
                        ]
                    }
                }
            ]
        ];
            {
                register: "P1OUT",
                regForceSet: true
            },
            {
                register: "P1SEL",
                regForceSet: false
            },
            {
                register: "P1DIR",
                regForceSet: false
            },
            {
                register: "P1REN",
                regForceSet: false
            },
            {
                register: "P1IES",
                regForceSet: true
            },
            {
                register: "P1IFG",
                regForceSet: true
            },
            {
                register: "P1IE",
                regForceSet: false
            },
            {
                register: "P2OUT",
                regForceSet: true
            },
            {
                register: "P2SEL",
                regForceSet: false
            },
            {
                register: "P2DIR",
                regForceSet: false
            },
            {
                register: "P2REN",
                regForceSet: false
            },
            {
                register: "P2IES",
                regForceSet: true
            },
            {
                register: "P2IFG",
                regForceSet: true
            },
            {
                register: "P2IE",
                regForceSet: false
            },
            {
                register: "P3OUT",
                regForceSet: true
            },
            {
                register: "P3SEL",
                regForceSet: false
            },
            {
                register: "P3DIR",
                regForceSet: false
            },
            {
                register: "P3REN",
                regForceSet: false
            },
            {
                register: "P4OUT",
                regForceSet: true
            },
            {
                register: "P4SEL",
                regForceSet: false
            },
            {
                register: "P4DIR",
                regForceSet: false
            },
            {
                register: "P4REN",
                regForceSet: false
            }
        ];
        params.interruptSource// GPIO interrupt source = IGPIO.regIntVect_t[32] undefined;
        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_MSP430F22x2.create// Create an instance-object(ADC10.Instance adc10, BCSplus.Instance clock, params);
per-instance functions
    inst.pinFunctionIsActive// Check if a pin is enabled for a certain function(UInt port, UInt pin, String regExp) returns Bool
    inst.setDefaultPinFunction// Configure a device pin to its default state(UInt port, UInt pin, Any owner) returns Void
    inst.setPinFunctionUsingIndex// Configure a device pin to a specific peripheral function(UInt port, UInt pin, UInt index, Any owner) returns Void
 
 
enum GPIO_MSP430F22x2.Bit0_t

GPIO Bit 0 Definitions

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

Interrupt enables drop down list

XDCscript usage meta-domain
values of type GPIO_MSP430F22x2.InterruptEnable_t
    const GPIO_MSP430F22x2.IE_OFF;
    // Disabled
    const GPIO_MSP430F22x2.IE_FALLING;
    // Interrupt Enabled Falling Edge
    const GPIO_MSP430F22x2.IE_RISING;
    // Interrupt Enabled Rising Edge
 
 
enum GPIO_MSP430F22x2.OutputState_t

Output high or low drop down list

XDCscript usage meta-domain
values of type GPIO_MSP430F22x2.OutputState_t
    const GPIO_MSP430F22x2.OUTSTATE_LOW;
    // Output Set Low (Default)
    const GPIO_MSP430F22x2.OUTSTATE_HIGH;
    // Output Set High
 
 
enum GPIO_MSP430F22x2.ResEnable_t

Pull-up/down resistor enables drop down list

XDCscript usage meta-domain
values of type GPIO_MSP430F22x2.ResEnable_t
    const GPIO_MSP430F22x2.PUDRE_OFF;
    // Disabled
    const GPIO_MSP430F22x2.PUDRE_UP;
    // Pull-Up Resistor
    const GPIO_MSP430F22x2.PUDRE_DOWN;
    // Pull-Down Resistor
 
 
struct GPIO_MSP430F22x2.DevicePinFunctionSetting_t

Device Pin Functional Setting Descriptor

XDCscript usage meta-domain
var obj = new GPIO_MSP430F22x2.DevicePinFunctionSetting_t;
 
    obj.functionIndex = UInt  ...
    // Device Pin Functional Selection
    obj.owner = Any  ...
    // Current Device Pin Owner
    obj.resistorEnable = IGPIO.ResEnable_t  ...
    // Pull-up/down Resistor Enable Selection
    obj.outputDirState = IGPIO.OutputState_t  ...
    // Output Direction State Selection
    obj.interruptEnable = IGPIO.InterruptEnable_t  ...
    // Interrupt Enable State Selection
    obj.outputDirStateEnabled = Bool  ...
    // Enable state for output direction state selection
    obj.inputDirStateEnabled = Bool  ...
    // Enable state for input direction state selection
 
DETAILS
Type to store the selected pin configuration and a reference to the object that last modified the configuration.
SEE
 
struct GPIO_MSP430F22x2.DevicePinFunction_t

Device Pin Functional Descriptor

XDCscript usage meta-domain
var obj = new GPIO_MSP430F22x2.DevicePinFunction_t;
 
    obj.functionName = String[]  ...
    obj.functionConfig = IGPIO.DeviceRegisterConfig_t[][]  ...
 
DETAILS
Type to describe how a device pin is configured for all its different uses that are possible. The function names are consolidated in one String array rather than located together with the function- specific data to allow easier access by Grace widgets. The functionConfig member contains an arbitrary-length array describing all register settings that need to be performed to configure a certain function.
SEE
 
struct GPIO_MSP430F22x2.DevicePin_t

Device Pin Descriptor

XDCscript usage meta-domain
var obj = new GPIO_MSP430F22x2.DevicePin_t;
 
    obj.pinName = String  ...
    obj.pinFunction = IGPIO.DevicePinFunction_t  ...
 
DETAILS
Type to describe a single device pin and all its possible configurations.
SEE
 
struct GPIO_MSP430F22x2.DeviceRegisterConfig_t

Device Register Configuration Descriptor

XDCscript usage meta-domain
var obj = new GPIO_MSP430F22x2.DeviceRegisterConfig_t;
 
    obj.register = String  ...
    obj.bitSetMask = UInt  ...
    obj.bitClearMask = UInt  ...
 
DETAILS
Type to describe how a register is configured for a particular use. The type allows setting and clearing of an arbitrary bit pattern inside the specified register.
SEE
 
struct GPIO_MSP430F22x2.ForceSetDefaultRegister_t

Force Set Default Register

XDCscript usage meta-domain
var obj = new GPIO_MSP430F22x2.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 GPIO_MSP430F22x2.GpioBits8PxDir_t

Generic GPIO 8-bit PxDIR Register

XDCscript usage meta-domain
var obj = new GPIO_MSP430F22x2.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_MSP430F22x2.GpioBits8PxIe_t

Generic GPIO 8-bit PxIE Register

XDCscript usage meta-domain
var obj = new GPIO_MSP430F22x2.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_MSP430F22x2.GpioBits8PxIes_t

Generic GPIO 8-bit PxIES Register

XDCscript usage meta-domain
var obj = new GPIO_MSP430F22x2.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_MSP430F22x2.GpioBits8PxIfg_t

Generic GPIO 8-bit PxIFG Register

XDCscript usage meta-domain
var obj = new GPIO_MSP430F22x2.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_MSP430F22x2.GpioBits8PxIn_t

Generic GPIO 8-bit Register

XDCscript usage meta-domain
var obj = new GPIO_MSP430F22x2.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_MSP430F22x2.GpioBits8PxOut_t

Generic GPIO 8-bit PxOUT Register

XDCscript usage meta-domain
var obj = new GPIO_MSP430F22x2.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_MSP430F22x2.GpioBits8PxRen_t

Generic GPIO 8-bit PxREN Register

XDCscript usage meta-domain
var obj = new GPIO_MSP430F22x2.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 Set Pullup/down via PxOUT 0 = Down; 1 = Up
    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 Set Pullup/down via PxOUT 0 = Down; 1 = Up
    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 Set Pullup/down via PxOUT 0 = Down; 1 = Up
    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 Set Pullup/down via PxOUT 0 = Down; 1 = Up
    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 Set Pullup/down via PxOUT 0 = Down; 1 = Up
    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 Set Pullup/down via PxOUT 0 = Down; 1 = Up
    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 Set Pullup/down via PxOUT 0 = Down; 1 = Up
    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 Set Pullup/down via PxOUT 0 = Down; 1 = Up
 
SEE
 
struct GPIO_MSP430F22x2.GpioBits8PxSel2_t

Generic GPIO 8-bit PxSEL2 Register

XDCscript usage meta-domain
var obj = new GPIO_MSP430F22x2.GpioBits8PxSel2_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
 
struct GPIO_MSP430F22x2.GpioBits8PxSel_t

Generic GPIO 8-bit PxSEL Register

XDCscript usage meta-domain
var obj = new GPIO_MSP430F22x2.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
 
struct GPIO_MSP430F22x2.MatchedPortFunction_t

Port Function Enumeration Type

XDCscript usage meta-domain
var obj = new GPIO_MSP430F22x2.MatchedPortFunction_t;
 
    obj.port = UInt[]  ...
    obj.pin = UInt[]  ...
    obj.pinName = String[]  ...
    obj.functionIndex = UInt[]  ...
    obj.functionName = String[]  ...
 
DETAILS
This type is used to store a list of applicable pins based on the search criteria when using the function findPinsForFunction().
SEE
 
struct GPIO_MSP430F22x2.regIntVect_t

Interrupt vector description

XDCscript usage meta-domain
var obj = new GPIO_MSP430F22x2.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_MSP430F22x2.getAll()  // module-wide

Find all peripherals of a certain type

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

Find all registers defined by the peripheral

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

XDCscript usage meta-domain
var params = new GPIO_MSP430F22x2.Params;
// Instance config-params object
    params.P1DIR = GPIO_MSP430F22x2.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 = IGPIO.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 = IGPIO.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 = IGPIO.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_MSP430F22x2.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_MSP430F22x2.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_MSP430F22x2.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_MSP430F22x2.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 = IGPIO.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 = IGPIO.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 = IGPIO.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_MSP430F22x2.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_MSP430F22x2.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_MSP430F22x2.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_MSP430F22x2.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.P3IE = IGPIO.GpioBits8PxIe_t {
    // Port 3 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.P3IES = IGPIO.GpioBits8PxIes_t {
    // Port 3 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.P3IFG = IGPIO.GpioBits8PxIfg_t {
    // Port 3 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.P3OUT = GPIO_MSP430F22x2.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_MSP430F22x2.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_MSP430F22x2.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_MSP430F22x2.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.P4IE = IGPIO.GpioBits8PxIe_t {
    // Port 4 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.P4IES = IGPIO.GpioBits8PxIes_t {
    // Port 4 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.P4IFG = IGPIO.GpioBits8PxIfg_t {
    // Port 4 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.P4OUT = GPIO_MSP430F22x2.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_MSP430F22x2.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_MSP430F22x2.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.devicePinSetting = GPIO_MSP430F22x2.DevicePinFunctionSetting_t[8][4] undefined;
    // Implementation of Device Pin Functional Configuration
    params.devicePins = GPIO_MSP430F22x2.DevicePin_t[8][4] [
    // Define an array to describe all device pins. The 1st dimension denotes the port, the second the pin on that port. On an MSP430F22xx device, there are 4 x 8 = 32 pins total
        [
            {
                pinName: "P1.0",
                pinFunction: {
                    functionName: [
                        "GPIO Input",
                        "GPIO Output",
                        "Timer_A3.TACLK",
                        "ADC10CLK"
                    ],
                    functionConfig: [
                        [
                            {
                                register: "P1DIR",
                                bitSetMask: 0x00,
                                bitClearMask: 0x01
                            },
                            {
                                register: "P1SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x01
                            }
                        ],
                        [
                            {
                                register: "P1DIR",
                                bitSetMask: 0x01,
                                bitClearMask: 0x00
                            },
                            {
                                register: "P1SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x01
                            }
                        ],
                        [
                            {
                                register: "P1DIR",
                                bitSetMask: 0x00,
                                bitClearMask: 0x01
                            },
                            {
                                register: "P1SEL",
                                bitSetMask: 0x01,
                                bitClearMask: 0x00
                            }
                        ],
                        [
                            {
                                register: "P1DIR",
                                bitSetMask: 0x01,
                                bitClearMask: 0x00
                            },
                            {
                                register: "P1SEL",
                                bitSetMask: 0x01,
                                bitClearMask: 0x00
                            }
                        ]
                    ]
                }
            },
            {
                pinName: "P1.1",
                pinFunction: {
                    functionName: [
                        "GPIO Input",
                        "GPIO Output",
                        "Timer_A3.CCI0A",
                        "Timer_A3.TA0"
                    ],
                    functionConfig: [
                        [
                            {
                                register: "P1DIR",
                                bitSetMask: 0x00,
                                bitClearMask: 0x02
                            },
                            {
                                register: "P1SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x02
                            }
                        ],
                        [
                            {
                                register: "P1DIR",
                                bitSetMask: 0x02,
                                bitClearMask: 0x00
                            },
                            {
                                register: "P1SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x02
                            }
                        ],
                        [
                            {
                                register: "P1DIR",
                                bitSetMask: 0x00,
                                bitClearMask: 0x02
                            },
                            {
                                register: "P1SEL",
                                bitSetMask: 0x02,
                                bitClearMask: 0x00
                            }
                        ],
                        [
                            {
                                register: "P1DIR",
                                bitSetMask: 0x02,
                                bitClearMask: 0x00
                            },
                            {
                                register: "P1SEL",
                                bitSetMask: 0x02,
                                bitClearMask: 0x00
                            }
                        ]
                    ]
                }
            },
            {
                pinName: "P1.2",
                pinFunction: {
                    functionName: [
                        "GPIO Input",
                        "GPIO Output",
                        "Timer_A3.CCI1A",
                        "Timer_A3.TA1"
                    ],
                    functionConfig: [
                        [
                            {
                                register: "P1DIR",
                                bitSetMask: 0x00,
                                bitClearMask: 0x04
                            },
                            {
                                register: "P1SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x04
                            }
                        ],
                        [
                            {
                                register: "P1DIR",
                                bitSetMask: 0x04,
                                bitClearMask: 0x00
                            },
                            {
                                register: "P1SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x04
                            }
                        ],
                        [
                            {
                                register: "P1DIR",
                                bitSetMask: 0x00,
                                bitClearMask: 0x04
                            },
                            {
                                register: "P1SEL",
                                bitSetMask: 0x04,
                                bitClearMask: 0x00
                            }
                        ],
                        [
                            {
                                register: "P1DIR",
                                bitSetMask: 0x04,
                                bitClearMask: 0x00
                            },
                            {
                                register: "P1SEL",
                                bitSetMask: 0x04,
                                bitClearMask: 0x00
                            }
                        ]
                    ]
                }
            },
            {
                pinName: "P1.3",
                pinFunction: {
                    functionName: [
                        "GPIO Input",
                        "GPIO Output",
                        "Timer_A3.CCI2A",
                        "Timer_A3.TA2"
                    ],
                    functionConfig: [
                        [
                            {
                                register: "P1DIR",
                                bitSetMask: 0x00,
                                bitClearMask: 0x08
                            },
                            {
                                register: "P1SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x08
                            }
                        ],
                        [
                            {
                                register: "P1DIR",
                                bitSetMask: 0x08,
                                bitClearMask: 0x00
                            },
                            {
                                register: "P1SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x08
                            }
                        ],
                        [
                            {
                                register: "P1DIR",
                                bitSetMask: 0x00,
                                bitClearMask: 0x08
                            },
                            {
                                register: "P1SEL",
                                bitSetMask: 0x08,
                                bitClearMask: 0x00
                            }
                        ],
                        [
                            {
                                register: "P1DIR",
                                bitSetMask: 0x08,
                                bitClearMask: 0x00
                            },
                            {
                                register: "P1SEL",
                                bitSetMask: 0x08,
                                bitClearMask: 0x00
                            }
                        ]
                    ]
                }
            },
            {
                pinName: "P1.4",
                pinFunction: {
                    functionName: [
                        "GPIO Input",
                        "GPIO Output",
                        "SMCLK"
                    ],
                    functionConfig: [
                        [
                            {
                                register: "P1DIR",
                                bitSetMask: 0x00,
                                bitClearMask: 0x10
                            },
                            {
                                register: "P1SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x10
                            }
                        ],
                        [
                            {
                                register: "P1DIR",
                                bitSetMask: 0x10,
                                bitClearMask: 0x00
                            },
                            {
                                register: "P1SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x10
                            }
                        ],
                        [
                            {
                                register: "P1DIR",
                                bitSetMask: 0x10,
                                bitClearMask: 0x00
                            },
                            {
                                register: "P1SEL",
                                bitSetMask: 0x10,
                                bitClearMask: 0x00
                            }
                        ]
                    ]
                }
            },
            {
                pinName: "P1.5",
                pinFunction: {
                    functionName: [
                        "GPIO Input",
                        "GPIO Output",
                        "Timer_A3.TA0"
                    ],
                    functionConfig: [
                        [
                            {
                                register: "P1DIR",
                                bitSetMask: 0x00,
                                bitClearMask: 0x20
                            },
                            {
                                register: "P1SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x20
                            }
                        ],
                        [
                            {
                                register: "P1DIR",
                                bitSetMask: 0x20,
                                bitClearMask: 0x00
                            },
                            {
                                register: "P1SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x20
                            }
                        ],
                        [
                            {
                                register: "P1DIR",
                                bitSetMask: 0x20,
                                bitClearMask: 0x00
                            },
                            {
                                register: "P1SEL",
                                bitSetMask: 0x20,
                                bitClearMask: 0x00
                            }
                        ]
                    ]
                }
            },
            {
                pinName: "P1.6",
                pinFunction: {
                    functionName: [
                        "GPIO Input",
                        "GPIO Output",
                        "Timer_A3.TA1"
                    ],
                    functionConfig: [
                        [
                            {
                                register: "P1DIR",
                                bitSetMask: 0x00,
                                bitClearMask: 0x40
                            },
                            {
                                register: "P1SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x40
                            }
                        ],
                        [
                            {
                                register: "P1DIR",
                                bitSetMask: 0x40,
                                bitClearMask: 0x00
                            },
                            {
                                register: "P1SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x40
                            }
                        ],
                        [
                            {
                                register: "P1DIR",
                                bitSetMask: 0x40,
                                bitClearMask: 0x00
                            },
                            {
                                register: "P1SEL",
                                bitSetMask: 0x40,
                                bitClearMask: 0x00
                            }
                        ]
                    ]
                }
            },
            {
                pinName: "P1.7",
                pinFunction: {
                    functionName: [
                        "GPIO Input",
                        "GPIO Output",
                        "Timer_A3.TA2"
                    ],
                    functionConfig: [
                        [
                            {
                                register: "P1DIR",
                                bitSetMask: 0x00,
                                bitClearMask: 0x80
                            },
                            {
                                register: "P1SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x80
                            }
                        ],
                        [
                            {
                                register: "P1DIR",
                                bitSetMask: 0x80,
                                bitClearMask: 0x00
                            },
                            {
                                register: "P1SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x80
                            }
                        ],
                        [
                            {
                                register: "P1DIR",
                                bitSetMask: 0x80,
                                bitClearMask: 0x00
                            },
                            {
                                register: "P1SEL",
                                bitSetMask: 0x80,
                                bitClearMask: 0x00
                            }
                        ]
                    ]
                }
            }
        ],
        [
            {
                pinName: "P2.0",
                pinFunction: {
                    functionName: [
                        "GPIO Input",
                        "GPIO Output",
                        "ACLK",
                        "A0"
                    ],
                    functionConfig: [
                        [
                            {
                                register: "P2DIR",
                                bitSetMask: 0x00,
                                bitClearMask: 0x01
                            },
                            {
                                register: "P2SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x01
                            },
                            {
                                register: "ADC10AE0",
                                bitSetMask: 0x00,
                                bitClearMask: 0x01
                            }
                        ],
                        [
                            {
                                register: "P2DIR",
                                bitSetMask: 0x01,
                                bitClearMask: 0x00
                            },
                            {
                                register: "P2SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x01
                            },
                            {
                                register: "ADC10AE0",
                                bitSetMask: 0x00,
                                bitClearMask: 0x01
                            }
                        ],
                        [
                            {
                                register: "P2DIR",
                                bitSetMask: 0x01,
                                bitClearMask: 0x00
                            },
                            {
                                register: "P2SEL",
                                bitSetMask: 0x01,
                                bitClearMask: 0x00
                            },
                            {
                                register: "ADC10AE0",
                                bitSetMask: 0x00,
                                bitClearMask: 0x01
                            }
                        ],
                        [
                            {
                                register: "ADC10AE0",
                                bitSetMask: 0x01,
                                bitClearMask: 0x00
                            }
                        ]
                    ]
                }
            },
            {
                pinName: "P2.1",
                pinFunction: {
                    functionName: [
                        "GPIO Input",
                        "GPIO Output",
                        "Timer_A3.INCLK",
                        "SMCLK",
                        "A1"
                    ],
                    functionConfig: [
                        [
                            {
                                register: "P2DIR",
                                bitSetMask: 0x00,
                                bitClearMask: 0x02
                            },
                            {
                                register: "P2SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x02
                            },
                            {
                                register: "ADC10AE0",
                                bitSetMask: 0x00,
                                bitClearMask: 0x02
                            }
                        ],
                        [
                            {
                                register: "P2DIR",
                                bitSetMask: 0x02,
                                bitClearMask: 0x00
                            },
                            {
                                register: "P2SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x02
                            },
                            {
                                register: "ADC10AE0",
                                bitSetMask: 0x00,
                                bitClearMask: 0x02
                            }
                        ],
                        [
                            {
                                register: "P2DIR",
                                bitSetMask: 0x00,
                                bitClearMask: 0x02
                            },
                            {
                                register: "P2SEL",
                                bitSetMask: 0x02,
                                bitClearMask: 0x00
                            },
                            {
                                register: "ADC10AE0",
                                bitSetMask: 0x00,
                                bitClearMask: 0x02
                            }
                        ],
                        [
                            {
                                register: "P2DIR",
                                bitSetMask: 0x02,
                                bitClearMask: 0x00
                            },
                            {
                                register: "P2SEL",
                                bitSetMask: 0x02,
                                bitClearMask: 0x00
                            },
                            {
                                register: "ADC10AE0",
                                bitSetMask: 0x00,
                                bitClearMask: 0x02
                            }
                        ],
                        [
                            {
                                register: "ADC10AE0",
                                bitSetMask: 0x02,
                                bitClearMask: 0x00
                            }
                        ]
                    ]
                }
            },
            {
                pinName: "P2.2",
                pinFunction: {
                    functionName: [
                        "GPIO Input",
                        "GPIO Output",
                        "Timer_A3.CCI0B",
                        "Timer_A3.TA0",
                        "A2"
                    ],
                    functionConfig: [
                        [
                            {
                                register: "P2DIR",
                                bitSetMask: 0x00,
                                bitClearMask: 0x04
                            },
                            {
                                register: "P2SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x04
                            },
                            {
                                register: "ADC10AE0",
                                bitSetMask: 0x00,
                                bitClearMask: 0x04
                            }
                        ],
                        [
                            {
                                register: "P2DIR",
                                bitSetMask: 0x04,
                                bitClearMask: 0x00
                            },
                            {
                                register: "P2SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x04
                            },
                            {
                                register: "ADC10AE0",
                                bitSetMask: 0x00,
                                bitClearMask: 0x04
                            }
                        ],
                        [
                            {
                                register: "P2DIR",
                                bitSetMask: 0x00,
                                bitClearMask: 0x04
                            },
                            {
                                register: "P2SEL",
                                bitSetMask: 0x04,
                                bitClearMask: 0x00
                            },
                            {
                                register: "ADC10AE0",
                                bitSetMask: 0x00,
                                bitClearMask: 0x04
                            }
                        ],
                        [
                            {
                                register: "P2DIR",
                                bitSetMask: 0x04,
                                bitClearMask: 0x00
                            },
                            {
                                register: "P2SEL",
                                bitSetMask: 0x04,
                                bitClearMask: 0x00
                            },
                            {
                                register: "ADC10AE0",
                                bitSetMask: 0x00,
                                bitClearMask: 0x04
                            }
                        ],
                        [
                            {
                                register: "ADC10AE0",
                                bitSetMask: 0x04,
                                bitClearMask: 0x00
                            }
                        ]
                    ]
                }
            },
            {
                pinName: "P2.3",
                pinFunction: {
                    functionName: [
                        "GPIO Input",
                        "GPIO Output",
                        "Timer_A3.CCI1B",
                        "Timer_A3.TA1",
                        "A3/VREF--/VeREF--"
                    ],
                    functionConfig: [
                        [
                            {
                                register: "P2DIR",
                                bitSetMask: 0x00,
                                bitClearMask: 0x08
                            },
                            {
                                register: "P2SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x08
                            },
                            {
                                register: "ADC10AE0",
                                bitSetMask: 0x00,
                                bitClearMask: 0x08
                            }
                        ],
                        [
                            {
                                register: "P2DIR",
                                bitSetMask: 0x08,
                                bitClearMask: 0x00
                            },
                            {
                                register: "P2SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x08
                            },
                            {
                                register: "ADC10AE0",
                                bitSetMask: 0x00,
                                bitClearMask: 0x08
                            }
                        ],
                        [
                            {
                                register: "P2DIR",
                                bitSetMask: 0x00,
                                bitClearMask: 0x08
                            },
                            {
                                register: "P2SEL",
                                bitSetMask: 0x08,
                                bitClearMask: 0x00
                            },
                            {
                                register: "ADC10AE0",
                                bitSetMask: 0x00,
                                bitClearMask: 0x08
                            }
                        ],
                        [
                            {
                                register: "P2DIR",
                                bitSetMask: 0x08,
                                bitClearMask: 0x00
                            },
                            {
                                register: "P2SEL",
                                bitSetMask: 0x08,
                                bitClearMask: 0x00
                            },
                            {
                                register: "ADC10AE0",
                                bitSetMask: 0x00,
                                bitClearMask: 0x08
                            }
                        ],
                        [
                            {
                                register: "ADC10AE0",
                                bitSetMask: 0x08,
                                bitClearMask: 0x00
                            }
                        ]
                    ]
                }
            },
            {
                pinName: "P2.4",
                pinFunction: {
                    functionName: [
                        "GPIO Input",
                        "GPIO Output",
                        "Timer_A3.TA2",
                        "A4/VREF+/VeREF+"
                    ],
                    functionConfig: [
                        [
                            {
                                register: "P2DIR",
                                bitSetMask: 0x00,
                                bitClearMask: 0x10
                            },
                            {
                                register: "P2SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x10
                            },
                            {
                                register: "ADC10AE0",
                                bitSetMask: 0x00,
                                bitClearMask: 0x10
                            }
                        ],
                        [
                            {
                                register: "P2DIR",
                                bitSetMask: 0x10,
                                bitClearMask: 0x00
                            },
                            {
                                register: "P2SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x10
                            },
                            {
                                register: "ADC10AE0",
                                bitSetMask: 0x00,
                                bitClearMask: 0x10
                            }
                        ],
                        [
                            {
                                register: "P2DIR",
                                bitSetMask: 0x10,
                                bitClearMask: 0x00
                            },
                            {
                                register: "P2SEL",
                                bitSetMask: 0x10,
                                bitClearMask: 0x00
                            },
                            {
                                register: "ADC10AE0",
                                bitSetMask: 0x00,
                                bitClearMask: 0x10
                            }
                        ],
                        [
                            {
                                register: "ADC10AE0",
                                bitSetMask: 0x10,
                                bitClearMask: 0x00
                            }
                        ]
                    ]
                }
            },
            {
                pinName: "P2.5",
                pinFunction: {
                    functionName: [
                        "GPIO Input",
                        "GPIO Output",
                        "DVSS",
                        "Rosc"
                    ],
                    functionConfig: [
                        [
                            {
                                register: "P2DIR",
                                bitSetMask: 0x00,
                                bitClearMask: 0x20
                            },
                            {
                                register: "P2SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x20
                            },
                            {
                                register: "BCSCTL2",
                                bitSetMask: 0x00,
                                bitClearMask: 0x01
                            }
                        ],
                        [
                            {
                                register: "P2DIR",
                                bitSetMask: 0x20,
                                bitClearMask: 0x00
                            },
                            {
                                register: "P2SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x20
                            },
                            {
                                register: "BCSCTL2",
                                bitSetMask: 0x00,
                                bitClearMask: 0x01
                            }
                        ],
                        [
                            {
                                register: "P2DIR",
                                bitSetMask: 0x20,
                                bitClearMask: 0x00
                            },
                            {
                                register: "P2SEL",
                                bitSetMask: 0x20,
                                bitClearMask: 0x00
                            },
                            {
                                register: "BCSCTL2",
                                bitSetMask: 0x00,
                                bitClearMask: 0x01
                            }
                        ],
                        [
                            {
                                register: "BCSCTL2",
                                bitSetMask: 0x01,
                                bitClearMask: 0x00
                            }
                        ]
                    ]
                }
            },
            {
                pinName: "P2.6",
                pinFunction: {
                    functionName: [
                        "GPIO Input",
                        "GPIO Output",
                        "XIN"
                    ],
                    functionConfig: [
                        [
                            {
                                register: "P2DIR",
                                bitSetMask: 0x00,
                                bitClearMask: 0x40
                            },
                            {
                                register: "P2SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x40
                            }
                        ],
                        [
                            {
                                register: "P2DIR",
                                bitSetMask: 0x40,
                                bitClearMask: 0x00
                            },
                            {
                                register: "P2SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x40
                            }
                        ],
                        [
                            {
                                register: "P2SEL",
                                bitSetMask: 0x40,
                                bitClearMask: 0x00
                            }
                        ]
                    ]
                }
            },
            {
                pinName: "P2.7",
                pinFunction: {
                    functionName: [
                        "GPIO Input",
                        "GPIO Output",
                        "XOUT"
                    ],
                    functionConfig: [
                        [
                            {
                                register: "P2DIR",
                                bitSetMask: 0x00,
                                bitClearMask: 0x80
                            },
                            {
                                register: "P2SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x80
                            }
                        ],
                        [
                            {
                                register: "P2DIR",
                                bitSetMask: 0x80,
                                bitClearMask: 0x00
                            },
                            {
                                register: "P2SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x80
                            }
                        ],
                        [
                            {
                                register: "P2SEL",
                                bitSetMask: 0x80,
                                bitClearMask: 0x00
                            }
                        ]
                    ]
                }
            }
        ],
        [
            {
                pinName: "P3.0",
                pinFunction: {
                    functionName: [
                        "GPIO Input",
                        "GPIO Output",
                        "UCB0STE/UCA0CLK",
                        "A5"
                    ],
                    functionConfig: [
                        [
                            {
                                register: "P3DIR",
                                bitSetMask: 0x00,
                                bitClearMask: 0x01
                            },
                            {
                                register: "P3SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x01
                            },
                            {
                                register: "ADC10AE0",
                                bitSetMask: 0x00,
                                bitClearMask: 0x20
                            }
                        ],
                        [
                            {
                                register: "P3DIR",
                                bitSetMask: 0x01,
                                bitClearMask: 0x00
                            },
                            {
                                register: "P3SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x01
                            },
                            {
                                register: "ADC10AE0",
                                bitSetMask: 0x00,
                                bitClearMask: 0x20
                            }
                        ],
                        [
                            {
                                register: "P3SEL",
                                bitSetMask: 0x01,
                                bitClearMask: 0x00
                            },
                            {
                                register: "ADC10AE0",
                                bitSetMask: 0x00,
                                bitClearMask: 0x20
                            }
                        ],
                        [
                            {
                                register: "ADC10AE0",
                                bitSetMask: 0x20,
                                bitClearMask: 0x00
                            }
                        ]
                    ]
                }
            },
            {
                pinName: "P3.1",
                pinFunction: {
                    functionName: [
                        "GPIO Input",
                        "GPIO Output",
                        "UCB0SIMO/UCB0SDA"
                    ],
                    functionConfig: [
                        [
                            {
                                register: "P3DIR",
                                bitSetMask: 0x00,
                                bitClearMask: 0x02
                            },
                            {
                                register: "P3SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x02
                            }
                        ],
                        [
                            {
                                register: "P3DIR",
                                bitSetMask: 0x02,
                                bitClearMask: 0x00
                            },
                            {
                                register: "P3SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x02
                            }
                        ],
                        [
                            {
                                register: "P3SEL",
                                bitSetMask: 0x02,
                                bitClearMask: 0x00
                            }
                        ]
                    ]
                }
            },
            {
                pinName: "P3.2",
                pinFunction: {
                    functionName: [
                        "GPIO Input",
                        "GPIO Output",
                        "UCB0SOMI/UCB0SCL"
                    ],
                    functionConfig: [
                        [
                            {
                                register: "P3DIR",
                                bitSetMask: 0x00,
                                bitClearMask: 0x04
                            },
                            {
                                register: "P3SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x04
                            }
                        ],
                        [
                            {
                                register: "P3DIR",
                                bitSetMask: 0x04,
                                bitClearMask: 0x00
                            },
                            {
                                register: "P3SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x04
                            }
                        ],
                        [
                            {
                                register: "P3SEL",
                                bitSetMask: 0x04,
                                bitClearMask: 0x00
                            }
                        ]
                    ]
                }
            },
            {
                pinName: "P3.3",
                pinFunction: {
                    functionName: [
                        "GPIO Input",
                        "GPIO Output",
                        "UCB0CLK/UCA0STE"
                    ],
                    functionConfig: [
                        [
                            {
                                register: "P3DIR",
                                bitSetMask: 0x00,
                                bitClearMask: 0x08
                            },
                            {
                                register: "P3SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x08
                            }
                        ],
                        [
                            {
                                register: "P3DIR",
                                bitSetMask: 0x08,
                                bitClearMask: 0x00
                            },
                            {
                                register: "P3SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x08
                            }
                        ],
                        [
                            {
                                register: "P3SEL",
                                bitSetMask: 0x08,
                                bitClearMask: 0x00
                            }
                        ]
                    ]
                }
            },
            {
                pinName: "P3.4",
                pinFunction: {
                    functionName: [
                        "GPIO Input",
                        "GPIO Output",
                        "UCA0TXD/UCA0SIMO"
                    ],
                    functionConfig: [
                        [
                            {
                                register: "P3DIR",
                                bitSetMask: 0x00,
                                bitClearMask: 0x10
                            },
                            {
                                register: "P3SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x10
                            }
                        ],
                        [
                            {
                                register: "P3DIR",
                                bitSetMask: 0x10,
                                bitClearMask: 0x00
                            },
                            {
                                register: "P3SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x10
                            }
                        ],
                        [
                            {
                                register: "P3SEL",
                                bitSetMask: 0x10,
                                bitClearMask: 0x00
                            }
                        ]
                    ]
                }
            },
            {
                pinName: "P3.5",
                pinFunction: {
                    functionName: [
                        "GPIO Input",
                        "GPIO Output",
                        "UCA0RXD/UCA0SOMI"
                    ],
                    functionConfig: [
                        [
                            {
                                register: "P3DIR",
                                bitSetMask: 0x00,
                                bitClearMask: 0x20
                            },
                            {
                                register: "P3SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x20
                            }
                        ],
                        [
                            {
                                register: "P3DIR",
                                bitSetMask: 0x20,
                                bitClearMask: 0x00
                            },
                            {
                                register: "P3SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x20
                            }
                        ],
                        [
                            {
                                register: "P3SEL",
                                bitSetMask: 0x20,
                                bitClearMask: 0x00
                            }
                        ]
                    ]
                }
            },
            {
                pinName: "P3.6",
                pinFunction: {
                    functionName: [
                        "GPIO Input",
                        "GPIO Output",
                        "A6"
                    ],
                    functionConfig: [
                        [
                            {
                                register: "P3DIR",
                                bitSetMask: 0x00,
                                bitClearMask: 0x40
                            },
                            {
                                register: "P3SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x40
                            },
                            {
                                register: "ADC10AE0",
                                bitSetMask: 0x00,
                                bitClearMask: 0x40
                            }
                        ],
                        [
                            {
                                register: "P3DIR",
                                bitSetMask: 0x40,
                                bitClearMask: 0x00
                            },
                            {
                                register: "P3SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x40
                            },
                            {
                                register: "ADC10AE0",
                                bitSetMask: 0x00,
                                bitClearMask: 0x40
                            }
                        ],
                        [
                            {
                                register: "ADC10AE0",
                                bitSetMask: 0x40,
                                bitClearMask: 0x00
                            }
                        ]
                    ]
                }
            },
            {
                pinName: "P3.7",
                pinFunction: {
                    functionName: [
                        "GPIO Input",
                        "GPIO Output",
                        "A7"
                    ],
                    functionConfig: [
                        [
                            {
                                register: "P3DIR",
                                bitSetMask: 0x00,
                                bitClearMask: 0x80
                            },
                            {
                                register: "P3SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x80
                            },
                            {
                                register: "ADC10AE0",
                                bitSetMask: 0x00,
                                bitClearMask: 0x80
                            }
                        ],
                        [
                            {
                                register: "P3DIR",
                                bitSetMask: 0x80,
                                bitClearMask: 0x00
                            },
                            {
                                register: "P3SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x80
                            },
                            {
                                register: "ADC10AE0",
                                bitSetMask: 0x00,
                                bitClearMask: 0x80
                            }
                        ],
                        [
                            {
                                register: "ADC10AE0",
                                bitSetMask: 0x80,
                                bitClearMask: 0x00
                            }
                        ]
                    ]
                }
            }
        ],
        [
            {
                pinName: "P4.0",
                pinFunction: {
                    functionName: [
                        "GPIO Input",
                        "GPIO Output",
                        "Timer_B3.CCI0A",
                        "Timer_B3.TB0"
                    ],
                    functionConfig: [
                        [
                            {
                                register: "P4DIR",
                                bitSetMask: 0x00,
                                bitClearMask: 0x01
                            },
                            {
                                register: "P4SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x01
                            }
                        ],
                        [
                            {
                                register: "P4DIR",
                                bitSetMask: 0x01,
                                bitClearMask: 0x00
                            },
                            {
                                register: "P4SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x01
                            }
                        ],
                        [
                            {
                                register: "P4DIR",
                                bitSetMask: 0x00,
                                bitClearMask: 0x01
                            },
                            {
                                register: "P4SEL",
                                bitSetMask: 0x01,
                                bitClearMask: 0x00
                            }
                        ],
                        [
                            {
                                register: "P4DIR",
                                bitSetMask: 0x01,
                                bitClearMask: 0x00
                            },
                            {
                                register: "P4SEL",
                                bitSetMask: 0x01,
                                bitClearMask: 0x00
                            }
                        ]
                    ]
                }
            },
            {
                pinName: "P4.1",
                pinFunction: {
                    functionName: [
                        "GPIO Input",
                        "GPIO Output",
                        "Timer_B3.CCI1A",
                        "Timer_B3.TB1"
                    ],
                    functionConfig: [
                        [
                            {
                                register: "P4DIR",
                                bitSetMask: 0x00,
                                bitClearMask: 0x02
                            },
                            {
                                register: "P4SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x02
                            }
                        ],
                        [
                            {
                                register: "P4DIR",
                                bitSetMask: 0x02,
                                bitClearMask: 0x00
                            },
                            {
                                register: "P4SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x02
                            }
                        ],
                        [
                            {
                                register: "P4DIR",
                                bitSetMask: 0x00,
                                bitClearMask: 0x02
                            },
                            {
                                register: "P4SEL",
                                bitSetMask: 0x02,
                                bitClearMask: 0x00
                            }
                        ],
                        [
                            {
                                register: "P4DIR",
                                bitSetMask: 0x02,
                                bitClearMask: 0x00
                            },
                            {
                                register: "P4SEL",
                                bitSetMask: 0x02,
                                bitClearMask: 0x00
                            }
                        ]
                    ]
                }
            },
            {
                pinName: "P4.2",
                pinFunction: {
                    functionName: [
                        "GPIO Input",
                        "GPIO Output",
                        "Timer_B3.CCI2A",
                        "Timer_B3.TB2"
                    ],
                    functionConfig: [
                        [
                            {
                                register: "P4DIR",
                                bitSetMask: 0x00,
                                bitClearMask: 0x04
                            },
                            {
                                register: "P4SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x04
                            }
                        ],
                        [
                            {
                                register: "P4DIR",
                                bitSetMask: 0x04,
                                bitClearMask: 0x00
                            },
                            {
                                register: "P4SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x04
                            }
                        ],
                        [
                            {
                                register: "P4DIR",
                                bitSetMask: 0x00,
                                bitClearMask: 0x04
                            },
                            {
                                register: "P4SEL",
                                bitSetMask: 0x04,
                                bitClearMask: 0x00
                            }
                        ],
                        [
                            {
                                register: "P4DIR",
                                bitSetMask: 0x04,
                                bitClearMask: 0x00
                            },
                            {
                                register: "P4SEL",
                                bitSetMask: 0x04,
                                bitClearMask: 0x00
                            }
                        ]
                    ]
                }
            },
            {
                pinName: "P4.3",
                pinFunction: {
                    functionName: [
                        "GPIO Input",
                        "GPIO Output",
                        "Timer_B3.CCI0B",
                        "Timer_B3.TB0",
                        "A12"
                    ],
                    functionConfig: [
                        [
                            {
                                register: "P4DIR",
                                bitSetMask: 0x00,
                                bitClearMask: 0x08
                            },
                            {
                                register: "P4SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x08
                            },
                            {
                                register: "ADC10AE1",
                                bitSetMask: 0x00,
                                bitClearMask: 0x10
                            }
                        ],
                        [
                            {
                                register: "P4DIR",
                                bitSetMask: 0x08,
                                bitClearMask: 0x00
                            },
                            {
                                register: "P4SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x08
                            },
                            {
                                register: "ADC10AE1",
                                bitSetMask: 0x00,
                                bitClearMask: 0x10
                            }
                        ],
                        [
                            {
                                register: "P4DIR",
                                bitSetMask: 0x00,
                                bitClearMask: 0x08
                            },
                            {
                                register: "P4SEL",
                                bitSetMask: 0x08,
                                bitClearMask: 0x00
                            },
                            {
                                register: "ADC10AE1",
                                bitSetMask: 0x00,
                                bitClearMask: 0x10
                            }
                        ],
                        [
                            {
                                register: "P4DIR",
                                bitSetMask: 0x08,
                                bitClearMask: 0x00
                            },
                            {
                                register: "P4SEL",
                                bitSetMask: 0x08,
                                bitClearMask: 0x00
                            },
                            {
                                register: "ADC10AE1",
                                bitSetMask: 0x00,
                                bitClearMask: 0x10
                            }
                        ],
                        [
                            {
                                register: "ADC10AE1",
                                bitSetMask: 0x10,
                                bitClearMask: 0x00
                            }
                        ]
                    ]
                }
            },
            {
                pinName: "P4.4",
                pinFunction: {
                    functionName: [
                        "GPIO Input",
                        "GPIO Output",
                        "Timer_B3.CCI1B",
                        "Timer_B3.TB1",
                        "A13"
                    ],
                    functionConfig: [
                        [
                            {
                                register: "P4DIR",
                                bitSetMask: 0x00,
                                bitClearMask: 0x10
                            },
                            {
                                register: "P4SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x10
                            },
                            {
                                register: "ADC10AE1",
                                bitSetMask: 0x00,
                                bitClearMask: 0x20
                            }
                        ],
                        [
                            {
                                register: "P4DIR",
                                bitSetMask: 0x10,
                                bitClearMask: 0x00
                            },
                            {
                                register: "P4SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x10
                            },
                            {
                                register: "ADC10AE1",
                                bitSetMask: 0x00,
                                bitClearMask: 0x20
                            }
                        ],
                        [
                            {
                                register: "P4DIR",
                                bitSetMask: 0x00,
                                bitClearMask: 0x10
                            },
                            {
                                register: "P4SEL",
                                bitSetMask: 0x10,
                                bitClearMask: 0x00
                            },
                            {
                                register: "ADC10AE1",
                                bitSetMask: 0x00,
                                bitClearMask: 0x20
                            }
                        ],
                        [
                            {
                                register: "P4DIR",
                                bitSetMask: 0x10,
                                bitClearMask: 0x00
                            },
                            {
                                register: "P4SEL",
                                bitSetMask: 0x10,
                                bitClearMask: 0x00
                            },
                            {
                                register: "ADC10AE1",
                                bitSetMask: 0x00,
                                bitClearMask: 0x20
                            }
                        ],
                        [
                            {
                                register: "ADC10AE1",
                                bitSetMask: 0x20,
                                bitClearMask: 0x00
                            }
                        ]
                    ]
                }
            },
            {
                pinName: "P4.5",
                pinFunction: {
                    functionName: [
                        "GPIO Input",
                        "GPIO Output",
                        "Timer_B3.TB2",
                        "A14"
                    ],
                    functionConfig: [
                        [
                            {
                                register: "P4DIR",
                                bitSetMask: 0x00,
                                bitClearMask: 0x20
                            },
                            {
                                register: "P4SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x20
                            },
                            {
                                register: "ADC10AE1",
                                bitSetMask: 0x00,
                                bitClearMask: 0x40
                            }
                        ],
                        [
                            {
                                register: "P4DIR",
                                bitSetMask: 0x20,
                                bitClearMask: 0x00
                            },
                            {
                                register: "P4SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x20
                            },
                            {
                                register: "ADC10AE1",
                                bitSetMask: 0x00,
                                bitClearMask: 0x40
                            }
                        ],
                        [
                            {
                                register: "P4DIR",
                                bitSetMask: 0x20,
                                bitClearMask: 0x00
                            },
                            {
                                register: "P4SEL",
                                bitSetMask: 0x20,
                                bitClearMask: 0x00
                            },
                            {
                                register: "ADC10AE1",
                                bitSetMask: 0x00,
                                bitClearMask: 0x40
                            }
                        ],
                        [
                            {
                                register: "ADC10AE1",
                                bitSetMask: 0x40,
                                bitClearMask: 0x00
                            }
                        ]
                    ]
                }
            },
            {
                pinName: "P4.6",
                pinFunction: {
                    functionName: [
                        "GPIO Input",
                        "GPIO Output",
                        "TBOUTH",
                        "DVSS",
                        "A15"
                    ],
                    functionConfig: [
                        [
                            {
                                register: "P4DIR",
                                bitSetMask: 0x00,
                                bitClearMask: 0x40
                            },
                            {
                                register: "P4SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x40
                            },
                            {
                                register: "ADC10AE1",
                                bitSetMask: 0x00,
                                bitClearMask: 0x80
                            }
                        ],
                        [
                            {
                                register: "P4DIR",
                                bitSetMask: 0x40,
                                bitClearMask: 0x00
                            },
                            {
                                register: "P4SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x40
                            },
                            {
                                register: "ADC10AE1",
                                bitSetMask: 0x00,
                                bitClearMask: 0x80
                            }
                        ],
                        [
                            {
                                register: "P4DIR",
                                bitSetMask: 0x00,
                                bitClearMask: 0x40
                            },
                            {
                                register: "P4SEL",
                                bitSetMask: 0x40,
                                bitClearMask: 0x00
                            },
                            {
                                register: "ADC10AE1",
                                bitSetMask: 0x00,
                                bitClearMask: 0x80
                            }
                        ],
                        [
                            {
                                register: "P4DIR",
                                bitSetMask: 0x40,
                                bitClearMask: 0x00
                            },
                            {
                                register: "P4SEL",
                                bitSetMask: 0x40,
                                bitClearMask: 0x00
                            },
                            {
                                register: "ADC10AE1",
                                bitSetMask: 0x00,
                                bitClearMask: 0x80
                            }
                        ],
                        [
                            {
                                register: "ADC10AE1",
                                bitSetMask: 0x80,
                                bitClearMask: 0x00
                            }
                        ]
                    ]
                }
            },
            {
                pinName: "P4.7",
                pinFunction: {
                    functionName: [
                        "GPIO Input",
                        "GPIO Output",
                        "Timer_B3.TBCLK",
                        "DVSS"
                    ],
                    functionConfig: [
                        [
                            {
                                register: "P4DIR",
                                bitSetMask: 0x00,
                                bitClearMask: 0x80
                            },
                            {
                                register: "P4SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x80
                            }
                        ],
                        [
                            {
                                register: "P4DIR",
                                bitSetMask: 0x80,
                                bitClearMask: 0x00
                            },
                            {
                                register: "P4SEL",
                                bitSetMask: 0x00,
                                bitClearMask: 0x80
                            }
                        ],
                        [
                            {
                                register: "P4DIR",
                                bitSetMask: 0x00,
                                bitClearMask: 0x80
                            },
                            {
                                register: "P4SEL",
                                bitSetMask: 0x80,
                                bitClearMask: 0x00
                            }
                        ],
                        [
                            {
                                register: "P4DIR",
                                bitSetMask: 0x80,
                                bitClearMask: 0x00
                            },
                            {
                                register: "P4SEL",
                                bitSetMask: 0x80,
                                bitClearMask: 0x00
                            }
                        ]
                    ]
                }
            }
        ]
    ];
    params.forceSetDefaultRegister = GPIO_MSP430F22x2.ForceSetDefaultRegister_t[] [
    // Determine if each Register needs to be forced set or not
        {
            register: "P1OUT",
            regForceSet: true
        },
        {
            register: "P1SEL",
            regForceSet: false
        },
        {
            register: "P1DIR",
            regForceSet: false
        },
        {
            register: "P1REN",
            regForceSet: false
        },
        {
            register: "P1IES",
            regForceSet: true
        },
        {
            register: "P1IFG",
            regForceSet: true
        },
        {
            register: "P1IE",
            regForceSet: false
        },
        {
            register: "P2OUT",
            regForceSet: true
        },
        {
            register: "P2SEL",
            regForceSet: false
        },
        {
            register: "P2DIR",
            regForceSet: false
        },
        {
            register: "P2REN",
            regForceSet: false
        },
        {
            register: "P2IES",
            regForceSet: true
        },
        {
            register: "P2IFG",
            regForceSet: true
        },
        {
            register: "P2IE",
            regForceSet: false
        },
        {
            register: "P3OUT",
            regForceSet: true
        },
        {
            register: "P3SEL",
            regForceSet: false
        },
        {
            register: "P3DIR",
            regForceSet: false
        },
        {
            register: "P3REN",
            regForceSet: false
        },
        {
            register: "P4OUT",
            regForceSet: true
        },
        {
            register: "P4SEL",
            regForceSet: false
        },
        {
            register: "P4DIR",
            regForceSet: false
        },
        {
            register: "P4REN",
            regForceSet: false
        }
    ];
    params.interruptSource = IGPIO.regIntVect_t[32] undefined;
    // GPIO interrupt source
    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_MSP430F22x2.P1DIR  // instance

Port 1 Direction Register

XDCscript usage meta-domain
var params = new GPIO_MSP430F22x2.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_MSP430F22x2.P1IE  // instance

Port 1 Interrupt Enable Register

XDCscript usage meta-domain
var params = new GPIO_MSP430F22x2.Params;
  ...
params.P1IE = IGPIO.GpioBits8PxIe_t {
    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_MSP430F22x2.P1IES  // instance

Port 1 Interrupt Edge Select Register

XDCscript usage meta-domain
var params = new GPIO_MSP430F22x2.Params;
  ...
params.P1IES = IGPIO.GpioBits8PxIes_t {
    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_MSP430F22x2.P1IFG  // instance

Port 1 Interrupt Flag Register

XDCscript usage meta-domain
var params = new GPIO_MSP430F22x2.Params;
  ...
params.P1IFG = IGPIO.GpioBits8PxIfg_t {
    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_MSP430F22x2.P1OUT  // instance

Port 1 Output Register

XDCscript usage meta-domain
var params = new GPIO_MSP430F22x2.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_MSP430F22x2.P1REN  // instance

Port 1 Resistor Enable Register

XDCscript usage meta-domain
var params = new GPIO_MSP430F22x2.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_MSP430F22x2.P1SEL  // instance

Port 1 Port Select Register

XDCscript usage meta-domain
var params = new GPIO_MSP430F22x2.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_MSP430F22x2.P2DIR  // instance

Port 2 Direction Register

XDCscript usage meta-domain
var params = new GPIO_MSP430F22x2.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_MSP430F22x2.P2IE  // instance

Port 2 Interrupt Enable Register

XDCscript usage meta-domain
var params = new GPIO_MSP430F22x2.Params;
  ...
params.P2IE = IGPIO.GpioBits8PxIe_t {
    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_MSP430F22x2.P2IES  // instance

Port 2 Interrupt Edge Select Register

XDCscript usage meta-domain
var params = new GPIO_MSP430F22x2.Params;
  ...
params.P2IES = IGPIO.GpioBits8PxIes_t {
    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_MSP430F22x2.P2IFG  // instance

Port 2 Interrupt Flag Register

XDCscript usage meta-domain
var params = new GPIO_MSP430F22x2.Params;
  ...
params.P2IFG = IGPIO.GpioBits8PxIfg_t {
    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_MSP430F22x2.P2OUT  // instance

Port 2 Output Register

XDCscript usage meta-domain
var params = new GPIO_MSP430F22x2.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_MSP430F22x2.P2REN  // instance

Port 2 Resistor Enable Register

XDCscript usage meta-domain
var params = new GPIO_MSP430F22x2.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_MSP430F22x2.P2SEL  // instance

Port 2 Port Select Register

XDCscript usage meta-domain
var params = new GPIO_MSP430F22x2.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_MSP430F22x2.P3DIR  // instance

Port 3 Direction Register

XDCscript usage meta-domain
var params = new GPIO_MSP430F22x2.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_MSP430F22x2.P3IE  // instance

Port 3 Interrupt Enable Register

XDCscript usage meta-domain
var params = new GPIO_MSP430F22x2.Params;
  ...
params.P3IE = IGPIO.GpioBits8PxIe_t {
    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_MSP430F22x2.P3IES  // instance

Port 3 Interrupt Edge Select Register

XDCscript usage meta-domain
var params = new GPIO_MSP430F22x2.Params;
  ...
params.P3IES = IGPIO.GpioBits8PxIes_t {
    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_MSP430F22x2.P3IFG  // instance

Port 3 Interrupt Flag Register

XDCscript usage meta-domain
var params = new GPIO_MSP430F22x2.Params;
  ...
params.P3IFG = IGPIO.GpioBits8PxIfg_t {
    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_MSP430F22x2.P3OUT  // instance

Port 3 Output Register

XDCscript usage meta-domain
var params = new GPIO_MSP430F22x2.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_MSP430F22x2.P3REN  // instance

Port 3 Resistor Enable Register

XDCscript usage meta-domain
var params = new GPIO_MSP430F22x2.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_MSP430F22x2.P3SEL  // instance

Port 3 Port Select Register

XDCscript usage meta-domain
var params = new GPIO_MSP430F22x2.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_MSP430F22x2.P4DIR  // instance

Port 4 Direction Register

XDCscript usage meta-domain
var params = new GPIO_MSP430F22x2.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_MSP430F22x2.P4IE  // instance

Port 4 Interrupt Enable Register

XDCscript usage meta-domain
var params = new GPIO_MSP430F22x2.Params;
  ...
params.P4IE = IGPIO.GpioBits8PxIe_t {
    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_MSP430F22x2.P4IES  // instance

Port 4 Interrupt Edge Select Register

XDCscript usage meta-domain
var params = new GPIO_MSP430F22x2.Params;
  ...
params.P4IES = IGPIO.GpioBits8PxIes_t {
    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_MSP430F22x2.P4IFG  // instance

Port 4 Interrupt Flag Register

XDCscript usage meta-domain
var params = new GPIO_MSP430F22x2.Params;
  ...
params.P4IFG = IGPIO.GpioBits8PxIfg_t {
    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_MSP430F22x2.P4OUT  // instance

Port 4 Output Register

XDCscript usage meta-domain
var params = new GPIO_MSP430F22x2.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_MSP430F22x2.P4REN  // instance

Port 4 Resistor Enable Register

XDCscript usage meta-domain
var params = new GPIO_MSP430F22x2.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_MSP430F22x2.P4SEL  // instance

Port 4 Port Select Register

XDCscript usage meta-domain
var params = new GPIO_MSP430F22x2.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_MSP430F22x2.devicePinSetting  // instance

Implementation of Device Pin Functional Configuration

XDCscript usage meta-domain
var params = new GPIO_MSP430F22x2.Params;
  ...
params.devicePinSetting = GPIO_MSP430F22x2.DevicePinFunctionSetting_t[8][4] undefined;
 
 
config GPIO_MSP430F22x2.devicePins  // instance

Define an array to describe all device pins. The 1st dimension denotes the port, the second the pin on that port. On an MSP430F22xx device, there are 4 x 8 = 32 pins total

XDCscript usage meta-domain
var params = new GPIO_MSP430F22x2.Params;
  ...
const params.devicePins = GPIO_MSP430F22x2.DevicePin_t[8][4] [
    [
        {
            pinName: "P1.0",
            pinFunction: {
                functionName: [
                    "GPIO Input",
                    "GPIO Output",
                    "Timer_A3.TACLK",
                    "ADC10CLK"
                ],
                functionConfig: [
                    [
                        {
                            register: "P1DIR",
                            bitSetMask: 0x00,
                            bitClearMask: 0x01
                        },
                        {
                            register: "P1SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x01
                        }
                    ],
                    [
                        {
                            register: "P1DIR",
                            bitSetMask: 0x01,
                            bitClearMask: 0x00
                        },
                        {
                            register: "P1SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x01
                        }
                    ],
                    [
                        {
                            register: "P1DIR",
                            bitSetMask: 0x00,
                            bitClearMask: 0x01
                        },
                        {
                            register: "P1SEL",
                            bitSetMask: 0x01,
                            bitClearMask: 0x00
                        }
                    ],
                    [
                        {
                            register: "P1DIR",
                            bitSetMask: 0x01,
                            bitClearMask: 0x00
                        },
                        {
                            register: "P1SEL",
                            bitSetMask: 0x01,
                            bitClearMask: 0x00
                        }
                    ]
                ]
            }
        },
        {
            pinName: "P1.1",
            pinFunction: {
                functionName: [
                    "GPIO Input",
                    "GPIO Output",
                    "Timer_A3.CCI0A",
                    "Timer_A3.TA0"
                ],
                functionConfig: [
                    [
                        {
                            register: "P1DIR",
                            bitSetMask: 0x00,
                            bitClearMask: 0x02
                        },
                        {
                            register: "P1SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x02
                        }
                    ],
                    [
                        {
                            register: "P1DIR",
                            bitSetMask: 0x02,
                            bitClearMask: 0x00
                        },
                        {
                            register: "P1SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x02
                        }
                    ],
                    [
                        {
                            register: "P1DIR",
                            bitSetMask: 0x00,
                            bitClearMask: 0x02
                        },
                        {
                            register: "P1SEL",
                            bitSetMask: 0x02,
                            bitClearMask: 0x00
                        }
                    ],
                    [
                        {
                            register: "P1DIR",
                            bitSetMask: 0x02,
                            bitClearMask: 0x00
                        },
                        {
                            register: "P1SEL",
                            bitSetMask: 0x02,
                            bitClearMask: 0x00
                        }
                    ]
                ]
            }
        },
        {
            pinName: "P1.2",
            pinFunction: {
                functionName: [
                    "GPIO Input",
                    "GPIO Output",
                    "Timer_A3.CCI1A",
                    "Timer_A3.TA1"
                ],
                functionConfig: [
                    [
                        {
                            register: "P1DIR",
                            bitSetMask: 0x00,
                            bitClearMask: 0x04
                        },
                        {
                            register: "P1SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x04
                        }
                    ],
                    [
                        {
                            register: "P1DIR",
                            bitSetMask: 0x04,
                            bitClearMask: 0x00
                        },
                        {
                            register: "P1SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x04
                        }
                    ],
                    [
                        {
                            register: "P1DIR",
                            bitSetMask: 0x00,
                            bitClearMask: 0x04
                        },
                        {
                            register: "P1SEL",
                            bitSetMask: 0x04,
                            bitClearMask: 0x00
                        }
                    ],
                    [
                        {
                            register: "P1DIR",
                            bitSetMask: 0x04,
                            bitClearMask: 0x00
                        },
                        {
                            register: "P1SEL",
                            bitSetMask: 0x04,
                            bitClearMask: 0x00
                        }
                    ]
                ]
            }
        },
        {
            pinName: "P1.3",
            pinFunction: {
                functionName: [
                    "GPIO Input",
                    "GPIO Output",
                    "Timer_A3.CCI2A",
                    "Timer_A3.TA2"
                ],
                functionConfig: [
                    [
                        {
                            register: "P1DIR",
                            bitSetMask: 0x00,
                            bitClearMask: 0x08
                        },
                        {
                            register: "P1SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x08
                        }
                    ],
                    [
                        {
                            register: "P1DIR",
                            bitSetMask: 0x08,
                            bitClearMask: 0x00
                        },
                        {
                            register: "P1SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x08
                        }
                    ],
                    [
                        {
                            register: "P1DIR",
                            bitSetMask: 0x00,
                            bitClearMask: 0x08
                        },
                        {
                            register: "P1SEL",
                            bitSetMask: 0x08,
                            bitClearMask: 0x00
                        }
                    ],
                    [
                        {
                            register: "P1DIR",
                            bitSetMask: 0x08,
                            bitClearMask: 0x00
                        },
                        {
                            register: "P1SEL",
                            bitSetMask: 0x08,
                            bitClearMask: 0x00
                        }
                    ]
                ]
            }
        },
        {
            pinName: "P1.4",
            pinFunction: {
                functionName: [
                    "GPIO Input",
                    "GPIO Output",
                    "SMCLK"
                ],
                functionConfig: [
                    [
                        {
                            register: "P1DIR",
                            bitSetMask: 0x00,
                            bitClearMask: 0x10
                        },
                        {
                            register: "P1SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x10
                        }
                    ],
                    [
                        {
                            register: "P1DIR",
                            bitSetMask: 0x10,
                            bitClearMask: 0x00
                        },
                        {
                            register: "P1SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x10
                        }
                    ],
                    [
                        {
                            register: "P1DIR",
                            bitSetMask: 0x10,
                            bitClearMask: 0x00
                        },
                        {
                            register: "P1SEL",
                            bitSetMask: 0x10,
                            bitClearMask: 0x00
                        }
                    ]
                ]
            }
        },
        {
            pinName: "P1.5",
            pinFunction: {
                functionName: [
                    "GPIO Input",
                    "GPIO Output",
                    "Timer_A3.TA0"
                ],
                functionConfig: [
                    [
                        {
                            register: "P1DIR",
                            bitSetMask: 0x00,
                            bitClearMask: 0x20
                        },
                        {
                            register: "P1SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x20
                        }
                    ],
                    [
                        {
                            register: "P1DIR",
                            bitSetMask: 0x20,
                            bitClearMask: 0x00
                        },
                        {
                            register: "P1SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x20
                        }
                    ],
                    [
                        {
                            register: "P1DIR",
                            bitSetMask: 0x20,
                            bitClearMask: 0x00
                        },
                        {
                            register: "P1SEL",
                            bitSetMask: 0x20,
                            bitClearMask: 0x00
                        }
                    ]
                ]
            }
        },
        {
            pinName: "P1.6",
            pinFunction: {
                functionName: [
                    "GPIO Input",
                    "GPIO Output",
                    "Timer_A3.TA1"
                ],
                functionConfig: [
                    [
                        {
                            register: "P1DIR",
                            bitSetMask: 0x00,
                            bitClearMask: 0x40
                        },
                        {
                            register: "P1SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x40
                        }
                    ],
                    [
                        {
                            register: "P1DIR",
                            bitSetMask: 0x40,
                            bitClearMask: 0x00
                        },
                        {
                            register: "P1SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x40
                        }
                    ],
                    [
                        {
                            register: "P1DIR",
                            bitSetMask: 0x40,
                            bitClearMask: 0x00
                        },
                        {
                            register: "P1SEL",
                            bitSetMask: 0x40,
                            bitClearMask: 0x00
                        }
                    ]
                ]
            }
        },
        {
            pinName: "P1.7",
            pinFunction: {
                functionName: [
                    "GPIO Input",
                    "GPIO Output",
                    "Timer_A3.TA2"
                ],
                functionConfig: [
                    [
                        {
                            register: "P1DIR",
                            bitSetMask: 0x00,
                            bitClearMask: 0x80
                        },
                        {
                            register: "P1SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x80
                        }
                    ],
                    [
                        {
                            register: "P1DIR",
                            bitSetMask: 0x80,
                            bitClearMask: 0x00
                        },
                        {
                            register: "P1SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x80
                        }
                    ],
                    [
                        {
                            register: "P1DIR",
                            bitSetMask: 0x80,
                            bitClearMask: 0x00
                        },
                        {
                            register: "P1SEL",
                            bitSetMask: 0x80,
                            bitClearMask: 0x00
                        }
                    ]
                ]
            }
        }
    ],
    [
        {
            pinName: "P2.0",
            pinFunction: {
                functionName: [
                    "GPIO Input",
                    "GPIO Output",
                    "ACLK",
                    "A0"
                ],
                functionConfig: [
                    [
                        {
                            register: "P2DIR",
                            bitSetMask: 0x00,
                            bitClearMask: 0x01
                        },
                        {
                            register: "P2SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x01
                        },
                        {
                            register: "ADC10AE0",
                            bitSetMask: 0x00,
                            bitClearMask: 0x01
                        }
                    ],
                    [
                        {
                            register: "P2DIR",
                            bitSetMask: 0x01,
                            bitClearMask: 0x00
                        },
                        {
                            register: "P2SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x01
                        },
                        {
                            register: "ADC10AE0",
                            bitSetMask: 0x00,
                            bitClearMask: 0x01
                        }
                    ],
                    [
                        {
                            register: "P2DIR",
                            bitSetMask: 0x01,
                            bitClearMask: 0x00
                        },
                        {
                            register: "P2SEL",
                            bitSetMask: 0x01,
                            bitClearMask: 0x00
                        },
                        {
                            register: "ADC10AE0",
                            bitSetMask: 0x00,
                            bitClearMask: 0x01
                        }
                    ],
                    [
                        {
                            register: "ADC10AE0",
                            bitSetMask: 0x01,
                            bitClearMask: 0x00
                        }
                    ]
                ]
            }
        },
        {
            pinName: "P2.1",
            pinFunction: {
                functionName: [
                    "GPIO Input",
                    "GPIO Output",
                    "Timer_A3.INCLK",
                    "SMCLK",
                    "A1"
                ],
                functionConfig: [
                    [
                        {
                            register: "P2DIR",
                            bitSetMask: 0x00,
                            bitClearMask: 0x02
                        },
                        {
                            register: "P2SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x02
                        },
                        {
                            register: "ADC10AE0",
                            bitSetMask: 0x00,
                            bitClearMask: 0x02
                        }
                    ],
                    [
                        {
                            register: "P2DIR",
                            bitSetMask: 0x02,
                            bitClearMask: 0x00
                        },
                        {
                            register: "P2SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x02
                        },
                        {
                            register: "ADC10AE0",
                            bitSetMask: 0x00,
                            bitClearMask: 0x02
                        }
                    ],
                    [
                        {
                            register: "P2DIR",
                            bitSetMask: 0x00,
                            bitClearMask: 0x02
                        },
                        {
                            register: "P2SEL",
                            bitSetMask: 0x02,
                            bitClearMask: 0x00
                        },
                        {
                            register: "ADC10AE0",
                            bitSetMask: 0x00,
                            bitClearMask: 0x02
                        }
                    ],
                    [
                        {
                            register: "P2DIR",
                            bitSetMask: 0x02,
                            bitClearMask: 0x00
                        },
                        {
                            register: "P2SEL",
                            bitSetMask: 0x02,
                            bitClearMask: 0x00
                        },
                        {
                            register: "ADC10AE0",
                            bitSetMask: 0x00,
                            bitClearMask: 0x02
                        }
                    ],
                    [
                        {
                            register: "ADC10AE0",
                            bitSetMask: 0x02,
                            bitClearMask: 0x00
                        }
                    ]
                ]
            }
        },
        {
            pinName: "P2.2",
            pinFunction: {
                functionName: [
                    "GPIO Input",
                    "GPIO Output",
                    "Timer_A3.CCI0B",
                    "Timer_A3.TA0",
                    "A2"
                ],
                functionConfig: [
                    [
                        {
                            register: "P2DIR",
                            bitSetMask: 0x00,
                            bitClearMask: 0x04
                        },
                        {
                            register: "P2SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x04
                        },
                        {
                            register: "ADC10AE0",
                            bitSetMask: 0x00,
                            bitClearMask: 0x04
                        }
                    ],
                    [
                        {
                            register: "P2DIR",
                            bitSetMask: 0x04,
                            bitClearMask: 0x00
                        },
                        {
                            register: "P2SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x04
                        },
                        {
                            register: "ADC10AE0",
                            bitSetMask: 0x00,
                            bitClearMask: 0x04
                        }
                    ],
                    [
                        {
                            register: "P2DIR",
                            bitSetMask: 0x00,
                            bitClearMask: 0x04
                        },
                        {
                            register: "P2SEL",
                            bitSetMask: 0x04,
                            bitClearMask: 0x00
                        },
                        {
                            register: "ADC10AE0",
                            bitSetMask: 0x00,
                            bitClearMask: 0x04
                        }
                    ],
                    [
                        {
                            register: "P2DIR",
                            bitSetMask: 0x04,
                            bitClearMask: 0x00
                        },
                        {
                            register: "P2SEL",
                            bitSetMask: 0x04,
                            bitClearMask: 0x00
                        },
                        {
                            register: "ADC10AE0",
                            bitSetMask: 0x00,
                            bitClearMask: 0x04
                        }
                    ],
                    [
                        {
                            register: "ADC10AE0",
                            bitSetMask: 0x04,
                            bitClearMask: 0x00
                        }
                    ]
                ]
            }
        },
        {
            pinName: "P2.3",
            pinFunction: {
                functionName: [
                    "GPIO Input",
                    "GPIO Output",
                    "Timer_A3.CCI1B",
                    "Timer_A3.TA1",
                    "A3/VREF--/VeREF--"
                ],
                functionConfig: [
                    [
                        {
                            register: "P2DIR",
                            bitSetMask: 0x00,
                            bitClearMask: 0x08
                        },
                        {
                            register: "P2SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x08
                        },
                        {
                            register: "ADC10AE0",
                            bitSetMask: 0x00,
                            bitClearMask: 0x08
                        }
                    ],
                    [
                        {
                            register: "P2DIR",
                            bitSetMask: 0x08,
                            bitClearMask: 0x00
                        },
                        {
                            register: "P2SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x08
                        },
                        {
                            register: "ADC10AE0",
                            bitSetMask: 0x00,
                            bitClearMask: 0x08
                        }
                    ],
                    [
                        {
                            register: "P2DIR",
                            bitSetMask: 0x00,
                            bitClearMask: 0x08
                        },
                        {
                            register: "P2SEL",
                            bitSetMask: 0x08,
                            bitClearMask: 0x00
                        },
                        {
                            register: "ADC10AE0",
                            bitSetMask: 0x00,
                            bitClearMask: 0x08
                        }
                    ],
                    [
                        {
                            register: "P2DIR",
                            bitSetMask: 0x08,
                            bitClearMask: 0x00
                        },
                        {
                            register: "P2SEL",
                            bitSetMask: 0x08,
                            bitClearMask: 0x00
                        },
                        {
                            register: "ADC10AE0",
                            bitSetMask: 0x00,
                            bitClearMask: 0x08
                        }
                    ],
                    [
                        {
                            register: "ADC10AE0",
                            bitSetMask: 0x08,
                            bitClearMask: 0x00
                        }
                    ]
                ]
            }
        },
        {
            pinName: "P2.4",
            pinFunction: {
                functionName: [
                    "GPIO Input",
                    "GPIO Output",
                    "Timer_A3.TA2",
                    "A4/VREF+/VeREF+"
                ],
                functionConfig: [
                    [
                        {
                            register: "P2DIR",
                            bitSetMask: 0x00,
                            bitClearMask: 0x10
                        },
                        {
                            register: "P2SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x10
                        },
                        {
                            register: "ADC10AE0",
                            bitSetMask: 0x00,
                            bitClearMask: 0x10
                        }
                    ],
                    [
                        {
                            register: "P2DIR",
                            bitSetMask: 0x10,
                            bitClearMask: 0x00
                        },
                        {
                            register: "P2SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x10
                        },
                        {
                            register: "ADC10AE0",
                            bitSetMask: 0x00,
                            bitClearMask: 0x10
                        }
                    ],
                    [
                        {
                            register: "P2DIR",
                            bitSetMask: 0x10,
                            bitClearMask: 0x00
                        },
                        {
                            register: "P2SEL",
                            bitSetMask: 0x10,
                            bitClearMask: 0x00
                        },
                        {
                            register: "ADC10AE0",
                            bitSetMask: 0x00,
                            bitClearMask: 0x10
                        }
                    ],
                    [
                        {
                            register: "ADC10AE0",
                            bitSetMask: 0x10,
                            bitClearMask: 0x00
                        }
                    ]
                ]
            }
        },
        {
            pinName: "P2.5",
            pinFunction: {
                functionName: [
                    "GPIO Input",
                    "GPIO Output",
                    "DVSS",
                    "Rosc"
                ],
                functionConfig: [
                    [
                        {
                            register: "P2DIR",
                            bitSetMask: 0x00,
                            bitClearMask: 0x20
                        },
                        {
                            register: "P2SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x20
                        },
                        {
                            register: "BCSCTL2",
                            bitSetMask: 0x00,
                            bitClearMask: 0x01
                        }
                    ],
                    [
                        {
                            register: "P2DIR",
                            bitSetMask: 0x20,
                            bitClearMask: 0x00
                        },
                        {
                            register: "P2SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x20
                        },
                        {
                            register: "BCSCTL2",
                            bitSetMask: 0x00,
                            bitClearMask: 0x01
                        }
                    ],
                    [
                        {
                            register: "P2DIR",
                            bitSetMask: 0x20,
                            bitClearMask: 0x00
                        },
                        {
                            register: "P2SEL",
                            bitSetMask: 0x20,
                            bitClearMask: 0x00
                        },
                        {
                            register: "BCSCTL2",
                            bitSetMask: 0x00,
                            bitClearMask: 0x01
                        }
                    ],
                    [
                        {
                            register: "BCSCTL2",
                            bitSetMask: 0x01,
                            bitClearMask: 0x00
                        }
                    ]
                ]
            }
        },
        {
            pinName: "P2.6",
            pinFunction: {
                functionName: [
                    "GPIO Input",
                    "GPIO Output",
                    "XIN"
                ],
                functionConfig: [
                    [
                        {
                            register: "P2DIR",
                            bitSetMask: 0x00,
                            bitClearMask: 0x40
                        },
                        {
                            register: "P2SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x40
                        }
                    ],
                    [
                        {
                            register: "P2DIR",
                            bitSetMask: 0x40,
                            bitClearMask: 0x00
                        },
                        {
                            register: "P2SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x40
                        }
                    ],
                    [
                        {
                            register: "P2SEL",
                            bitSetMask: 0x40,
                            bitClearMask: 0x00
                        }
                    ]
                ]
            }
        },
        {
            pinName: "P2.7",
            pinFunction: {
                functionName: [
                    "GPIO Input",
                    "GPIO Output",
                    "XOUT"
                ],
                functionConfig: [
                    [
                        {
                            register: "P2DIR",
                            bitSetMask: 0x00,
                            bitClearMask: 0x80
                        },
                        {
                            register: "P2SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x80
                        }
                    ],
                    [
                        {
                            register: "P2DIR",
                            bitSetMask: 0x80,
                            bitClearMask: 0x00
                        },
                        {
                            register: "P2SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x80
                        }
                    ],
                    [
                        {
                            register: "P2SEL",
                            bitSetMask: 0x80,
                            bitClearMask: 0x00
                        }
                    ]
                ]
            }
        }
    ],
    [
        {
            pinName: "P3.0",
            pinFunction: {
                functionName: [
                    "GPIO Input",
                    "GPIO Output",
                    "UCB0STE/UCA0CLK",
                    "A5"
                ],
                functionConfig: [
                    [
                        {
                            register: "P3DIR",
                            bitSetMask: 0x00,
                            bitClearMask: 0x01
                        },
                        {
                            register: "P3SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x01
                        },
                        {
                            register: "ADC10AE0",
                            bitSetMask: 0x00,
                            bitClearMask: 0x20
                        }
                    ],
                    [
                        {
                            register: "P3DIR",
                            bitSetMask: 0x01,
                            bitClearMask: 0x00
                        },
                        {
                            register: "P3SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x01
                        },
                        {
                            register: "ADC10AE0",
                            bitSetMask: 0x00,
                            bitClearMask: 0x20
                        }
                    ],
                    [
                        {
                            register: "P3SEL",
                            bitSetMask: 0x01,
                            bitClearMask: 0x00
                        },
                        {
                            register: "ADC10AE0",
                            bitSetMask: 0x00,
                            bitClearMask: 0x20
                        }
                    ],
                    [
                        {
                            register: "ADC10AE0",
                            bitSetMask: 0x20,
                            bitClearMask: 0x00
                        }
                    ]
                ]
            }
        },
        {
            pinName: "P3.1",
            pinFunction: {
                functionName: [
                    "GPIO Input",
                    "GPIO Output",
                    "UCB0SIMO/UCB0SDA"
                ],
                functionConfig: [
                    [
                        {
                            register: "P3DIR",
                            bitSetMask: 0x00,
                            bitClearMask: 0x02
                        },
                        {
                            register: "P3SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x02
                        }
                    ],
                    [
                        {
                            register: "P3DIR",
                            bitSetMask: 0x02,
                            bitClearMask: 0x00
                        },
                        {
                            register: "P3SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x02
                        }
                    ],
                    [
                        {
                            register: "P3SEL",
                            bitSetMask: 0x02,
                            bitClearMask: 0x00
                        }
                    ]
                ]
            }
        },
        {
            pinName: "P3.2",
            pinFunction: {
                functionName: [
                    "GPIO Input",
                    "GPIO Output",
                    "UCB0SOMI/UCB0SCL"
                ],
                functionConfig: [
                    [
                        {
                            register: "P3DIR",
                            bitSetMask: 0x00,
                            bitClearMask: 0x04
                        },
                        {
                            register: "P3SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x04
                        }
                    ],
                    [
                        {
                            register: "P3DIR",
                            bitSetMask: 0x04,
                            bitClearMask: 0x00
                        },
                        {
                            register: "P3SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x04
                        }
                    ],
                    [
                        {
                            register: "P3SEL",
                            bitSetMask: 0x04,
                            bitClearMask: 0x00
                        }
                    ]
                ]
            }
        },
        {
            pinName: "P3.3",
            pinFunction: {
                functionName: [
                    "GPIO Input",
                    "GPIO Output",
                    "UCB0CLK/UCA0STE"
                ],
                functionConfig: [
                    [
                        {
                            register: "P3DIR",
                            bitSetMask: 0x00,
                            bitClearMask: 0x08
                        },
                        {
                            register: "P3SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x08
                        }
                    ],
                    [
                        {
                            register: "P3DIR",
                            bitSetMask: 0x08,
                            bitClearMask: 0x00
                        },
                        {
                            register: "P3SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x08
                        }
                    ],
                    [
                        {
                            register: "P3SEL",
                            bitSetMask: 0x08,
                            bitClearMask: 0x00
                        }
                    ]
                ]
            }
        },
        {
            pinName: "P3.4",
            pinFunction: {
                functionName: [
                    "GPIO Input",
                    "GPIO Output",
                    "UCA0TXD/UCA0SIMO"
                ],
                functionConfig: [
                    [
                        {
                            register: "P3DIR",
                            bitSetMask: 0x00,
                            bitClearMask: 0x10
                        },
                        {
                            register: "P3SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x10
                        }
                    ],
                    [
                        {
                            register: "P3DIR",
                            bitSetMask: 0x10,
                            bitClearMask: 0x00
                        },
                        {
                            register: "P3SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x10
                        }
                    ],
                    [
                        {
                            register: "P3SEL",
                            bitSetMask: 0x10,
                            bitClearMask: 0x00
                        }
                    ]
                ]
            }
        },
        {
            pinName: "P3.5",
            pinFunction: {
                functionName: [
                    "GPIO Input",
                    "GPIO Output",
                    "UCA0RXD/UCA0SOMI"
                ],
                functionConfig: [
                    [
                        {
                            register: "P3DIR",
                            bitSetMask: 0x00,
                            bitClearMask: 0x20
                        },
                        {
                            register: "P3SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x20
                        }
                    ],
                    [
                        {
                            register: "P3DIR",
                            bitSetMask: 0x20,
                            bitClearMask: 0x00
                        },
                        {
                            register: "P3SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x20
                        }
                    ],
                    [
                        {
                            register: "P3SEL",
                            bitSetMask: 0x20,
                            bitClearMask: 0x00
                        }
                    ]
                ]
            }
        },
        {
            pinName: "P3.6",
            pinFunction: {
                functionName: [
                    "GPIO Input",
                    "GPIO Output",
                    "A6"
                ],
                functionConfig: [
                    [
                        {
                            register: "P3DIR",
                            bitSetMask: 0x00,
                            bitClearMask: 0x40
                        },
                        {
                            register: "P3SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x40
                        },
                        {
                            register: "ADC10AE0",
                            bitSetMask: 0x00,
                            bitClearMask: 0x40
                        }
                    ],
                    [
                        {
                            register: "P3DIR",
                            bitSetMask: 0x40,
                            bitClearMask: 0x00
                        },
                        {
                            register: "P3SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x40
                        },
                        {
                            register: "ADC10AE0",
                            bitSetMask: 0x00,
                            bitClearMask: 0x40
                        }
                    ],
                    [
                        {
                            register: "ADC10AE0",
                            bitSetMask: 0x40,
                            bitClearMask: 0x00
                        }
                    ]
                ]
            }
        },
        {
            pinName: "P3.7",
            pinFunction: {
                functionName: [
                    "GPIO Input",
                    "GPIO Output",
                    "A7"
                ],
                functionConfig: [
                    [
                        {
                            register: "P3DIR",
                            bitSetMask: 0x00,
                            bitClearMask: 0x80
                        },
                        {
                            register: "P3SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x80
                        },
                        {
                            register: "ADC10AE0",
                            bitSetMask: 0x00,
                            bitClearMask: 0x80
                        }
                    ],
                    [
                        {
                            register: "P3DIR",
                            bitSetMask: 0x80,
                            bitClearMask: 0x00
                        },
                        {
                            register: "P3SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x80
                        },
                        {
                            register: "ADC10AE0",
                            bitSetMask: 0x00,
                            bitClearMask: 0x80
                        }
                    ],
                    [
                        {
                            register: "ADC10AE0",
                            bitSetMask: 0x80,
                            bitClearMask: 0x00
                        }
                    ]
                ]
            }
        }
    ],
    [
        {
            pinName: "P4.0",
            pinFunction: {
                functionName: [
                    "GPIO Input",
                    "GPIO Output",
                    "Timer_B3.CCI0A",
                    "Timer_B3.TB0"
                ],
                functionConfig: [
                    [
                        {
                            register: "P4DIR",
                            bitSetMask: 0x00,
                            bitClearMask: 0x01
                        },
                        {
                            register: "P4SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x01
                        }
                    ],
                    [
                        {
                            register: "P4DIR",
                            bitSetMask: 0x01,
                            bitClearMask: 0x00
                        },
                        {
                            register: "P4SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x01
                        }
                    ],
                    [
                        {
                            register: "P4DIR",
                            bitSetMask: 0x00,
                            bitClearMask: 0x01
                        },
                        {
                            register: "P4SEL",
                            bitSetMask: 0x01,
                            bitClearMask: 0x00
                        }
                    ],
                    [
                        {
                            register: "P4DIR",
                            bitSetMask: 0x01,
                            bitClearMask: 0x00
                        },
                        {
                            register: "P4SEL",
                            bitSetMask: 0x01,
                            bitClearMask: 0x00
                        }
                    ]
                ]
            }
        },
        {
            pinName: "P4.1",
            pinFunction: {
                functionName: [
                    "GPIO Input",
                    "GPIO Output",
                    "Timer_B3.CCI1A",
                    "Timer_B3.TB1"
                ],
                functionConfig: [
                    [
                        {
                            register: "P4DIR",
                            bitSetMask: 0x00,
                            bitClearMask: 0x02
                        },
                        {
                            register: "P4SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x02
                        }
                    ],
                    [
                        {
                            register: "P4DIR",
                            bitSetMask: 0x02,
                            bitClearMask: 0x00
                        },
                        {
                            register: "P4SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x02
                        }
                    ],
                    [
                        {
                            register: "P4DIR",
                            bitSetMask: 0x00,
                            bitClearMask: 0x02
                        },
                        {
                            register: "P4SEL",
                            bitSetMask: 0x02,
                            bitClearMask: 0x00
                        }
                    ],
                    [
                        {
                            register: "P4DIR",
                            bitSetMask: 0x02,
                            bitClearMask: 0x00
                        },
                        {
                            register: "P4SEL",
                            bitSetMask: 0x02,
                            bitClearMask: 0x00
                        }
                    ]
                ]
            }
        },
        {
            pinName: "P4.2",
            pinFunction: {
                functionName: [
                    "GPIO Input",
                    "GPIO Output",
                    "Timer_B3.CCI2A",
                    "Timer_B3.TB2"
                ],
                functionConfig: [
                    [
                        {
                            register: "P4DIR",
                            bitSetMask: 0x00,
                            bitClearMask: 0x04
                        },
                        {
                            register: "P4SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x04
                        }
                    ],
                    [
                        {
                            register: "P4DIR",
                            bitSetMask: 0x04,
                            bitClearMask: 0x00
                        },
                        {
                            register: "P4SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x04
                        }
                    ],
                    [
                        {
                            register: "P4DIR",
                            bitSetMask: 0x00,
                            bitClearMask: 0x04
                        },
                        {
                            register: "P4SEL",
                            bitSetMask: 0x04,
                            bitClearMask: 0x00
                        }
                    ],
                    [
                        {
                            register: "P4DIR",
                            bitSetMask: 0x04,
                            bitClearMask: 0x00
                        },
                        {
                            register: "P4SEL",
                            bitSetMask: 0x04,
                            bitClearMask: 0x00
                        }
                    ]
                ]
            }
        },
        {
            pinName: "P4.3",
            pinFunction: {
                functionName: [
                    "GPIO Input",
                    "GPIO Output",
                    "Timer_B3.CCI0B",
                    "Timer_B3.TB0",
                    "A12"
                ],
                functionConfig: [
                    [
                        {
                            register: "P4DIR",
                            bitSetMask: 0x00,
                            bitClearMask: 0x08
                        },
                        {
                            register: "P4SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x08
                        },
                        {
                            register: "ADC10AE1",
                            bitSetMask: 0x00,
                            bitClearMask: 0x10
                        }
                    ],
                    [
                        {
                            register: "P4DIR",
                            bitSetMask: 0x08,
                            bitClearMask: 0x00
                        },
                        {
                            register: "P4SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x08
                        },
                        {
                            register: "ADC10AE1",
                            bitSetMask: 0x00,
                            bitClearMask: 0x10
                        }
                    ],
                    [
                        {
                            register: "P4DIR",
                            bitSetMask: 0x00,
                            bitClearMask: 0x08
                        },
                        {
                            register: "P4SEL",
                            bitSetMask: 0x08,
                            bitClearMask: 0x00
                        },
                        {
                            register: "ADC10AE1",
                            bitSetMask: 0x00,
                            bitClearMask: 0x10
                        }
                    ],
                    [
                        {
                            register: "P4DIR",
                            bitSetMask: 0x08,
                            bitClearMask: 0x00
                        },
                        {
                            register: "P4SEL",
                            bitSetMask: 0x08,
                            bitClearMask: 0x00
                        },
                        {
                            register: "ADC10AE1",
                            bitSetMask: 0x00,
                            bitClearMask: 0x10
                        }
                    ],
                    [
                        {
                            register: "ADC10AE1",
                            bitSetMask: 0x10,
                            bitClearMask: 0x00
                        }
                    ]
                ]
            }
        },
        {
            pinName: "P4.4",
            pinFunction: {
                functionName: [
                    "GPIO Input",
                    "GPIO Output",
                    "Timer_B3.CCI1B",
                    "Timer_B3.TB1",
                    "A13"
                ],
                functionConfig: [
                    [
                        {
                            register: "P4DIR",
                            bitSetMask: 0x00,
                            bitClearMask: 0x10
                        },
                        {
                            register: "P4SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x10
                        },
                        {
                            register: "ADC10AE1",
                            bitSetMask: 0x00,
                            bitClearMask: 0x20
                        }
                    ],
                    [
                        {
                            register: "P4DIR",
                            bitSetMask: 0x10,
                            bitClearMask: 0x00
                        },
                        {
                            register: "P4SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x10
                        },
                        {
                            register: "ADC10AE1",
                            bitSetMask: 0x00,
                            bitClearMask: 0x20
                        }
                    ],
                    [
                        {
                            register: "P4DIR",
                            bitSetMask: 0x00,
                            bitClearMask: 0x10
                        },
                        {
                            register: "P4SEL",
                            bitSetMask: 0x10,
                            bitClearMask: 0x00
                        },
                        {
                            register: "ADC10AE1",
                            bitSetMask: 0x00,
                            bitClearMask: 0x20
                        }
                    ],
                    [
                        {
                            register: "P4DIR",
                            bitSetMask: 0x10,
                            bitClearMask: 0x00
                        },
                        {
                            register: "P4SEL",
                            bitSetMask: 0x10,
                            bitClearMask: 0x00
                        },
                        {
                            register: "ADC10AE1",
                            bitSetMask: 0x00,
                            bitClearMask: 0x20
                        }
                    ],
                    [
                        {
                            register: "ADC10AE1",
                            bitSetMask: 0x20,
                            bitClearMask: 0x00
                        }
                    ]
                ]
            }
        },
        {
            pinName: "P4.5",
            pinFunction: {
                functionName: [
                    "GPIO Input",
                    "GPIO Output",
                    "Timer_B3.TB2",
                    "A14"
                ],
                functionConfig: [
                    [
                        {
                            register: "P4DIR",
                            bitSetMask: 0x00,
                            bitClearMask: 0x20
                        },
                        {
                            register: "P4SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x20
                        },
                        {
                            register: "ADC10AE1",
                            bitSetMask: 0x00,
                            bitClearMask: 0x40
                        }
                    ],
                    [
                        {
                            register: "P4DIR",
                            bitSetMask: 0x20,
                            bitClearMask: 0x00
                        },
                        {
                            register: "P4SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x20
                        },
                        {
                            register: "ADC10AE1",
                            bitSetMask: 0x00,
                            bitClearMask: 0x40
                        }
                    ],
                    [
                        {
                            register: "P4DIR",
                            bitSetMask: 0x20,
                            bitClearMask: 0x00
                        },
                        {
                            register: "P4SEL",
                            bitSetMask: 0x20,
                            bitClearMask: 0x00
                        },
                        {
                            register: "ADC10AE1",
                            bitSetMask: 0x00,
                            bitClearMask: 0x40
                        }
                    ],
                    [
                        {
                            register: "ADC10AE1",
                            bitSetMask: 0x40,
                            bitClearMask: 0x00
                        }
                    ]
                ]
            }
        },
        {
            pinName: "P4.6",
            pinFunction: {
                functionName: [
                    "GPIO Input",
                    "GPIO Output",
                    "TBOUTH",
                    "DVSS",
                    "A15"
                ],
                functionConfig: [
                    [
                        {
                            register: "P4DIR",
                            bitSetMask: 0x00,
                            bitClearMask: 0x40
                        },
                        {
                            register: "P4SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x40
                        },
                        {
                            register: "ADC10AE1",
                            bitSetMask: 0x00,
                            bitClearMask: 0x80
                        }
                    ],
                    [
                        {
                            register: "P4DIR",
                            bitSetMask: 0x40,
                            bitClearMask: 0x00
                        },
                        {
                            register: "P4SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x40
                        },
                        {
                            register: "ADC10AE1",
                            bitSetMask: 0x00,
                            bitClearMask: 0x80
                        }
                    ],
                    [
                        {
                            register: "P4DIR",
                            bitSetMask: 0x00,
                            bitClearMask: 0x40
                        },
                        {
                            register: "P4SEL",
                            bitSetMask: 0x40,
                            bitClearMask: 0x00
                        },
                        {
                            register: "ADC10AE1",
                            bitSetMask: 0x00,
                            bitClearMask: 0x80
                        }
                    ],
                    [
                        {
                            register: "P4DIR",
                            bitSetMask: 0x40,
                            bitClearMask: 0x00
                        },
                        {
                            register: "P4SEL",
                            bitSetMask: 0x40,
                            bitClearMask: 0x00
                        },
                        {
                            register: "ADC10AE1",
                            bitSetMask: 0x00,
                            bitClearMask: 0x80
                        }
                    ],
                    [
                        {
                            register: "ADC10AE1",
                            bitSetMask: 0x80,
                            bitClearMask: 0x00
                        }
                    ]
                ]
            }
        },
        {
            pinName: "P4.7",
            pinFunction: {
                functionName: [
                    "GPIO Input",
                    "GPIO Output",
                    "Timer_B3.TBCLK",
                    "DVSS"
                ],
                functionConfig: [
                    [
                        {
                            register: "P4DIR",
                            bitSetMask: 0x00,
                            bitClearMask: 0x80
                        },
                        {
                            register: "P4SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x80
                        }
                    ],
                    [
                        {
                            register: "P4DIR",
                            bitSetMask: 0x80,
                            bitClearMask: 0x00
                        },
                        {
                            register: "P4SEL",
                            bitSetMask: 0x00,
                            bitClearMask: 0x80
                        }
                    ],
                    [
                        {
                            register: "P4DIR",
                            bitSetMask: 0x00,
                            bitClearMask: 0x80
                        },
                        {
                            register: "P4SEL",
                            bitSetMask: 0x80,
                            bitClearMask: 0x00
                        }
                    ],
                    [
                        {
                            register: "P4DIR",
                            bitSetMask: 0x80,
                            bitClearMask: 0x00
                        },
                        {
                            register: "P4SEL",
                            bitSetMask: 0x80,
                            bitClearMask: 0x00
                        }
                    ]
                ]
            }
        }
    ]
];
 
 
config GPIO_MSP430F22x2.forceSetDefaultRegister  // instance

Determine if each Register needs to be forced set or not

XDCscript usage meta-domain
var params = new GPIO_MSP430F22x2.Params;
  ...
const params.forceSetDefaultRegister = GPIO_MSP430F22x2.ForceSetDefaultRegister_t[] [
    {
        register: "P1OUT",
        regForceSet: true
    },
    {
        register: "P1SEL",
        regForceSet: false
    },
    {
        register: "P1DIR",
        regForceSet: false
    },
    {
        register: "P1REN",
        regForceSet: false
    },
    {
        register: "P1IES",
        regForceSet: true
    },
    {
        register: "P1IFG",
        regForceSet: true
    },
    {
        register: "P1IE",
        regForceSet: false
    },
    {
        register: "P2OUT",
        regForceSet: true
    },
    {
        register: "P2SEL",
        regForceSet: false
    },
    {
        register: "P2DIR",
        regForceSet: false
    },
    {
        register: "P2REN",
        regForceSet: false
    },
    {
        register: "P2IES",
        regForceSet: true
    },
    {
        register: "P2IFG",
        regForceSet: true
    },
    {
        register: "P2IE",
        regForceSet: false
    },
    {
        register: "P3OUT",
        regForceSet: true
    },
    {
        register: "P3SEL",
        regForceSet: false
    },
    {
        register: "P3DIR",
        regForceSet: false
    },
    {
        register: "P3REN",
        regForceSet: false
    },
    {
        register: "P4OUT",
        regForceSet: true
    },
    {
        register: "P4SEL",
        regForceSet: false
    },
    {
        register: "P4DIR",
        regForceSet: false
    },
    {
        register: "P4REN",
        regForceSet: false
    }
];
 
 
config GPIO_MSP430F22x2.interruptSource  // instance

GPIO interrupt source

XDCscript usage meta-domain
var params = new GPIO_MSP430F22x2.Params;
  ...
params.interruptSource = IGPIO.regIntVect_t[32] undefined;
 
 
config GPIO_MSP430F22x2.name  // instance

Specific peripheral name given by the device

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

String specifying the entity that manages the peripheral

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

XDCscript usage meta-domain
var params = new GPIO_MSP430F22x2.Params;
// Allocate instance config-params
params.config =   ...
// Assign individual configs
 
var inst = GPIO_MSP430F22x2.create(ADC10.Instance adc10, BCSplus.Instance clock, params);
// Create an instance-object
 
GPIO_MSP430F22x2.findPinsForFunction()  // instance

Identify all device pins that can be used to serve a certain purpose

XDCscript usage meta-domain
inst.findPinsForFunction(String regExp) returns IGPIO.MatchedPortFunction_t
 
DETAILS
Function to scan through the pin configuration database to identify a list of device pins matching a regular expression.
 
GPIO_MSP430F22x2.getPinFunctionIndex()  // instance

Get a pin's current functional configuration

XDCscript usage meta-domain
inst.getPinFunctionIndex(UInt port, UInt pin) returns UInt
 
DETAILS
This function is used to obtain the current configuration of a given device pin. The returned value can be used as an index to obtain further information from the pin configuration database.
 
GPIO_MSP430F22x2.getPinOwner()  // instance

This function returns the current owner of the specified device pin

XDCscript usage meta-domain
inst.getPinOwner(UInt port, UInt pin) returns Any
 
 
GPIO_MSP430F22x2.pinFunctionIsActive()  // instance

Check if a pin is enabled for a certain function

XDCscript usage meta-domain
inst.pinFunctionIsActive(UInt port, UInt pin, String regExp) returns Bool
 
DETAILS
This function is used to check if a certain functionality is enabled on a given device pins (returns 'true' in that case).
 
GPIO_MSP430F22x2.setDefaultPinFunction()  // instance

Configure a device pin to its default state

XDCscript usage meta-domain
inst.setDefaultPinFunction(UInt port, UInt pin, Any owner) returns Void
 
DETAILS
This function is used to configure a device pin to its default state and is typically used when a peripheral module relinquishes ownership of a pin so that it can be used by other peripheral modules.
 
GPIO_MSP430F22x2.setPinFunctionUsingIndex()  // instance

Configure a device pin to a specific peripheral function

XDCscript usage meta-domain
inst.setPinFunctionUsingIndex(UInt port, UInt pin, UInt index, Any owner) returns Void
 
DETAILS
This function is used to configure a device pin to a specific peripheral function that is identified by an index. The index corresponds to an associated set of configuration parameters stored in the pin configuration database. The owner parameter can be used to protect a pin from being used by somebody else. A pin configuration can only be changed if the current owner is undefined, or of the current owner matches the owner specified as function parameter.
generated on Fri, 14 Sep 2012 21:30:45 GMT