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 /*!
14 * ======== DMA ========
15 * MSP430 DMA controller
16 */
17 metaonlymodule DMA inherits IDMA {
18
19 instance:
20 /*!
21 * ======== baseAddr ========
22 * Address of the peripheral's control register.
23 *
24 * A peripheral's registers are commonly accessed through a structure
25 * that defines the offsets of a particular register from the lowest
26 * address mapped to a peripheral. That lowest address is specified by
27 * this parameter.
28 */
29 config UInt baseAddr;
30
31 /*! DMA interrupt enables */
32 config regIntVect_t interruptSource[8];
33
34 config regTriggerVect_t triggerSource[8][32];
35
36 config UInt numberOfChannels;
37
38 /*! Determine if each Register needs to be forced set or not */
39 readonlyconfig ForceSetDefaultRegister_t forceSetDefaultRegister[] =
40 [
41 ];
42
43 }