1 2 3 4 5 6 7 8 9 10 11
12 import ti.catalog.msp430.peripherals.clock.IClock;
13
14 /*!
15 * ======== IADC ========
16 * MSP430 Analog to Digital Converter Interface
17 */
18 metaonly interface 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 * ======== regIntVect_t ========
36 * Interrupt vector description
37 *
38 * Type to describe a single interrupt vector pin and all its possible
39 * configurations.
40 *
41 * @see #regIntVect_t
42 */
43 struct regIntVect_t {
44 String registerName;
45 String registerDescription;
46 String isrToggleString;
47 String priorityName;
48 Bool interruptEnable;
49 Bool interruptHandler;
50 Int priority;
51 }
52
53 /*!
54 * ======== create ========
55 * Create an instance of this peripheral
56 */
57 create(IClock.Instance clock);
58
59 instance:
60 /*! @_nodoc */
61 config IClock.Instance clock;
62 }