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
501
502
503
504
505
506
507
508
#[doc = "Register `SLPWK_SR0` reader"]
pub struct R(crate::R<SLPWK_SR0_SPEC>);
impl core::ops::Deref for R {
    type Target = crate::R<SLPWK_SR0_SPEC>;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        &self.0
    }
}
impl From<crate::R<SLPWK_SR0_SPEC>> for R {
    #[inline(always)]
    fn from(reader: crate::R<SLPWK_SR0_SPEC>) -> Self {
        R(reader)
    }
}
#[doc = "Field `PID7` reader - Peripheral 7 SleepWalking Status"]
pub struct PID7_R(crate::FieldReader<bool, bool>);
impl PID7_R {
    pub(crate) fn new(bits: bool) -> Self {
        PID7_R(crate::FieldReader::new(bits))
    }
}
impl core::ops::Deref for PID7_R {
    type Target = crate::FieldReader<bool, bool>;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        &self.0
    }
}
#[doc = "Field `PID8` reader - Peripheral 8 SleepWalking Status"]
pub struct PID8_R(crate::FieldReader<bool, bool>);
impl PID8_R {
    pub(crate) fn new(bits: bool) -> Self {
        PID8_R(crate::FieldReader::new(bits))
    }
}
impl core::ops::Deref for PID8_R {
    type Target = crate::FieldReader<bool, bool>;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        &self.0
    }
}
#[doc = "Field `PID9` reader - Peripheral 9 SleepWalking Status"]
pub struct PID9_R(crate::FieldReader<bool, bool>);
impl PID9_R {
    pub(crate) fn new(bits: bool) -> Self {
        PID9_R(crate::FieldReader::new(bits))
    }
}
impl core::ops::Deref for PID9_R {
    type Target = crate::FieldReader<bool, bool>;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        &self.0
    }
}
#[doc = "Field `PID10` reader - Peripheral 10 SleepWalking Status"]
pub struct PID10_R(crate::FieldReader<bool, bool>);
impl PID10_R {
    pub(crate) fn new(bits: bool) -> Self {
        PID10_R(crate::FieldReader::new(bits))
    }
}
impl core::ops::Deref for PID10_R {
    type Target = crate::FieldReader<bool, bool>;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        &self.0
    }
}
#[doc = "Field `PID11` reader - Peripheral 11 SleepWalking Status"]
pub struct PID11_R(crate::FieldReader<bool, bool>);
impl PID11_R {
    pub(crate) fn new(bits: bool) -> Self {
        PID11_R(crate::FieldReader::new(bits))
    }
}
impl core::ops::Deref for PID11_R {
    type Target = crate::FieldReader<bool, bool>;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        &self.0
    }
}
#[doc = "Field `PID12` reader - Peripheral 12 SleepWalking Status"]
pub struct PID12_R(crate::FieldReader<bool, bool>);
impl PID12_R {
    pub(crate) fn new(bits: bool) -> Self {
        PID12_R(crate::FieldReader::new(bits))
    }
}
impl core::ops::Deref for PID12_R {
    type Target = crate::FieldReader<bool, bool>;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        &self.0
    }
}
#[doc = "Field `PID13` reader - Peripheral 13 SleepWalking Status"]
pub struct PID13_R(crate::FieldReader<bool, bool>);
impl PID13_R {
    pub(crate) fn new(bits: bool) -> Self {
        PID13_R(crate::FieldReader::new(bits))
    }
}
impl core::ops::Deref for PID13_R {
    type Target = crate::FieldReader<bool, bool>;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        &self.0
    }
}
#[doc = "Field `PID14` reader - Peripheral 14 SleepWalking Status"]
pub struct PID14_R(crate::FieldReader<bool, bool>);
impl PID14_R {
    pub(crate) fn new(bits: bool) -> Self {
        PID14_R(crate::FieldReader::new(bits))
    }
}
impl core::ops::Deref for PID14_R {
    type Target = crate::FieldReader<bool, bool>;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        &self.0
    }
}
#[doc = "Field `PID15` reader - Peripheral 15 SleepWalking Status"]
pub struct PID15_R(crate::FieldReader<bool, bool>);
impl PID15_R {
    pub(crate) fn new(bits: bool) -> Self {
        PID15_R(crate::FieldReader::new(bits))
    }
}
impl core::ops::Deref for PID15_R {
    type Target = crate::FieldReader<bool, bool>;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        &self.0
    }
}
#[doc = "Field `PID16` reader - Peripheral 16 SleepWalking Status"]
pub struct PID16_R(crate::FieldReader<bool, bool>);
impl PID16_R {
    pub(crate) fn new(bits: bool) -> Self {
        PID16_R(crate::FieldReader::new(bits))
    }
}
impl core::ops::Deref for PID16_R {
    type Target = crate::FieldReader<bool, bool>;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        &self.0
    }
}
#[doc = "Field `PID17` reader - Peripheral 17 SleepWalking Status"]
pub struct PID17_R(crate::FieldReader<bool, bool>);
impl PID17_R {
    pub(crate) fn new(bits: bool) -> Self {
        PID17_R(crate::FieldReader::new(bits))
    }
}
impl core::ops::Deref for PID17_R {
    type Target = crate::FieldReader<bool, bool>;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        &self.0
    }
}
#[doc = "Field `PID18` reader - Peripheral 18 SleepWalking Status"]
pub struct PID18_R(crate::FieldReader<bool, bool>);
impl PID18_R {
    pub(crate) fn new(bits: bool) -> Self {
        PID18_R(crate::FieldReader::new(bits))
    }
}
impl core::ops::Deref for PID18_R {
    type Target = crate::FieldReader<bool, bool>;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        &self.0
    }
}
#[doc = "Field `PID19` reader - Peripheral 19 SleepWalking Status"]
pub struct PID19_R(crate::FieldReader<bool, bool>);
impl PID19_R {
    pub(crate) fn new(bits: bool) -> Self {
        PID19_R(crate::FieldReader::new(bits))
    }
}
impl core::ops::Deref for PID19_R {
    type Target = crate::FieldReader<bool, bool>;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        &self.0
    }
}
#[doc = "Field `PID20` reader - Peripheral 20 SleepWalking Status"]
pub struct PID20_R(crate::FieldReader<bool, bool>);
impl PID20_R {
    pub(crate) fn new(bits: bool) -> Self {
        PID20_R(crate::FieldReader::new(bits))
    }
}
impl core::ops::Deref for PID20_R {
    type Target = crate::FieldReader<bool, bool>;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        &self.0
    }
}
#[doc = "Field `PID21` reader - Peripheral 21 SleepWalking Status"]
pub struct PID21_R(crate::FieldReader<bool, bool>);
impl PID21_R {
    pub(crate) fn new(bits: bool) -> Self {
        PID21_R(crate::FieldReader::new(bits))
    }
}
impl core::ops::Deref for PID21_R {
    type Target = crate::FieldReader<bool, bool>;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        &self.0
    }
}
#[doc = "Field `PID22` reader - Peripheral 22 SleepWalking Status"]
pub struct PID22_R(crate::FieldReader<bool, bool>);
impl PID22_R {
    pub(crate) fn new(bits: bool) -> Self {
        PID22_R(crate::FieldReader::new(bits))
    }
}
impl core::ops::Deref for PID22_R {
    type Target = crate::FieldReader<bool, bool>;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        &self.0
    }
}
#[doc = "Field `PID23` reader - Peripheral 23 SleepWalking Status"]
pub struct PID23_R(crate::FieldReader<bool, bool>);
impl PID23_R {
    pub(crate) fn new(bits: bool) -> Self {
        PID23_R(crate::FieldReader::new(bits))
    }
}
impl core::ops::Deref for PID23_R {
    type Target = crate::FieldReader<bool, bool>;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        &self.0
    }
}
#[doc = "Field `PID24` reader - Peripheral 24 SleepWalking Status"]
pub struct PID24_R(crate::FieldReader<bool, bool>);
impl PID24_R {
    pub(crate) fn new(bits: bool) -> Self {
        PID24_R(crate::FieldReader::new(bits))
    }
}
impl core::ops::Deref for PID24_R {
    type Target = crate::FieldReader<bool, bool>;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        &self.0
    }
}
#[doc = "Field `PID25` reader - Peripheral 25 SleepWalking Status"]
pub struct PID25_R(crate::FieldReader<bool, bool>);
impl PID25_R {
    pub(crate) fn new(bits: bool) -> Self {
        PID25_R(crate::FieldReader::new(bits))
    }
}
impl core::ops::Deref for PID25_R {
    type Target = crate::FieldReader<bool, bool>;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        &self.0
    }
}
#[doc = "Field `PID26` reader - Peripheral 26 SleepWalking Status"]
pub struct PID26_R(crate::FieldReader<bool, bool>);
impl PID26_R {
    pub(crate) fn new(bits: bool) -> Self {
        PID26_R(crate::FieldReader::new(bits))
    }
}
impl core::ops::Deref for PID26_R {
    type Target = crate::FieldReader<bool, bool>;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        &self.0
    }
}
#[doc = "Field `PID27` reader - Peripheral 27 SleepWalking Status"]
pub struct PID27_R(crate::FieldReader<bool, bool>);
impl PID27_R {
    pub(crate) fn new(bits: bool) -> Self {
        PID27_R(crate::FieldReader::new(bits))
    }
}
impl core::ops::Deref for PID27_R {
    type Target = crate::FieldReader<bool, bool>;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        &self.0
    }
}
#[doc = "Field `PID28` reader - Peripheral 28 SleepWalking Status"]
pub struct PID28_R(crate::FieldReader<bool, bool>);
impl PID28_R {
    pub(crate) fn new(bits: bool) -> Self {
        PID28_R(crate::FieldReader::new(bits))
    }
}
impl core::ops::Deref for PID28_R {
    type Target = crate::FieldReader<bool, bool>;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        &self.0
    }
}
#[doc = "Field `PID29` reader - Peripheral 29 SleepWalking Status"]
pub struct PID29_R(crate::FieldReader<bool, bool>);
impl PID29_R {
    pub(crate) fn new(bits: bool) -> Self {
        PID29_R(crate::FieldReader::new(bits))
    }
}
impl core::ops::Deref for PID29_R {
    type Target = crate::FieldReader<bool, bool>;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        &self.0
    }
}
#[doc = "Field `PID30` reader - Peripheral 30 SleepWalking Status"]
pub struct PID30_R(crate::FieldReader<bool, bool>);
impl PID30_R {
    pub(crate) fn new(bits: bool) -> Self {
        PID30_R(crate::FieldReader::new(bits))
    }
}
impl core::ops::Deref for PID30_R {
    type Target = crate::FieldReader<bool, bool>;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        &self.0
    }
}
#[doc = "Field `PID31` reader - Peripheral 31 SleepWalking Status"]
pub struct PID31_R(crate::FieldReader<bool, bool>);
impl PID31_R {
    pub(crate) fn new(bits: bool) -> Self {
        PID31_R(crate::FieldReader::new(bits))
    }
}
impl core::ops::Deref for PID31_R {
    type Target = crate::FieldReader<bool, bool>;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        &self.0
    }
}
impl R {
    #[doc = "Bit 7 - Peripheral 7 SleepWalking Status"]
    #[inline(always)]
    pub fn pid7(&self) -> PID7_R {
        PID7_R::new(((self.bits >> 7) & 0x01) != 0)
    }
    #[doc = "Bit 8 - Peripheral 8 SleepWalking Status"]
    #[inline(always)]
    pub fn pid8(&self) -> PID8_R {
        PID8_R::new(((self.bits >> 8) & 0x01) != 0)
    }
    #[doc = "Bit 9 - Peripheral 9 SleepWalking Status"]
    #[inline(always)]
    pub fn pid9(&self) -> PID9_R {
        PID9_R::new(((self.bits >> 9) & 0x01) != 0)
    }
    #[doc = "Bit 10 - Peripheral 10 SleepWalking Status"]
    #[inline(always)]
    pub fn pid10(&self) -> PID10_R {
        PID10_R::new(((self.bits >> 10) & 0x01) != 0)
    }
    #[doc = "Bit 11 - Peripheral 11 SleepWalking Status"]
    #[inline(always)]
    pub fn pid11(&self) -> PID11_R {
        PID11_R::new(((self.bits >> 11) & 0x01) != 0)
    }
    #[doc = "Bit 12 - Peripheral 12 SleepWalking Status"]
    #[inline(always)]
    pub fn pid12(&self) -> PID12_R {
        PID12_R::new(((self.bits >> 12) & 0x01) != 0)
    }
    #[doc = "Bit 13 - Peripheral 13 SleepWalking Status"]
    #[inline(always)]
    pub fn pid13(&self) -> PID13_R {
        PID13_R::new(((self.bits >> 13) & 0x01) != 0)
    }
    #[doc = "Bit 14 - Peripheral 14 SleepWalking Status"]
    #[inline(always)]
    pub fn pid14(&self) -> PID14_R {
        PID14_R::new(((self.bits >> 14) & 0x01) != 0)
    }
    #[doc = "Bit 15 - Peripheral 15 SleepWalking Status"]
    #[inline(always)]
    pub fn pid15(&self) -> PID15_R {
        PID15_R::new(((self.bits >> 15) & 0x01) != 0)
    }
    #[doc = "Bit 16 - Peripheral 16 SleepWalking Status"]
    #[inline(always)]
    pub fn pid16(&self) -> PID16_R {
        PID16_R::new(((self.bits >> 16) & 0x01) != 0)
    }
    #[doc = "Bit 17 - Peripheral 17 SleepWalking Status"]
    #[inline(always)]
    pub fn pid17(&self) -> PID17_R {
        PID17_R::new(((self.bits >> 17) & 0x01) != 0)
    }
    #[doc = "Bit 18 - Peripheral 18 SleepWalking Status"]
    #[inline(always)]
    pub fn pid18(&self) -> PID18_R {
        PID18_R::new(((self.bits >> 18) & 0x01) != 0)
    }
    #[doc = "Bit 19 - Peripheral 19 SleepWalking Status"]
    #[inline(always)]
    pub fn pid19(&self) -> PID19_R {
        PID19_R::new(((self.bits >> 19) & 0x01) != 0)
    }
    #[doc = "Bit 20 - Peripheral 20 SleepWalking Status"]
    #[inline(always)]
    pub fn pid20(&self) -> PID20_R {
        PID20_R::new(((self.bits >> 20) & 0x01) != 0)
    }
    #[doc = "Bit 21 - Peripheral 21 SleepWalking Status"]
    #[inline(always)]
    pub fn pid21(&self) -> PID21_R {
        PID21_R::new(((self.bits >> 21) & 0x01) != 0)
    }
    #[doc = "Bit 22 - Peripheral 22 SleepWalking Status"]
    #[inline(always)]
    pub fn pid22(&self) -> PID22_R {
        PID22_R::new(((self.bits >> 22) & 0x01) != 0)
    }
    #[doc = "Bit 23 - Peripheral 23 SleepWalking Status"]
    #[inline(always)]
    pub fn pid23(&self) -> PID23_R {
        PID23_R::new(((self.bits >> 23) & 0x01) != 0)
    }
    #[doc = "Bit 24 - Peripheral 24 SleepWalking Status"]
    #[inline(always)]
    pub fn pid24(&self) -> PID24_R {
        PID24_R::new(((self.bits >> 24) & 0x01) != 0)
    }
    #[doc = "Bit 25 - Peripheral 25 SleepWalking Status"]
    #[inline(always)]
    pub fn pid25(&self) -> PID25_R {
        PID25_R::new(((self.bits >> 25) & 0x01) != 0)
    }
    #[doc = "Bit 26 - Peripheral 26 SleepWalking Status"]
    #[inline(always)]
    pub fn pid26(&self) -> PID26_R {
        PID26_R::new(((self.bits >> 26) & 0x01) != 0)
    }
    #[doc = "Bit 27 - Peripheral 27 SleepWalking Status"]
    #[inline(always)]
    pub fn pid27(&self) -> PID27_R {
        PID27_R::new(((self.bits >> 27) & 0x01) != 0)
    }
    #[doc = "Bit 28 - Peripheral 28 SleepWalking Status"]
    #[inline(always)]
    pub fn pid28(&self) -> PID28_R {
        PID28_R::new(((self.bits >> 28) & 0x01) != 0)
    }
    #[doc = "Bit 29 - Peripheral 29 SleepWalking Status"]
    #[inline(always)]
    pub fn pid29(&self) -> PID29_R {
        PID29_R::new(((self.bits >> 29) & 0x01) != 0)
    }
    #[doc = "Bit 30 - Peripheral 30 SleepWalking Status"]
    #[inline(always)]
    pub fn pid30(&self) -> PID30_R {
        PID30_R::new(((self.bits >> 30) & 0x01) != 0)
    }
    #[doc = "Bit 31 - Peripheral 31 SleepWalking Status"]
    #[inline(always)]
    pub fn pid31(&self) -> PID31_R {
        PID31_R::new(((self.bits >> 31) & 0x01) != 0)
    }
}
#[doc = "SleepWalking Status Register 0\n\nThis register you can [`read`](crate::generic::Reg::read). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [slpwk_sr0](index.html) module"]
pub struct SLPWK_SR0_SPEC;
impl crate::RegisterSpec for SLPWK_SR0_SPEC {
    type Ux = u32;
}
#[doc = "`read()` method returns [slpwk_sr0::R](R) reader structure"]
impl crate::Readable for SLPWK_SR0_SPEC {
    type Reader = R;
}
#[doc = "`reset()` method sets SLPWK_SR0 to value 0"]
impl crate::Resettable for SLPWK_SR0_SPEC {
    #[inline(always)]
    fn reset_value() -> Self::Ux {
        0
    }
}