EFM32 Giant Gecko Software Documentation  efm32gg-doc-5.1.2
efm32gg_dmactrl.h
Go to the documentation of this file.
1 /**************************************************************************/
32 /**************************************************************************/
37 /**************************************************************************/
41 #define _DMA_CTRL_DST_INC_MASK 0xC0000000UL
42 #define _DMA_CTRL_DST_INC_SHIFT 30
43 #define _DMA_CTRL_DST_INC_BYTE 0x00
44 #define _DMA_CTRL_DST_INC_HALFWORD 0x01
45 #define _DMA_CTRL_DST_INC_WORD 0x02
46 #define _DMA_CTRL_DST_INC_NONE 0x03
47 #define DMA_CTRL_DST_INC_BYTE 0x00000000UL
48 #define DMA_CTRL_DST_INC_HALFWORD 0x40000000UL
49 #define DMA_CTRL_DST_INC_WORD 0x80000000UL
50 #define DMA_CTRL_DST_INC_NONE 0xC0000000UL
51 #define _DMA_CTRL_DST_SIZE_MASK 0x30000000UL
52 #define _DMA_CTRL_DST_SIZE_SHIFT 28
53 #define _DMA_CTRL_DST_SIZE_BYTE 0x00
54 #define _DMA_CTRL_DST_SIZE_HALFWORD 0x01
55 #define _DMA_CTRL_DST_SIZE_WORD 0x02
56 #define _DMA_CTRL_DST_SIZE_RSVD 0x03
57 #define DMA_CTRL_DST_SIZE_BYTE 0x00000000UL
58 #define DMA_CTRL_DST_SIZE_HALFWORD 0x10000000UL
59 #define DMA_CTRL_DST_SIZE_WORD 0x20000000UL
60 #define DMA_CTRL_DST_SIZE_RSVD 0x30000000UL
61 #define _DMA_CTRL_SRC_INC_MASK 0x0C000000UL
62 #define _DMA_CTRL_SRC_INC_SHIFT 26
63 #define _DMA_CTRL_SRC_INC_BYTE 0x00
64 #define _DMA_CTRL_SRC_INC_HALFWORD 0x01
65 #define _DMA_CTRL_SRC_INC_WORD 0x02
66 #define _DMA_CTRL_SRC_INC_NONE 0x03
67 #define DMA_CTRL_SRC_INC_BYTE 0x00000000UL
68 #define DMA_CTRL_SRC_INC_HALFWORD 0x04000000UL
69 #define DMA_CTRL_SRC_INC_WORD 0x08000000UL
70 #define DMA_CTRL_SRC_INC_NONE 0x0C000000UL
71 #define _DMA_CTRL_SRC_SIZE_MASK 0x03000000UL
72 #define _DMA_CTRL_SRC_SIZE_SHIFT 24
73 #define _DMA_CTRL_SRC_SIZE_BYTE 0x00
74 #define _DMA_CTRL_SRC_SIZE_HALFWORD 0x01
75 #define _DMA_CTRL_SRC_SIZE_WORD 0x02
76 #define _DMA_CTRL_SRC_SIZE_RSVD 0x03
77 #define DMA_CTRL_SRC_SIZE_BYTE 0x00000000UL
78 #define DMA_CTRL_SRC_SIZE_HALFWORD 0x01000000UL
79 #define DMA_CTRL_SRC_SIZE_WORD 0x02000000UL
80 #define DMA_CTRL_SRC_SIZE_RSVD 0x03000000UL
81 #define _DMA_CTRL_DST_PROT_CTRL_MASK 0x00E00000UL
82 #define _DMA_CTRL_DST_PROT_CTRL_SHIFT 21
83 #define DMA_CTRL_DST_PROT_PRIVILEGED 0x00200000UL
84 #define DMA_CTRL_DST_PROT_NON_PRIVILEGED 0x00000000UL
85 #define _DMA_CTRL_SRC_PROT_CTRL_MASK 0x001C0000UL
86 #define _DMA_CTRL_SRC_PROT_CTRL_SHIFT 18
87 #define DMA_CTRL_SRC_PROT_PRIVILEGED 0x00040000UL
88 #define DMA_CTRL_SRC_PROT_NON_PRIVILEGED 0x00000000UL
89 #define _DMA_CTRL_PROT_NON_PRIVILEGED 0x00
90 #define _DMA_CTRL_PROT_PRIVILEGED 0x01
91 #define _DMA_CTRL_R_POWER_MASK 0x0003C000UL
92 #define _DMA_CTRL_R_POWER_SHIFT 14
93 #define _DMA_CTRL_R_POWER_1 0x00
94 #define _DMA_CTRL_R_POWER_2 0x01
95 #define _DMA_CTRL_R_POWER_4 0x02
96 #define _DMA_CTRL_R_POWER_8 0x03
97 #define _DMA_CTRL_R_POWER_16 0x04
98 #define _DMA_CTRL_R_POWER_32 0x05
99 #define _DMA_CTRL_R_POWER_64 0x06
100 #define _DMA_CTRL_R_POWER_128 0x07
101 #define _DMA_CTRL_R_POWER_256 0x08
102 #define _DMA_CTRL_R_POWER_512 0x09
103 #define _DMA_CTRL_R_POWER_1024 0x0a
104 #define DMA_CTRL_R_POWER_1 0x00000000UL
105 #define DMA_CTRL_R_POWER_2 0x00004000UL
106 #define DMA_CTRL_R_POWER_4 0x00008000UL
107 #define DMA_CTRL_R_POWER_8 0x0000c000UL
108 #define DMA_CTRL_R_POWER_16 0x00010000UL
109 #define DMA_CTRL_R_POWER_32 0x00014000UL
110 #define DMA_CTRL_R_POWER_64 0x00018000UL
111 #define DMA_CTRL_R_POWER_128 0x0001c000UL
112 #define DMA_CTRL_R_POWER_256 0x00020000UL
113 #define DMA_CTRL_R_POWER_512 0x00024000UL
114 #define DMA_CTRL_R_POWER_1024 0x00028000UL
115 #define _DMA_CTRL_N_MINUS_1_MASK 0x00003FF0UL
116 #define _DMA_CTRL_N_MINUS_1_SHIFT 4
117 #define _DMA_CTRL_NEXT_USEBURST_MASK 0x00000008UL
118 #define _DMA_CTRL_NEXT_USEBURST_SHIFT 3
119 #define _DMA_CTRL_CYCLE_CTRL_MASK 0x00000007UL
120 #define _DMA_CTRL_CYCLE_CTRL_SHIFT 0
121 #define _DMA_CTRL_CYCLE_CTRL_INVALID 0x00
122 #define _DMA_CTRL_CYCLE_CTRL_BASIC 0x01
123 #define _DMA_CTRL_CYCLE_CTRL_AUTO 0x02
124 #define _DMA_CTRL_CYCLE_CTRL_PINGPONG 0x03
125 #define _DMA_CTRL_CYCLE_CTRL_MEM_SCATTER_GATHER 0x04
126 #define _DMA_CTRL_CYCLE_CTRL_MEM_SCATTER_GATHER_ALT 0x05
127 #define _DMA_CTRL_CYCLE_CTRL_PER_SCATTER_GATHER 0x06
128 #define _DMA_CTRL_CYCLE_CTRL_PER_SCATTER_GATHER_ALT 0x07
129 #define DMA_CTRL_CYCLE_CTRL_INVALID 0x00000000UL
130 #define DMA_CTRL_CYCLE_CTRL_BASIC 0x00000001UL
131 #define DMA_CTRL_CYCLE_CTRL_AUTO 0x00000002UL
132 #define DMA_CTRL_CYCLE_CTRL_PINGPONG 0x00000003UL
133 #define DMA_CTRL_CYCLE_CTRL_MEM_SCATTER_GATHER 0x000000004UL
134 #define DMA_CTRL_CYCLE_CTRL_MEM_SCATTER_GATHER_ALT 0x000000005UL
135 #define DMA_CTRL_CYCLE_CTRL_PER_SCATTER_GATHER 0x000000006UL
136 #define DMA_CTRL_CYCLE_CTRL_PER_SCATTER_GATHER_ALT 0x000000007UL