1    import ti.catalog.msp430.peripherals.clock.IClock;
     2    import ti.catalog.msp430.peripherals.timer.ITimer_A;
     3    
     4    /*!
     5     *  ======== IADC ========
     6     *  MSP430 Analog to Digital Converter Interface
     7     */
     8    metaonly interface IADC inherits xdc.platform.IPeripheral {
     9    
    10        /*!
    11        *  ======== ForceSetDefaultRegister_t ========
    12        *  Force Set Default Register
    13        *
    14        *  Type to store if each register needs to be forced initialized
    15        *  even if the register is in default state.
    16        *
    17        *  @see #ForceSetDefaultRegister_t
    18        */
    19        struct ForceSetDefaultRegister_t {
    20            String     register;
    21            Bool       regForceSet;
    22        }
    23        
    24        /*!
    25         *  ======== create ========
    26         *  Create an instance of this peripheral
    27         */
    28        create(IClock.Instance clock, ITimer_A.Instance timerA);
    29    
    30    instance:
    31        /*! @_nodoc */
    32        config IClock.Instance clock;
    33        
    34        /*! @_nodoc */
    35        config ITimer_A.Instance timerA;
    36    }