1    /* 
     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     * */
    12    /*!
    13     *  ======== IPinMux ========
    14     */
    15    metaonly interface IPinMux inherits xdc.platform.IPeripheral {
    16    
    17        struct ForceSetDefaultRegister_t {
    18            String     register;
    19            Bool       regForceSet;
    20        }
    21    
    22    instance:
    23        /*! Port 1 Output Register */
    24        config Bits8 p1out = 0;
    25    
    26        /*! Port 1 Port Select Register 0 */
    27        config Bits8 p1sel0 = 0;
    28    
    29        /*! Port 1 Port Select Register 1 */
    30        config Bits8 p1sel1 = 0;
    31    
    32        /*! Port 1 Direction Register */
    33        config Bits8 p1dir = 0;
    34    
    35        /*! Port 1 Resistor Enable Register */
    36        config Bits8 p1ren = 0;
    37    
    38        /*! Port 2 Output Register */
    39        config Bits8 p2out = 0;
    40    
    41        /*! Port 2 Port Select Register 0 */
    42        config Bits8 p2sel0 = 0;
    43    
    44        /*! Port 2 Port Select Register 1 */
    45        config Bits8 p2sel1 = 0;
    46    
    47        /*! Port 2 Direction Register */
    48        config Bits8 p2dir = 0;
    49    
    50        /*! Port 2 Resistor Enable Register */
    51        config Bits8 p2ren = 0;
    52    
    53        /*! Port 3 Output Register */
    54        config Bits8 p3out = 0;
    55    
    56        /*! Port 3 Port Select Register 0 */
    57        config Bits8 p3sel0 = 0;
    58    
    59        /*! Port 3 Port Select Register 1 */
    60        config Bits8 p3sel1 = 0;
    61    
    62        /*! Port 3 Direction Register */
    63        config Bits8 p3dir = 0;
    64    
    65        /*! Port 3 Resistor Enable Register */
    66        config Bits8 p3ren = 0;
    67    
    68        /*! Port 4 Output Register */
    69        config Bits8 p4out = 0;
    70    
    71        /*! Port 4 Port Select Register 0 */
    72        config Bits8 p4sel0 = 0;
    73    
    74        /*! Port 4 Port Select Register 1 */
    75        config Bits8 p4sel1 = 0;
    76    
    77        /*! Port 4 Direction Register */
    78        config Bits8 p4dir = 0;
    79    
    80        /*! Port 4 Resistor Enable Register */
    81        config Bits8 p4ren = 0;
    82    
    83        /*! Port J Output Register */
    84        config Bits8 pjout = 0;
    85    
    86        /*! Port J Port Select Register 0 */
    87        config Bits8 pjsel0 = 0;
    88    
    89        /*! Port J Port Select Register 1 */
    90        config Bits8 pjsel1 = 0;
    91    
    92        /*! Port J Direction Register */
    93        config Bits8 pjdir = 0;
    94    
    95        /*! Port J Resistor Enable Register */
    96        config Bits8 pjren = 0;
    97    
    98        /*! Port 1 Interrupt Enable */
    99        config Bits8 p1ie = 0;
   100    
   101        /*! Port 1 Interrupt Edge Select */
   102        config Bits8 p1ies = 0;
   103    
   104        /*! Port 2 Interrupt Enable */
   105        config Bits8 p2ie = 0;
   106    
   107        /*! Port 2 Interrupt Edge Select */
   108        config Bits8 p2ies = 0;
   109    
   110        /*! Port 3 Interrupt Enable */
   111        config Bits8 p3ie = 0;
   112    
   113        /*! Port 3 Interrupt Edge Select */
   114        config Bits8 p3ies = 0;
   115    
   116        /*! Port 4 Interrupt Enable */
   117        config Bits8 p4ie = 0;
   118    
   119        /*! Port 4 Interrupt Edge Select */
   120        config Bits8 p4ies = 0;
   121    
   122        /*! Port 1 Interrupt Flag Register */
   123        config Bits8 p1ifg = 0;
   124    
   125        /*! Port 2 Interrupt Flag Register */
   126        config Bits8 p2ifg = 0;
   127    
   128        /*! Port 3 Interrupt Flag Register */
   129        config Bits8 p3ifg = 0;
   130    
   131        /*! Port 4 Interrupt Flag Register */
   132        config Bits8 p4ifg = 0;
   133    
   134        readonly config ForceSetDefaultRegister_t forceSetDefaultRegister[length];
   135    }
   136    /*
   137     *  @(#) ti.catalog.msp430.peripherals.pinmux; 1, 0, 0,; 6-16-2015 12:30:39; /db/ztree/library/trees/platform/platform-q01/src/
   138     */
   139