1 2 3 4 5 6 7 8 9 10 11
12
13 /*!
14 * ======== DMA ========
15 * MSP430 DMA controller
16 */
17 metaonly module 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 readonly config ForceSetDefaultRegister_t forceSetDefaultRegister[] =
40 [
41 ];
42
43 }