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     *  ======== ADC10_B ========
    14     *  MSP430 10-bit Analog to Digital Converter
    15     */
    16    metaonly module ADC10_B inherits IADC {
    17    
    18    instance:
    19        /*!
    20         *  ======== baseAddr ========
    21         *  Address of the peripheral's control register.
    22         *
    23         *  A peripheral's registers are commonly accessed through a structure
    24         *  that defines the offsets of a particular register from the lowest
    25         *  address mapped to a peripheral. That lowest address is specified by
    26         *  this parameter.
    27         */
    28        config UInt baseAddr;
    29    
    30        /*! Interrupt enables */
    31        config regIntVect_t interruptSource[4];
    32    
    33        /*! Determine if each Register needs to be forced set or not */
    34        readonly config ForceSetDefaultRegister_t forceSetDefaultRegister[] =
    35        [
    36        ];
    37    }