1    /* --COPYRIGHT--,EPL
     2     *  Copyright (c) 2008 Texas Instruments and others.
     3     *  All rights reserved. This program and the accompanying materials
     4     *  are made available under the terms of the Eclipse Public License v1.0
     5     *  which accompanies this distribution, and is available at
     6     *  http://www.eclipse.org/legal/epl-v10.html
     7     *
     8     *  Contributors:
     9     *      Texas Instruments - initial implementation
    10     *
    11     * --/COPYRIGHT--*/
    12    /*!
    13     *  ======== IGPIO ========
    14     *  MSP430 General Purpose Input Output Ports
    15     */
    16    metaonly interface IGPIO inherits xdc.platform.IPeripheral {
    17    
    18        /*!
    19        *  ======== regIntVect_t ========
    20        *  Interrupt vector description
    21        *
    22        *  Type to describe a single interrupt vector pin and all its possible
    23        *  configurations.
    24        *
    25        *  @see #regIntVect_t
    26        */
    27        struct regIntVect_t {
    28            String                    registerName;
    29            String                    registerDescription;
    30            String                    isrToggleString;
    31            String                    priorityName;
    32            Bool                      interruptEnable;
    33            Bool                      interruptHandler;
    34            Int                       priority;
    35        }
    36    
    37    instance:
    38        /*! GPIO interrupt source */
    39        config regIntVect_t interruptSource[32];
    40    
    41    }