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
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
#[doc = "Register `RAM_COM0` reader"]
pub struct R(crate::R<RAM_COM0_SPEC>);
impl core::ops::Deref for R {
    type Target = crate::R<RAM_COM0_SPEC>;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        &self.0
    }
}
impl From<crate::R<RAM_COM0_SPEC>> for R {
    #[inline(always)]
    fn from(reader: crate::R<RAM_COM0_SPEC>) -> Self {
        R(reader)
    }
}
#[doc = "Register `RAM_COM0` writer"]
pub struct W(crate::W<RAM_COM0_SPEC>);
impl core::ops::Deref for W {
    type Target = crate::W<RAM_COM0_SPEC>;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        &self.0
    }
}
impl core::ops::DerefMut for W {
    #[inline(always)]
    fn deref_mut(&mut self) -> &mut Self::Target {
        &mut self.0
    }
}
impl From<crate::W<RAM_COM0_SPEC>> for W {
    #[inline(always)]
    fn from(writer: crate::W<RAM_COM0_SPEC>) -> Self {
        W(writer)
    }
}
#[doc = "Field `S30` reader - S30"]
pub type S30_R = crate::BitReader<bool>;
#[doc = "Field `S30` writer - S30"]
pub type S30_W<'a, const O: u8> = crate::BitWriter<'a, u32, RAM_COM0_SPEC, bool, O>;
#[doc = "Field `S29` reader - S29"]
pub type S29_R = crate::BitReader<bool>;
#[doc = "Field `S29` writer - S29"]
pub type S29_W<'a, const O: u8> = crate::BitWriter<'a, u32, RAM_COM0_SPEC, bool, O>;
#[doc = "Field `S28` reader - S28"]
pub type S28_R = crate::BitReader<bool>;
#[doc = "Field `S28` writer - S28"]
pub type S28_W<'a, const O: u8> = crate::BitWriter<'a, u32, RAM_COM0_SPEC, bool, O>;
#[doc = "Field `S27` reader - S27"]
pub type S27_R = crate::BitReader<bool>;
#[doc = "Field `S27` writer - S27"]
pub type S27_W<'a, const O: u8> = crate::BitWriter<'a, u32, RAM_COM0_SPEC, bool, O>;
#[doc = "Field `S26` reader - S26"]
pub type S26_R = crate::BitReader<bool>;
#[doc = "Field `S26` writer - S26"]
pub type S26_W<'a, const O: u8> = crate::BitWriter<'a, u32, RAM_COM0_SPEC, bool, O>;
#[doc = "Field `S25` reader - S25"]
pub type S25_R = crate::BitReader<bool>;
#[doc = "Field `S25` writer - S25"]
pub type S25_W<'a, const O: u8> = crate::BitWriter<'a, u32, RAM_COM0_SPEC, bool, O>;
#[doc = "Field `S24` reader - S24"]
pub type S24_R = crate::BitReader<bool>;
#[doc = "Field `S24` writer - S24"]
pub type S24_W<'a, const O: u8> = crate::BitWriter<'a, u32, RAM_COM0_SPEC, bool, O>;
#[doc = "Field `S23` reader - S23"]
pub type S23_R = crate::BitReader<bool>;
#[doc = "Field `S23` writer - S23"]
pub type S23_W<'a, const O: u8> = crate::BitWriter<'a, u32, RAM_COM0_SPEC, bool, O>;
#[doc = "Field `S22` reader - S22"]
pub type S22_R = crate::BitReader<bool>;
#[doc = "Field `S22` writer - S22"]
pub type S22_W<'a, const O: u8> = crate::BitWriter<'a, u32, RAM_COM0_SPEC, bool, O>;
#[doc = "Field `S21` reader - S21"]
pub type S21_R = crate::BitReader<bool>;
#[doc = "Field `S21` writer - S21"]
pub type S21_W<'a, const O: u8> = crate::BitWriter<'a, u32, RAM_COM0_SPEC, bool, O>;
#[doc = "Field `S20` reader - S20"]
pub type S20_R = crate::BitReader<bool>;
#[doc = "Field `S20` writer - S20"]
pub type S20_W<'a, const O: u8> = crate::BitWriter<'a, u32, RAM_COM0_SPEC, bool, O>;
#[doc = "Field `S19` reader - S19"]
pub type S19_R = crate::BitReader<bool>;
#[doc = "Field `S19` writer - S19"]
pub type S19_W<'a, const O: u8> = crate::BitWriter<'a, u32, RAM_COM0_SPEC, bool, O>;
#[doc = "Field `S18` reader - S18"]
pub type S18_R = crate::BitReader<bool>;
#[doc = "Field `S18` writer - S18"]
pub type S18_W<'a, const O: u8> = crate::BitWriter<'a, u32, RAM_COM0_SPEC, bool, O>;
#[doc = "Field `S17` reader - S17"]
pub type S17_R = crate::BitReader<bool>;
#[doc = "Field `S17` writer - S17"]
pub type S17_W<'a, const O: u8> = crate::BitWriter<'a, u32, RAM_COM0_SPEC, bool, O>;
#[doc = "Field `S16` reader - S16"]
pub type S16_R = crate::BitReader<bool>;
#[doc = "Field `S16` writer - S16"]
pub type S16_W<'a, const O: u8> = crate::BitWriter<'a, u32, RAM_COM0_SPEC, bool, O>;
#[doc = "Field `S15` reader - S15"]
pub type S15_R = crate::BitReader<bool>;
#[doc = "Field `S15` writer - S15"]
pub type S15_W<'a, const O: u8> = crate::BitWriter<'a, u32, RAM_COM0_SPEC, bool, O>;
#[doc = "Field `S14` reader - S14"]
pub type S14_R = crate::BitReader<bool>;
#[doc = "Field `S14` writer - S14"]
pub type S14_W<'a, const O: u8> = crate::BitWriter<'a, u32, RAM_COM0_SPEC, bool, O>;
#[doc = "Field `S13` reader - S13"]
pub type S13_R = crate::BitReader<bool>;
#[doc = "Field `S13` writer - S13"]
pub type S13_W<'a, const O: u8> = crate::BitWriter<'a, u32, RAM_COM0_SPEC, bool, O>;
#[doc = "Field `S12` reader - S12"]
pub type S12_R = crate::BitReader<bool>;
#[doc = "Field `S12` writer - S12"]
pub type S12_W<'a, const O: u8> = crate::BitWriter<'a, u32, RAM_COM0_SPEC, bool, O>;
#[doc = "Field `S11` reader - S11"]
pub type S11_R = crate::BitReader<bool>;
#[doc = "Field `S11` writer - S11"]
pub type S11_W<'a, const O: u8> = crate::BitWriter<'a, u32, RAM_COM0_SPEC, bool, O>;
#[doc = "Field `S10` reader - S10"]
pub type S10_R = crate::BitReader<bool>;
#[doc = "Field `S10` writer - S10"]
pub type S10_W<'a, const O: u8> = crate::BitWriter<'a, u32, RAM_COM0_SPEC, bool, O>;
#[doc = "Field `S09` reader - S09"]
pub type S09_R = crate::BitReader<bool>;
#[doc = "Field `S09` writer - S09"]
pub type S09_W<'a, const O: u8> = crate::BitWriter<'a, u32, RAM_COM0_SPEC, bool, O>;
#[doc = "Field `S08` reader - S08"]
pub type S08_R = crate::BitReader<bool>;
#[doc = "Field `S08` writer - S08"]
pub type S08_W<'a, const O: u8> = crate::BitWriter<'a, u32, RAM_COM0_SPEC, bool, O>;
#[doc = "Field `S07` reader - S07"]
pub type S07_R = crate::BitReader<bool>;
#[doc = "Field `S07` writer - S07"]
pub type S07_W<'a, const O: u8> = crate::BitWriter<'a, u32, RAM_COM0_SPEC, bool, O>;
#[doc = "Field `S06` reader - S06"]
pub type S06_R = crate::BitReader<bool>;
#[doc = "Field `S06` writer - S06"]
pub type S06_W<'a, const O: u8> = crate::BitWriter<'a, u32, RAM_COM0_SPEC, bool, O>;
#[doc = "Field `S05` reader - S05"]
pub type S05_R = crate::BitReader<bool>;
#[doc = "Field `S05` writer - S05"]
pub type S05_W<'a, const O: u8> = crate::BitWriter<'a, u32, RAM_COM0_SPEC, bool, O>;
#[doc = "Field `S04` reader - S04"]
pub type S04_R = crate::BitReader<bool>;
#[doc = "Field `S04` writer - S04"]
pub type S04_W<'a, const O: u8> = crate::BitWriter<'a, u32, RAM_COM0_SPEC, bool, O>;
#[doc = "Field `S03` reader - S03"]
pub type S03_R = crate::BitReader<bool>;
#[doc = "Field `S03` writer - S03"]
pub type S03_W<'a, const O: u8> = crate::BitWriter<'a, u32, RAM_COM0_SPEC, bool, O>;
#[doc = "Field `S02` reader - S02"]
pub type S02_R = crate::BitReader<bool>;
#[doc = "Field `S02` writer - S02"]
pub type S02_W<'a, const O: u8> = crate::BitWriter<'a, u32, RAM_COM0_SPEC, bool, O>;
#[doc = "Field `S01` reader - S01"]
pub type S01_R = crate::BitReader<bool>;
#[doc = "Field `S01` writer - S01"]
pub type S01_W<'a, const O: u8> = crate::BitWriter<'a, u32, RAM_COM0_SPEC, bool, O>;
#[doc = "Field `S00` reader - S00"]
pub type S00_R = crate::BitReader<bool>;
#[doc = "Field `S00` writer - S00"]
pub type S00_W<'a, const O: u8> = crate::BitWriter<'a, u32, RAM_COM0_SPEC, bool, O>;
impl R {
    #[doc = "Bit 30 - S30"]
    #[inline(always)]
    pub fn s30(&self) -> S30_R {
        S30_R::new(((self.bits >> 30) & 1) != 0)
    }
    #[doc = "Bit 29 - S29"]
    #[inline(always)]
    pub fn s29(&self) -> S29_R {
        S29_R::new(((self.bits >> 29) & 1) != 0)
    }
    #[doc = "Bit 28 - S28"]
    #[inline(always)]
    pub fn s28(&self) -> S28_R {
        S28_R::new(((self.bits >> 28) & 1) != 0)
    }
    #[doc = "Bit 27 - S27"]
    #[inline(always)]
    pub fn s27(&self) -> S27_R {
        S27_R::new(((self.bits >> 27) & 1) != 0)
    }
    #[doc = "Bit 26 - S26"]
    #[inline(always)]
    pub fn s26(&self) -> S26_R {
        S26_R::new(((self.bits >> 26) & 1) != 0)
    }
    #[doc = "Bit 25 - S25"]
    #[inline(always)]
    pub fn s25(&self) -> S25_R {
        S25_R::new(((self.bits >> 25) & 1) != 0)
    }
    #[doc = "Bit 24 - S24"]
    #[inline(always)]
    pub fn s24(&self) -> S24_R {
        S24_R::new(((self.bits >> 24) & 1) != 0)
    }
    #[doc = "Bit 23 - S23"]
    #[inline(always)]
    pub fn s23(&self) -> S23_R {
        S23_R::new(((self.bits >> 23) & 1) != 0)
    }
    #[doc = "Bit 22 - S22"]
    #[inline(always)]
    pub fn s22(&self) -> S22_R {
        S22_R::new(((self.bits >> 22) & 1) != 0)
    }
    #[doc = "Bit 21 - S21"]
    #[inline(always)]
    pub fn s21(&self) -> S21_R {
        S21_R::new(((self.bits >> 21) & 1) != 0)
    }
    #[doc = "Bit 20 - S20"]
    #[inline(always)]
    pub fn s20(&self) -> S20_R {
        S20_R::new(((self.bits >> 20) & 1) != 0)
    }
    #[doc = "Bit 19 - S19"]
    #[inline(always)]
    pub fn s19(&self) -> S19_R {
        S19_R::new(((self.bits >> 19) & 1) != 0)
    }
    #[doc = "Bit 18 - S18"]
    #[inline(always)]
    pub fn s18(&self) -> S18_R {
        S18_R::new(((self.bits >> 18) & 1) != 0)
    }
    #[doc = "Bit 17 - S17"]
    #[inline(always)]
    pub fn s17(&self) -> S17_R {
        S17_R::new(((self.bits >> 17) & 1) != 0)
    }
    #[doc = "Bit 16 - S16"]
    #[inline(always)]
    pub fn s16(&self) -> S16_R {
        S16_R::new(((self.bits >> 16) & 1) != 0)
    }
    #[doc = "Bit 15 - S15"]
    #[inline(always)]
    pub fn s15(&self) -> S15_R {
        S15_R::new(((self.bits >> 15) & 1) != 0)
    }
    #[doc = "Bit 14 - S14"]
    #[inline(always)]
    pub fn s14(&self) -> S14_R {
        S14_R::new(((self.bits >> 14) & 1) != 0)
    }
    #[doc = "Bit 13 - S13"]
    #[inline(always)]
    pub fn s13(&self) -> S13_R {
        S13_R::new(((self.bits >> 13) & 1) != 0)
    }
    #[doc = "Bit 12 - S12"]
    #[inline(always)]
    pub fn s12(&self) -> S12_R {
        S12_R::new(((self.bits >> 12) & 1) != 0)
    }
    #[doc = "Bit 11 - S11"]
    #[inline(always)]
    pub fn s11(&self) -> S11_R {
        S11_R::new(((self.bits >> 11) & 1) != 0)
    }
    #[doc = "Bit 10 - S10"]
    #[inline(always)]
    pub fn s10(&self) -> S10_R {
        S10_R::new(((self.bits >> 10) & 1) != 0)
    }
    #[doc = "Bit 9 - S09"]
    #[inline(always)]
    pub fn s09(&self) -> S09_R {
        S09_R::new(((self.bits >> 9) & 1) != 0)
    }
    #[doc = "Bit 8 - S08"]
    #[inline(always)]
    pub fn s08(&self) -> S08_R {
        S08_R::new(((self.bits >> 8) & 1) != 0)
    }
    #[doc = "Bit 7 - S07"]
    #[inline(always)]
    pub fn s07(&self) -> S07_R {
        S07_R::new(((self.bits >> 7) & 1) != 0)
    }
    #[doc = "Bit 6 - S06"]
    #[inline(always)]
    pub fn s06(&self) -> S06_R {
        S06_R::new(((self.bits >> 6) & 1) != 0)
    }
    #[doc = "Bit 5 - S05"]
    #[inline(always)]
    pub fn s05(&self) -> S05_R {
        S05_R::new(((self.bits >> 5) & 1) != 0)
    }
    #[doc = "Bit 4 - S04"]
    #[inline(always)]
    pub fn s04(&self) -> S04_R {
        S04_R::new(((self.bits >> 4) & 1) != 0)
    }
    #[doc = "Bit 3 - S03"]
    #[inline(always)]
    pub fn s03(&self) -> S03_R {
        S03_R::new(((self.bits >> 3) & 1) != 0)
    }
    #[doc = "Bit 2 - S02"]
    #[inline(always)]
    pub fn s02(&self) -> S02_R {
        S02_R::new(((self.bits >> 2) & 1) != 0)
    }
    #[doc = "Bit 1 - S01"]
    #[inline(always)]
    pub fn s01(&self) -> S01_R {
        S01_R::new(((self.bits >> 1) & 1) != 0)
    }
    #[doc = "Bit 0 - S00"]
    #[inline(always)]
    pub fn s00(&self) -> S00_R {
        S00_R::new((self.bits & 1) != 0)
    }
}
impl W {
    #[doc = "Bit 30 - S30"]
    #[inline(always)]
    pub fn s30(&mut self) -> S30_W<30> {
        S30_W::new(self)
    }
    #[doc = "Bit 29 - S29"]
    #[inline(always)]
    pub fn s29(&mut self) -> S29_W<29> {
        S29_W::new(self)
    }
    #[doc = "Bit 28 - S28"]
    #[inline(always)]
    pub fn s28(&mut self) -> S28_W<28> {
        S28_W::new(self)
    }
    #[doc = "Bit 27 - S27"]
    #[inline(always)]
    pub fn s27(&mut self) -> S27_W<27> {
        S27_W::new(self)
    }
    #[doc = "Bit 26 - S26"]
    #[inline(always)]
    pub fn s26(&mut self) -> S26_W<26> {
        S26_W::new(self)
    }
    #[doc = "Bit 25 - S25"]
    #[inline(always)]
    pub fn s25(&mut self) -> S25_W<25> {
        S25_W::new(self)
    }
    #[doc = "Bit 24 - S24"]
    #[inline(always)]
    pub fn s24(&mut self) -> S24_W<24> {
        S24_W::new(self)
    }
    #[doc = "Bit 23 - S23"]
    #[inline(always)]
    pub fn s23(&mut self) -> S23_W<23> {
        S23_W::new(self)
    }
    #[doc = "Bit 22 - S22"]
    #[inline(always)]
    pub fn s22(&mut self) -> S22_W<22> {
        S22_W::new(self)
    }
    #[doc = "Bit 21 - S21"]
    #[inline(always)]
    pub fn s21(&mut self) -> S21_W<21> {
        S21_W::new(self)
    }
    #[doc = "Bit 20 - S20"]
    #[inline(always)]
    pub fn s20(&mut self) -> S20_W<20> {
        S20_W::new(self)
    }
    #[doc = "Bit 19 - S19"]
    #[inline(always)]
    pub fn s19(&mut self) -> S19_W<19> {
        S19_W::new(self)
    }
    #[doc = "Bit 18 - S18"]
    #[inline(always)]
    pub fn s18(&mut self) -> S18_W<18> {
        S18_W::new(self)
    }
    #[doc = "Bit 17 - S17"]
    #[inline(always)]
    pub fn s17(&mut self) -> S17_W<17> {
        S17_W::new(self)
    }
    #[doc = "Bit 16 - S16"]
    #[inline(always)]
    pub fn s16(&mut self) -> S16_W<16> {
        S16_W::new(self)
    }
    #[doc = "Bit 15 - S15"]
    #[inline(always)]
    pub fn s15(&mut self) -> S15_W<15> {
        S15_W::new(self)
    }
    #[doc = "Bit 14 - S14"]
    #[inline(always)]
    pub fn s14(&mut self) -> S14_W<14> {
        S14_W::new(self)
    }
    #[doc = "Bit 13 - S13"]
    #[inline(always)]
    pub fn s13(&mut self) -> S13_W<13> {
        S13_W::new(self)
    }
    #[doc = "Bit 12 - S12"]
    #[inline(always)]
    pub fn s12(&mut self) -> S12_W<12> {
        S12_W::new(self)
    }
    #[doc = "Bit 11 - S11"]
    #[inline(always)]
    pub fn s11(&mut self) -> S11_W<11> {
        S11_W::new(self)
    }
    #[doc = "Bit 10 - S10"]
    #[inline(always)]
    pub fn s10(&mut self) -> S10_W<10> {
        S10_W::new(self)
    }
    #[doc = "Bit 9 - S09"]
    #[inline(always)]
    pub fn s09(&mut self) -> S09_W<9> {
        S09_W::new(self)
    }
    #[doc = "Bit 8 - S08"]
    #[inline(always)]
    pub fn s08(&mut self) -> S08_W<8> {
        S08_W::new(self)
    }
    #[doc = "Bit 7 - S07"]
    #[inline(always)]
    pub fn s07(&mut self) -> S07_W<7> {
        S07_W::new(self)
    }
    #[doc = "Bit 6 - S06"]
    #[inline(always)]
    pub fn s06(&mut self) -> S06_W<6> {
        S06_W::new(self)
    }
    #[doc = "Bit 5 - S05"]
    #[inline(always)]
    pub fn s05(&mut self) -> S05_W<5> {
        S05_W::new(self)
    }
    #[doc = "Bit 4 - S04"]
    #[inline(always)]
    pub fn s04(&mut self) -> S04_W<4> {
        S04_W::new(self)
    }
    #[doc = "Bit 3 - S03"]
    #[inline(always)]
    pub fn s03(&mut self) -> S03_W<3> {
        S03_W::new(self)
    }
    #[doc = "Bit 2 - S02"]
    #[inline(always)]
    pub fn s02(&mut self) -> S02_W<2> {
        S02_W::new(self)
    }
    #[doc = "Bit 1 - S01"]
    #[inline(always)]
    pub fn s01(&mut self) -> S01_W<1> {
        S01_W::new(self)
    }
    #[doc = "Bit 0 - S00"]
    #[inline(always)]
    pub fn s00(&mut self) -> S00_W<0> {
        S00_W::new(self)
    }
    #[doc = "Writes raw bits to the register."]
    #[inline(always)]
    pub unsafe fn bits(&mut self, bits: u32) -> &mut Self {
        self.0.bits(bits);
        self
    }
}
#[doc = "display memory\n\nThis register you can [`read`](crate::generic::Reg::read), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [ram_com0](index.html) module"]
pub struct RAM_COM0_SPEC;
impl crate::RegisterSpec for RAM_COM0_SPEC {
    type Ux = u32;
}
#[doc = "`read()` method returns [ram_com0::R](R) reader structure"]
impl crate::Readable for RAM_COM0_SPEC {
    type Reader = R;
}
#[doc = "`write(|w| ..)` method takes [ram_com0::W](W) writer structure"]
impl crate::Writable for RAM_COM0_SPEC {
    type Writer = W;
}
#[doc = "`reset()` method sets RAM_COM0 to value 0"]
impl crate::Resettable for RAM_COM0_SPEC {
    #[inline(always)]
    fn reset_value() -> Self::Ux {
        0
    }
}