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
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
#[doc = "Reader of register SYS_CTRL"]
pub type R = crate::R<u32, super::SYS_CTRL>;
#[doc = "Writer for register SYS_CTRL"]
pub type W = crate::W<u32, super::SYS_CTRL>;
#[doc = "Register SYS_CTRL `reset()`'s with value 0x0080_800f"]
impl crate::ResetValue for super::SYS_CTRL {
    type Type = u32;
    #[inline(always)]
    fn reset_value() -> Self::Type {
        0x0080_800f
    }
}
#[doc = "Divisor\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq)]
#[repr(u8)]
pub enum DVS_A {
    #[doc = "0: Divide-by-1"]
    DVS_0 = 0,
    #[doc = "1: Divide-by-2"]
    DVS_1 = 1,
    #[doc = "14: Divide-by-15"]
    DVS_14 = 14,
    #[doc = "15: Divide-by-16"]
    DVS_15 = 15,
}
impl From<DVS_A> for u8 {
    #[inline(always)]
    fn from(variant: DVS_A) -> Self {
        variant as _
    }
}
#[doc = "Reader of field `DVS`"]
pub type DVS_R = crate::R<u8, DVS_A>;
impl DVS_R {
    #[doc = r"Get enumerated values variant"]
    #[inline(always)]
    pub fn variant(&self) -> crate::Variant<u8, DVS_A> {
        use crate::Variant::*;
        match self.bits {
            0 => Val(DVS_A::DVS_0),
            1 => Val(DVS_A::DVS_1),
            14 => Val(DVS_A::DVS_14),
            15 => Val(DVS_A::DVS_15),
            i => Res(i),
        }
    }
    #[doc = "Checks if the value of the field is `DVS_0`"]
    #[inline(always)]
    pub fn is_dvs_0(&self) -> bool {
        *self == DVS_A::DVS_0
    }
    #[doc = "Checks if the value of the field is `DVS_1`"]
    #[inline(always)]
    pub fn is_dvs_1(&self) -> bool {
        *self == DVS_A::DVS_1
    }
    #[doc = "Checks if the value of the field is `DVS_14`"]
    #[inline(always)]
    pub fn is_dvs_14(&self) -> bool {
        *self == DVS_A::DVS_14
    }
    #[doc = "Checks if the value of the field is `DVS_15`"]
    #[inline(always)]
    pub fn is_dvs_15(&self) -> bool {
        *self == DVS_A::DVS_15
    }
}
#[doc = "Write proxy for field `DVS`"]
pub struct DVS_W<'a> {
    w: &'a mut W,
}
impl<'a> DVS_W<'a> {
    #[doc = r"Writes `variant` to the field"]
    #[inline(always)]
    pub fn variant(self, variant: DVS_A) -> &'a mut W {
        unsafe { self.bits(variant.into()) }
    }
    #[doc = "Divide-by-1"]
    #[inline(always)]
    pub fn dvs_0(self) -> &'a mut W {
        self.variant(DVS_A::DVS_0)
    }
    #[doc = "Divide-by-2"]
    #[inline(always)]
    pub fn dvs_1(self) -> &'a mut W {
        self.variant(DVS_A::DVS_1)
    }
    #[doc = "Divide-by-15"]
    #[inline(always)]
    pub fn dvs_14(self) -> &'a mut W {
        self.variant(DVS_A::DVS_14)
    }
    #[doc = "Divide-by-16"]
    #[inline(always)]
    pub fn dvs_15(self) -> &'a mut W {
        self.variant(DVS_A::DVS_15)
    }
    #[doc = r"Writes raw bits to the field"]
    #[inline(always)]
    pub unsafe fn bits(self, value: u8) -> &'a mut W {
        self.w.bits = (self.w.bits & !(0x0f << 4)) | (((value as u32) & 0x0f) << 4);
        self.w
    }
}
#[doc = "Reader of field `SDCLKFS`"]
pub type SDCLKFS_R = crate::R<u8, u8>;
#[doc = "Write proxy for field `SDCLKFS`"]
pub struct SDCLKFS_W<'a> {
    w: &'a mut W,
}
impl<'a> SDCLKFS_W<'a> {
    #[doc = r"Writes raw bits to the field"]
    #[inline(always)]
    pub unsafe fn bits(self, value: u8) -> &'a mut W {
        self.w.bits = (self.w.bits & !(0xff << 8)) | (((value as u32) & 0xff) << 8);
        self.w
    }
}
#[doc = "Data Timeout Counter Value\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq)]
#[repr(u8)]
pub enum DTOCV_A {
    #[doc = "0: SDCLK x 2 14"]
    DTOCV_0 = 0,
    #[doc = "1: SDCLK x 2 15"]
    DTOCV_1 = 1,
    #[doc = "13: SDCLK x 2 27"]
    DTOCV_13 = 13,
    #[doc = "14: SDCLK x 2 28"]
    DTOCV_14 = 14,
    #[doc = "15: SDCLK x 2 29"]
    DTOCV_15 = 15,
}
impl From<DTOCV_A> for u8 {
    #[inline(always)]
    fn from(variant: DTOCV_A) -> Self {
        variant as _
    }
}
#[doc = "Reader of field `DTOCV`"]
pub type DTOCV_R = crate::R<u8, DTOCV_A>;
impl DTOCV_R {
    #[doc = r"Get enumerated values variant"]
    #[inline(always)]
    pub fn variant(&self) -> crate::Variant<u8, DTOCV_A> {
        use crate::Variant::*;
        match self.bits {
            0 => Val(DTOCV_A::DTOCV_0),
            1 => Val(DTOCV_A::DTOCV_1),
            13 => Val(DTOCV_A::DTOCV_13),
            14 => Val(DTOCV_A::DTOCV_14),
            15 => Val(DTOCV_A::DTOCV_15),
            i => Res(i),
        }
    }
    #[doc = "Checks if the value of the field is `DTOCV_0`"]
    #[inline(always)]
    pub fn is_dtocv_0(&self) -> bool {
        *self == DTOCV_A::DTOCV_0
    }
    #[doc = "Checks if the value of the field is `DTOCV_1`"]
    #[inline(always)]
    pub fn is_dtocv_1(&self) -> bool {
        *self == DTOCV_A::DTOCV_1
    }
    #[doc = "Checks if the value of the field is `DTOCV_13`"]
    #[inline(always)]
    pub fn is_dtocv_13(&self) -> bool {
        *self == DTOCV_A::DTOCV_13
    }
    #[doc = "Checks if the value of the field is `DTOCV_14`"]
    #[inline(always)]
    pub fn is_dtocv_14(&self) -> bool {
        *self == DTOCV_A::DTOCV_14
    }
    #[doc = "Checks if the value of the field is `DTOCV_15`"]
    #[inline(always)]
    pub fn is_dtocv_15(&self) -> bool {
        *self == DTOCV_A::DTOCV_15
    }
}
#[doc = "Write proxy for field `DTOCV`"]
pub struct DTOCV_W<'a> {
    w: &'a mut W,
}
impl<'a> DTOCV_W<'a> {
    #[doc = r"Writes `variant` to the field"]
    #[inline(always)]
    pub fn variant(self, variant: DTOCV_A) -> &'a mut W {
        unsafe { self.bits(variant.into()) }
    }
    #[doc = "SDCLK x 2 14"]
    #[inline(always)]
    pub fn dtocv_0(self) -> &'a mut W {
        self.variant(DTOCV_A::DTOCV_0)
    }
    #[doc = "SDCLK x 2 15"]
    #[inline(always)]
    pub fn dtocv_1(self) -> &'a mut W {
        self.variant(DTOCV_A::DTOCV_1)
    }
    #[doc = "SDCLK x 2 27"]
    #[inline(always)]
    pub fn dtocv_13(self) -> &'a mut W {
        self.variant(DTOCV_A::DTOCV_13)
    }
    #[doc = "SDCLK x 2 28"]
    #[inline(always)]
    pub fn dtocv_14(self) -> &'a mut W {
        self.variant(DTOCV_A::DTOCV_14)
    }
    #[doc = "SDCLK x 2 29"]
    #[inline(always)]
    pub fn dtocv_15(self) -> &'a mut W {
        self.variant(DTOCV_A::DTOCV_15)
    }
    #[doc = r"Writes raw bits to the field"]
    #[inline(always)]
    pub unsafe fn bits(self, value: u8) -> &'a mut W {
        self.w.bits = (self.w.bits & !(0x0f << 16)) | (((value as u32) & 0x0f) << 16);
        self.w
    }
}
#[doc = "Reader of field `IPP_RST_N`"]
pub type IPP_RST_N_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `IPP_RST_N`"]
pub struct IPP_RST_N_W<'a> {
    w: &'a mut W,
}
impl<'a> IPP_RST_N_W<'a> {
    #[doc = r"Sets the field bit"]
    #[inline(always)]
    pub fn set_bit(self) -> &'a mut W {
        self.bit(true)
    }
    #[doc = r"Clears the field bit"]
    #[inline(always)]
    pub fn clear_bit(self) -> &'a mut W {
        self.bit(false)
    }
    #[doc = r"Writes raw bits to the field"]
    #[inline(always)]
    pub fn bit(self, value: bool) -> &'a mut W {
        self.w.bits = (self.w.bits & !(0x01 << 23)) | (((value as u32) & 0x01) << 23);
        self.w
    }
}
#[doc = "Software Reset For ALL\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum RSTA_A {
    #[doc = "0: No Reset"]
    RSTA_0 = 0,
    #[doc = "1: Reset"]
    RSTA_1 = 1,
}
impl From<RSTA_A> for bool {
    #[inline(always)]
    fn from(variant: RSTA_A) -> Self {
        variant as u8 != 0
    }
}
#[doc = "Reader of field `RSTA`"]
pub type RSTA_R = crate::R<bool, RSTA_A>;
impl RSTA_R {
    #[doc = r"Get enumerated values variant"]
    #[inline(always)]
    pub fn variant(&self) -> RSTA_A {
        match self.bits {
            false => RSTA_A::RSTA_0,
            true => RSTA_A::RSTA_1,
        }
    }
    #[doc = "Checks if the value of the field is `RSTA_0`"]
    #[inline(always)]
    pub fn is_rsta_0(&self) -> bool {
        *self == RSTA_A::RSTA_0
    }
    #[doc = "Checks if the value of the field is `RSTA_1`"]
    #[inline(always)]
    pub fn is_rsta_1(&self) -> bool {
        *self == RSTA_A::RSTA_1
    }
}
#[doc = "Write proxy for field `RSTA`"]
pub struct RSTA_W<'a> {
    w: &'a mut W,
}
impl<'a> RSTA_W<'a> {
    #[doc = r"Writes `variant` to the field"]
    #[inline(always)]
    pub fn variant(self, variant: RSTA_A) -> &'a mut W {
        {
            self.bit(variant.into())
        }
    }
    #[doc = "No Reset"]
    #[inline(always)]
    pub fn rsta_0(self) -> &'a mut W {
        self.variant(RSTA_A::RSTA_0)
    }
    #[doc = "Reset"]
    #[inline(always)]
    pub fn rsta_1(self) -> &'a mut W {
        self.variant(RSTA_A::RSTA_1)
    }
    #[doc = r"Sets the field bit"]
    #[inline(always)]
    pub fn set_bit(self) -> &'a mut W {
        self.bit(true)
    }
    #[doc = r"Clears the field bit"]
    #[inline(always)]
    pub fn clear_bit(self) -> &'a mut W {
        self.bit(false)
    }
    #[doc = r"Writes raw bits to the field"]
    #[inline(always)]
    pub fn bit(self, value: bool) -> &'a mut W {
        self.w.bits = (self.w.bits & !(0x01 << 24)) | (((value as u32) & 0x01) << 24);
        self.w
    }
}
#[doc = "Software Reset For CMD Line\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum RSTC_A {
    #[doc = "0: No Reset"]
    RSTC_0 = 0,
    #[doc = "1: Reset"]
    RSTC_1 = 1,
}
impl From<RSTC_A> for bool {
    #[inline(always)]
    fn from(variant: RSTC_A) -> Self {
        variant as u8 != 0
    }
}
#[doc = "Reader of field `RSTC`"]
pub type RSTC_R = crate::R<bool, RSTC_A>;
impl RSTC_R {
    #[doc = r"Get enumerated values variant"]
    #[inline(always)]
    pub fn variant(&self) -> RSTC_A {
        match self.bits {
            false => RSTC_A::RSTC_0,
            true => RSTC_A::RSTC_1,
        }
    }
    #[doc = "Checks if the value of the field is `RSTC_0`"]
    #[inline(always)]
    pub fn is_rstc_0(&self) -> bool {
        *self == RSTC_A::RSTC_0
    }
    #[doc = "Checks if the value of the field is `RSTC_1`"]
    #[inline(always)]
    pub fn is_rstc_1(&self) -> bool {
        *self == RSTC_A::RSTC_1
    }
}
#[doc = "Write proxy for field `RSTC`"]
pub struct RSTC_W<'a> {
    w: &'a mut W,
}
impl<'a> RSTC_W<'a> {
    #[doc = r"Writes `variant` to the field"]
    #[inline(always)]
    pub fn variant(self, variant: RSTC_A) -> &'a mut W {
        {
            self.bit(variant.into())
        }
    }
    #[doc = "No Reset"]
    #[inline(always)]
    pub fn rstc_0(self) -> &'a mut W {
        self.variant(RSTC_A::RSTC_0)
    }
    #[doc = "Reset"]
    #[inline(always)]
    pub fn rstc_1(self) -> &'a mut W {
        self.variant(RSTC_A::RSTC_1)
    }
    #[doc = r"Sets the field bit"]
    #[inline(always)]
    pub fn set_bit(self) -> &'a mut W {
        self.bit(true)
    }
    #[doc = r"Clears the field bit"]
    #[inline(always)]
    pub fn clear_bit(self) -> &'a mut W {
        self.bit(false)
    }
    #[doc = r"Writes raw bits to the field"]
    #[inline(always)]
    pub fn bit(self, value: bool) -> &'a mut W {
        self.w.bits = (self.w.bits & !(0x01 << 25)) | (((value as u32) & 0x01) << 25);
        self.w
    }
}
#[doc = "Software Reset For DATA Line\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum RSTD_A {
    #[doc = "0: No Reset"]
    RSTD_0 = 0,
    #[doc = "1: Reset"]
    RSTD_1 = 1,
}
impl From<RSTD_A> for bool {
    #[inline(always)]
    fn from(variant: RSTD_A) -> Self {
        variant as u8 != 0
    }
}
#[doc = "Reader of field `RSTD`"]
pub type RSTD_R = crate::R<bool, RSTD_A>;
impl RSTD_R {
    #[doc = r"Get enumerated values variant"]
    #[inline(always)]
    pub fn variant(&self) -> RSTD_A {
        match self.bits {
            false => RSTD_A::RSTD_0,
            true => RSTD_A::RSTD_1,
        }
    }
    #[doc = "Checks if the value of the field is `RSTD_0`"]
    #[inline(always)]
    pub fn is_rstd_0(&self) -> bool {
        *self == RSTD_A::RSTD_0
    }
    #[doc = "Checks if the value of the field is `RSTD_1`"]
    #[inline(always)]
    pub fn is_rstd_1(&self) -> bool {
        *self == RSTD_A::RSTD_1
    }
}
#[doc = "Write proxy for field `RSTD`"]
pub struct RSTD_W<'a> {
    w: &'a mut W,
}
impl<'a> RSTD_W<'a> {
    #[doc = r"Writes `variant` to the field"]
    #[inline(always)]
    pub fn variant(self, variant: RSTD_A) -> &'a mut W {
        {
            self.bit(variant.into())
        }
    }
    #[doc = "No Reset"]
    #[inline(always)]
    pub fn rstd_0(self) -> &'a mut W {
        self.variant(RSTD_A::RSTD_0)
    }
    #[doc = "Reset"]
    #[inline(always)]
    pub fn rstd_1(self) -> &'a mut W {
        self.variant(RSTD_A::RSTD_1)
    }
    #[doc = r"Sets the field bit"]
    #[inline(always)]
    pub fn set_bit(self) -> &'a mut W {
        self.bit(true)
    }
    #[doc = r"Clears the field bit"]
    #[inline(always)]
    pub fn clear_bit(self) -> &'a mut W {
        self.bit(false)
    }
    #[doc = r"Writes raw bits to the field"]
    #[inline(always)]
    pub fn bit(self, value: bool) -> &'a mut W {
        self.w.bits = (self.w.bits & !(0x01 << 26)) | (((value as u32) & 0x01) << 26);
        self.w
    }
}
#[doc = "Reader of field `INITA`"]
pub type INITA_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `INITA`"]
pub struct INITA_W<'a> {
    w: &'a mut W,
}
impl<'a> INITA_W<'a> {
    #[doc = r"Sets the field bit"]
    #[inline(always)]
    pub fn set_bit(self) -> &'a mut W {
        self.bit(true)
    }
    #[doc = r"Clears the field bit"]
    #[inline(always)]
    pub fn clear_bit(self) -> &'a mut W {
        self.bit(false)
    }
    #[doc = r"Writes raw bits to the field"]
    #[inline(always)]
    pub fn bit(self, value: bool) -> &'a mut W {
        self.w.bits = (self.w.bits & !(0x01 << 27)) | (((value as u32) & 0x01) << 27);
        self.w
    }
}
#[doc = "Reader of field `RSTT`"]
pub type RSTT_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `RSTT`"]
pub struct RSTT_W<'a> {
    w: &'a mut W,
}
impl<'a> RSTT_W<'a> {
    #[doc = r"Sets the field bit"]
    #[inline(always)]
    pub fn set_bit(self) -> &'a mut W {
        self.bit(true)
    }
    #[doc = r"Clears the field bit"]
    #[inline(always)]
    pub fn clear_bit(self) -> &'a mut W {
        self.bit(false)
    }
    #[doc = r"Writes raw bits to the field"]
    #[inline(always)]
    pub fn bit(self, value: bool) -> &'a mut W {
        self.w.bits = (self.w.bits & !(0x01 << 28)) | (((value as u32) & 0x01) << 28);
        self.w
    }
}
impl R {
    #[doc = "Bits 4:7 - Divisor"]
    #[inline(always)]
    pub fn dvs(&self) -> DVS_R {
        DVS_R::new(((self.bits >> 4) & 0x0f) as u8)
    }
    #[doc = "Bits 8:15 - SDCLK Frequency Select"]
    #[inline(always)]
    pub fn sdclkfs(&self) -> SDCLKFS_R {
        SDCLKFS_R::new(((self.bits >> 8) & 0xff) as u8)
    }
    #[doc = "Bits 16:19 - Data Timeout Counter Value"]
    #[inline(always)]
    pub fn dtocv(&self) -> DTOCV_R {
        DTOCV_R::new(((self.bits >> 16) & 0x0f) as u8)
    }
    #[doc = "Bit 23 - IPP_RST_N"]
    #[inline(always)]
    pub fn ipp_rst_n(&self) -> IPP_RST_N_R {
        IPP_RST_N_R::new(((self.bits >> 23) & 0x01) != 0)
    }
    #[doc = "Bit 24 - Software Reset For ALL"]
    #[inline(always)]
    pub fn rsta(&self) -> RSTA_R {
        RSTA_R::new(((self.bits >> 24) & 0x01) != 0)
    }
    #[doc = "Bit 25 - Software Reset For CMD Line"]
    #[inline(always)]
    pub fn rstc(&self) -> RSTC_R {
        RSTC_R::new(((self.bits >> 25) & 0x01) != 0)
    }
    #[doc = "Bit 26 - Software Reset For DATA Line"]
    #[inline(always)]
    pub fn rstd(&self) -> RSTD_R {
        RSTD_R::new(((self.bits >> 26) & 0x01) != 0)
    }
    #[doc = "Bit 27 - Initialization Active"]
    #[inline(always)]
    pub fn inita(&self) -> INITA_R {
        INITA_R::new(((self.bits >> 27) & 0x01) != 0)
    }
    #[doc = "Bit 28 - Reset Tuning"]
    #[inline(always)]
    pub fn rstt(&self) -> RSTT_R {
        RSTT_R::new(((self.bits >> 28) & 0x01) != 0)
    }
}
impl W {
    #[doc = "Bits 4:7 - Divisor"]
    #[inline(always)]
    pub fn dvs(&mut self) -> DVS_W {
        DVS_W { w: self }
    }
    #[doc = "Bits 8:15 - SDCLK Frequency Select"]
    #[inline(always)]
    pub fn sdclkfs(&mut self) -> SDCLKFS_W {
        SDCLKFS_W { w: self }
    }
    #[doc = "Bits 16:19 - Data Timeout Counter Value"]
    #[inline(always)]
    pub fn dtocv(&mut self) -> DTOCV_W {
        DTOCV_W { w: self }
    }
    #[doc = "Bit 23 - IPP_RST_N"]
    #[inline(always)]
    pub fn ipp_rst_n(&mut self) -> IPP_RST_N_W {
        IPP_RST_N_W { w: self }
    }
    #[doc = "Bit 24 - Software Reset For ALL"]
    #[inline(always)]
    pub fn rsta(&mut self) -> RSTA_W {
        RSTA_W { w: self }
    }
    #[doc = "Bit 25 - Software Reset For CMD Line"]
    #[inline(always)]
    pub fn rstc(&mut self) -> RSTC_W {
        RSTC_W { w: self }
    }
    #[doc = "Bit 26 - Software Reset For DATA Line"]
    #[inline(always)]
    pub fn rstd(&mut self) -> RSTD_W {
        RSTD_W { w: self }
    }
    #[doc = "Bit 27 - Initialization Active"]
    #[inline(always)]
    pub fn inita(&mut self) -> INITA_W {
        INITA_W { w: self }
    }
    #[doc = "Bit 28 - Reset Tuning"]
    #[inline(always)]
    pub fn rstt(&mut self) -> RSTT_W {
        RSTT_W { w: self }
    }
}