1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
#[doc = r"Register block"]
#[repr(C)]
pub struct RegisterBlock {
    #[doc = "0x00 - DMA interrupt status register"]
    pub isr: ISR,
    #[doc = "0x04 - DMA interrupt flag clear register"]
    pub ifcr: IFCR,
    #[doc = "0x08 - DMA channel x configuration register"]
    pub ccr1: CCR1,
    #[doc = "0x0c - DMA channel x number of data register"]
    pub cndtr1: CNDTR1,
    #[doc = "0x10 - This register must not be written when the channel is enabled."]
    pub cpar1: CPAR1,
    #[doc = "0x14 - This register must not be written when the channel is enabled."]
    pub cmar1: CMAR1,
    _reserved6: [u8; 4usize],
    #[doc = "0x1c - DMA channel x configuration register"]
    pub ccr2: CCR2,
    #[doc = "0x20 - DMA channel x number of data register"]
    pub cndtr2: CNDTR2,
    #[doc = "0x24 - This register must not be written when the channel is enabled."]
    pub cpar2: CPAR2,
    #[doc = "0x28 - This register must not be written when the channel is enabled."]
    pub cmar2: CMAR2,
    _reserved10: [u8; 4usize],
    #[doc = "0x30 - DMA channel x configuration register"]
    pub ccr3: CCR3,
    #[doc = "0x34 - DMA channel x number of data register"]
    pub cndtr3: CNDTR3,
    #[doc = "0x38 - This register must not be written when the channel is enabled."]
    pub cpar3: CPAR3,
    #[doc = "0x3c - This register must not be written when the channel is enabled."]
    pub cmar3: CMAR3,
    _reserved14: [u8; 4usize],
    #[doc = "0x44 - DMA channel x configuration register"]
    pub ccr4: CCR4,
    #[doc = "0x48 - DMA channel x number of data register"]
    pub cndtr4: CNDTR4,
    #[doc = "0x4c - This register must not be written when the channel is enabled."]
    pub cpar4: CPAR4,
    #[doc = "0x50 - This register must not be written when the channel is enabled."]
    pub cmar4: CMAR4,
    _reserved18: [u8; 4usize],
    #[doc = "0x58 - DMA channel x configuration register"]
    pub ccr5: CCR5,
    #[doc = "0x5c - DMA channel x number of data register"]
    pub cndtr5: CNDTR5,
    #[doc = "0x60 - This register must not be written when the channel is enabled."]
    pub cpar5: CPAR5,
    #[doc = "0x64 - This register must not be written when the channel is enabled."]
    pub cmar5: CMAR5,
    _reserved22: [u8; 4usize],
    #[doc = "0x6c - DMA channel x configuration register"]
    pub ccr6: CCR6,
    #[doc = "0x70 - DMA channel x number of data register"]
    pub cndtr6: CNDTR6,
    #[doc = "0x74 - This register must not be written when the channel is enabled."]
    pub cpar6: CPAR6,
    #[doc = "0x78 - This register must not be written when the channel is enabled."]
    pub cmar6: CMAR6,
    _reserved26: [u8; 4usize],
    #[doc = "0x80 - DMA channel x configuration register"]
    pub ccr7: CCR7,
    #[doc = "0x84 - DMA channel x number of data register"]
    pub cndtr7: CNDTR7,
    #[doc = "0x88 - This register must not be written when the channel is enabled."]
    pub cpar7: CPAR7,
    #[doc = "0x8c - This register must not be written when the channel is enabled."]
    pub cmar7: CMAR7,
    _reserved30: [u8; 4usize],
    #[doc = "0x94 - DMA channel x configuration register"]
    pub ccr8: CCR8,
    #[doc = "0x98 - DMA channel x number of data register"]
    pub cndtr8: CNDTR8,
    #[doc = "0x9c - This register must not be written when the channel is enabled."]
    pub cpar8: CPAR8,
    #[doc = "0xa0 - This register must not be written when the channel is enabled."]
    pub cmar8: CMAR8,
}
#[doc = "DMA interrupt status register"]
pub struct ISR {
    register: vcell::VolatileCell<u32>,
}
#[doc = "DMA interrupt status register"]
pub mod isr;
#[doc = "DMA interrupt flag clear register"]
pub struct IFCR {
    register: vcell::VolatileCell<u32>,
}
#[doc = "DMA interrupt flag clear register"]
pub mod ifcr;
#[doc = "DMA channel x configuration register"]
pub struct CCR1 {
    register: vcell::VolatileCell<u32>,
}
#[doc = "DMA channel x configuration register"]
pub mod ccr1;
#[doc = "DMA channel x number of data register"]
pub struct CNDTR1 {
    register: vcell::VolatileCell<u32>,
}
#[doc = "DMA channel x number of data register"]
pub mod cndtr1;
#[doc = "This register must not be written when the channel is enabled."]
pub struct CPAR1 {
    register: vcell::VolatileCell<u32>,
}
#[doc = "This register must not be written when the channel is enabled."]
pub mod cpar1;
#[doc = "This register must not be written when the channel is enabled."]
pub struct CMAR1 {
    register: vcell::VolatileCell<u32>,
}
#[doc = "This register must not be written when the channel is enabled."]
pub mod cmar1;
#[doc = "DMA channel x configuration register"]
pub struct CCR2 {
    register: vcell::VolatileCell<u32>,
}
#[doc = "DMA channel x configuration register"]
pub mod ccr2;
#[doc = "DMA channel x number of data register"]
pub struct CNDTR2 {
    register: vcell::VolatileCell<u32>,
}
#[doc = "DMA channel x number of data register"]
pub mod cndtr2;
#[doc = "This register must not be written when the channel is enabled."]
pub struct CPAR2 {
    register: vcell::VolatileCell<u32>,
}
#[doc = "This register must not be written when the channel is enabled."]
pub mod cpar2;
#[doc = "This register must not be written when the channel is enabled."]
pub struct CMAR2 {
    register: vcell::VolatileCell<u32>,
}
#[doc = "This register must not be written when the channel is enabled."]
pub mod cmar2;
#[doc = "DMA channel x configuration register"]
pub struct CCR3 {
    register: vcell::VolatileCell<u32>,
}
#[doc = "DMA channel x configuration register"]
pub mod ccr3;
#[doc = "DMA channel x number of data register"]
pub struct CNDTR3 {
    register: vcell::VolatileCell<u32>,
}
#[doc = "DMA channel x number of data register"]
pub mod cndtr3;
#[doc = "This register must not be written when the channel is enabled."]
pub struct CPAR3 {
    register: vcell::VolatileCell<u32>,
}
#[doc = "This register must not be written when the channel is enabled."]
pub mod cpar3;
#[doc = "This register must not be written when the channel is enabled."]
pub struct CMAR3 {
    register: vcell::VolatileCell<u32>,
}
#[doc = "This register must not be written when the channel is enabled."]
pub mod cmar3;
#[doc = "DMA channel x configuration register"]
pub struct CCR4 {
    register: vcell::VolatileCell<u32>,
}
#[doc = "DMA channel x configuration register"]
pub mod ccr4;
#[doc = "DMA channel x number of data register"]
pub struct CNDTR4 {
    register: vcell::VolatileCell<u32>,
}
#[doc = "DMA channel x number of data register"]
pub mod cndtr4;
#[doc = "This register must not be written when the channel is enabled."]
pub struct CPAR4 {
    register: vcell::VolatileCell<u32>,
}
#[doc = "This register must not be written when the channel is enabled."]
pub mod cpar4;
#[doc = "This register must not be written when the channel is enabled."]
pub struct CMAR4 {
    register: vcell::VolatileCell<u32>,
}
#[doc = "This register must not be written when the channel is enabled."]
pub mod cmar4;
#[doc = "DMA channel x configuration register"]
pub struct CCR5 {
    register: vcell::VolatileCell<u32>,
}
#[doc = "DMA channel x configuration register"]
pub mod ccr5;
#[doc = "DMA channel x number of data register"]
pub struct CNDTR5 {
    register: vcell::VolatileCell<u32>,
}
#[doc = "DMA channel x number of data register"]
pub mod cndtr5;
#[doc = "This register must not be written when the channel is enabled."]
pub struct CPAR5 {
    register: vcell::VolatileCell<u32>,
}
#[doc = "This register must not be written when the channel is enabled."]
pub mod cpar5;
#[doc = "This register must not be written when the channel is enabled."]
pub struct CMAR5 {
    register: vcell::VolatileCell<u32>,
}
#[doc = "This register must not be written when the channel is enabled."]
pub mod cmar5;
#[doc = "DMA channel x configuration register"]
pub struct CCR6 {
    register: vcell::VolatileCell<u32>,
}
#[doc = "DMA channel x configuration register"]
pub mod ccr6;
#[doc = "DMA channel x number of data register"]
pub struct CNDTR6 {
    register: vcell::VolatileCell<u32>,
}
#[doc = "DMA channel x number of data register"]
pub mod cndtr6;
#[doc = "This register must not be written when the channel is enabled."]
pub struct CPAR6 {
    register: vcell::VolatileCell<u32>,
}
#[doc = "This register must not be written when the channel is enabled."]
pub mod cpar6;
#[doc = "This register must not be written when the channel is enabled."]
pub struct CMAR6 {
    register: vcell::VolatileCell<u32>,
}
#[doc = "This register must not be written when the channel is enabled."]
pub mod cmar6;
#[doc = "DMA channel x configuration register"]
pub struct CCR7 {
    register: vcell::VolatileCell<u32>,
}
#[doc = "DMA channel x configuration register"]
pub mod ccr7;
#[doc = "DMA channel x number of data register"]
pub struct CNDTR7 {
    register: vcell::VolatileCell<u32>,
}
#[doc = "DMA channel x number of data register"]
pub mod cndtr7;
#[doc = "This register must not be written when the channel is enabled."]
pub struct CPAR7 {
    register: vcell::VolatileCell<u32>,
}
#[doc = "This register must not be written when the channel is enabled."]
pub mod cpar7;
#[doc = "This register must not be written when the channel is enabled."]
pub struct CMAR7 {
    register: vcell::VolatileCell<u32>,
}
#[doc = "This register must not be written when the channel is enabled."]
pub mod cmar7;
#[doc = "DMA channel x configuration register"]
pub struct CCR8 {
    register: vcell::VolatileCell<u32>,
}
#[doc = "DMA channel x configuration register"]
pub mod ccr8;
#[doc = "DMA channel x number of data register"]
pub struct CNDTR8 {
    register: vcell::VolatileCell<u32>,
}
#[doc = "DMA channel x number of data register"]
pub mod cndtr8;
#[doc = "This register must not be written when the channel is enabled."]
pub struct CPAR8 {
    register: vcell::VolatileCell<u32>,
}
#[doc = "This register must not be written when the channel is enabled."]
pub mod cpar8;
#[doc = "This register must not be written when the channel is enabled."]
pub struct CMAR8 {
    register: vcell::VolatileCell<u32>,
}
#[doc = "This register must not be written when the channel is enabled."]
pub mod cmar8;