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 import ti.catalog.msp430.peripherals.clock.IClock;
13
14 /*!
15 * ======== IADC ========
16 * MSP430 Analog to Digital Converter Interface
17 */
18 metaonlyinterface IADC inherits xdc.platform.IPeripheral {
19
20 /*!
21 * ======== ForceSetDefaultRegister_t ========
22 * Force Set Default Register
23 *
24 * Type to store if each register needs to be forced initialized
25 * even if the register is in default state.
26 *
27 * @see #ForceSetDefaultRegister_t
28 */
29 struct ForceSetDefaultRegister_t {
30 String register;
31 Bool regForceSet;
32 }
33
34 /*!
35 * ======== create ========
36 * Create an instance of this peripheral
37 */
38 create(IClock.Instance clock);
39
40 instance:
41 /*! @_nodoc */
42 config IClock.Instance clock;
43 }