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 * ======== WDT_A ========
16 * MSP430 Watchdog Timer A
17 */
18 metaonlymodule WDT_A inherits IWDT
19 {
20 create(IClock.Instance clock);
21
22 instance:
23
24 /*!
25 * ======== baseAddr ========
26 * Address of the peripheral's control register.
27 *
28 * A peripheral's registers are commonly accessed through a structure
29 * that defines the offsets of a particular register from the lowest
30 * address mapped to a peripheral. That lowest address is specified by
31 * this parameter.
32 */
33 config UInt baseAddr;
34
35 /*! @_nodoc */
36 config IClock.Instance clock;
37 }