stm32l0x1/rtc/isr/
mod.rs

1#[doc = r" Value read from the register"]
2pub struct R {
3    bits: u32,
4}
5#[doc = r" Value to write to the register"]
6pub struct W {
7    bits: u32,
8}
9impl super::ISR {
10    #[doc = r" Modifies the contents of the register"]
11    #[inline]
12    pub fn modify<F>(&self, f: F)
13    where
14        for<'w> F: FnOnce(&R, &'w mut W) -> &'w mut W,
15    {
16        let bits = self.register.get();
17        let r = R { bits: bits };
18        let mut w = W { bits: bits };
19        f(&r, &mut w);
20        self.register.set(w.bits);
21    }
22    #[doc = r" Reads the contents of the register"]
23    #[inline]
24    pub fn read(&self) -> R {
25        R {
26            bits: self.register.get(),
27        }
28    }
29    #[doc = r" Writes to the register"]
30    #[inline]
31    pub fn write<F>(&self, f: F)
32    where
33        F: FnOnce(&mut W) -> &mut W,
34    {
35        let mut w = W::reset_value();
36        f(&mut w);
37        self.register.set(w.bits);
38    }
39    #[doc = r" Writes the reset value to the register"]
40    #[inline]
41    pub fn reset(&self) {
42        self.write(|w| w)
43    }
44}
45#[doc = r" Value of the field"]
46pub struct TAMP2FR {
47    bits: bool,
48}
49impl TAMP2FR {
50    #[doc = r" Value of the field as raw bits"]
51    #[inline]
52    pub fn bit(&self) -> bool {
53        self.bits
54    }
55    #[doc = r" Returns `true` if the bit is clear (0)"]
56    #[inline]
57    pub fn bit_is_clear(&self) -> bool {
58        !self.bit()
59    }
60    #[doc = r" Returns `true` if the bit is set (1)"]
61    #[inline]
62    pub fn bit_is_set(&self) -> bool {
63        self.bit()
64    }
65}
66#[doc = r" Value of the field"]
67pub struct TAMP1FR {
68    bits: bool,
69}
70impl TAMP1FR {
71    #[doc = r" Value of the field as raw bits"]
72    #[inline]
73    pub fn bit(&self) -> bool {
74        self.bits
75    }
76    #[doc = r" Returns `true` if the bit is clear (0)"]
77    #[inline]
78    pub fn bit_is_clear(&self) -> bool {
79        !self.bit()
80    }
81    #[doc = r" Returns `true` if the bit is set (1)"]
82    #[inline]
83    pub fn bit_is_set(&self) -> bool {
84        self.bit()
85    }
86}
87#[doc = r" Value of the field"]
88pub struct TSOVFR {
89    bits: bool,
90}
91impl TSOVFR {
92    #[doc = r" Value of the field as raw bits"]
93    #[inline]
94    pub fn bit(&self) -> bool {
95        self.bits
96    }
97    #[doc = r" Returns `true` if the bit is clear (0)"]
98    #[inline]
99    pub fn bit_is_clear(&self) -> bool {
100        !self.bit()
101    }
102    #[doc = r" Returns `true` if the bit is set (1)"]
103    #[inline]
104    pub fn bit_is_set(&self) -> bool {
105        self.bit()
106    }
107}
108#[doc = r" Value of the field"]
109pub struct TSFR {
110    bits: bool,
111}
112impl TSFR {
113    #[doc = r" Value of the field as raw bits"]
114    #[inline]
115    pub fn bit(&self) -> bool {
116        self.bits
117    }
118    #[doc = r" Returns `true` if the bit is clear (0)"]
119    #[inline]
120    pub fn bit_is_clear(&self) -> bool {
121        !self.bit()
122    }
123    #[doc = r" Returns `true` if the bit is set (1)"]
124    #[inline]
125    pub fn bit_is_set(&self) -> bool {
126        self.bit()
127    }
128}
129#[doc = r" Value of the field"]
130pub struct WUTFR {
131    bits: bool,
132}
133impl WUTFR {
134    #[doc = r" Value of the field as raw bits"]
135    #[inline]
136    pub fn bit(&self) -> bool {
137        self.bits
138    }
139    #[doc = r" Returns `true` if the bit is clear (0)"]
140    #[inline]
141    pub fn bit_is_clear(&self) -> bool {
142        !self.bit()
143    }
144    #[doc = r" Returns `true` if the bit is set (1)"]
145    #[inline]
146    pub fn bit_is_set(&self) -> bool {
147        self.bit()
148    }
149}
150#[doc = r" Value of the field"]
151pub struct ALRBFR {
152    bits: bool,
153}
154impl ALRBFR {
155    #[doc = r" Value of the field as raw bits"]
156    #[inline]
157    pub fn bit(&self) -> bool {
158        self.bits
159    }
160    #[doc = r" Returns `true` if the bit is clear (0)"]
161    #[inline]
162    pub fn bit_is_clear(&self) -> bool {
163        !self.bit()
164    }
165    #[doc = r" Returns `true` if the bit is set (1)"]
166    #[inline]
167    pub fn bit_is_set(&self) -> bool {
168        self.bit()
169    }
170}
171#[doc = r" Value of the field"]
172pub struct ALRAFR {
173    bits: bool,
174}
175impl ALRAFR {
176    #[doc = r" Value of the field as raw bits"]
177    #[inline]
178    pub fn bit(&self) -> bool {
179        self.bits
180    }
181    #[doc = r" Returns `true` if the bit is clear (0)"]
182    #[inline]
183    pub fn bit_is_clear(&self) -> bool {
184        !self.bit()
185    }
186    #[doc = r" Returns `true` if the bit is set (1)"]
187    #[inline]
188    pub fn bit_is_set(&self) -> bool {
189        self.bit()
190    }
191}
192#[doc = r" Value of the field"]
193pub struct INITR {
194    bits: bool,
195}
196impl INITR {
197    #[doc = r" Value of the field as raw bits"]
198    #[inline]
199    pub fn bit(&self) -> bool {
200        self.bits
201    }
202    #[doc = r" Returns `true` if the bit is clear (0)"]
203    #[inline]
204    pub fn bit_is_clear(&self) -> bool {
205        !self.bit()
206    }
207    #[doc = r" Returns `true` if the bit is set (1)"]
208    #[inline]
209    pub fn bit_is_set(&self) -> bool {
210        self.bit()
211    }
212}
213#[doc = r" Value of the field"]
214pub struct INITFR {
215    bits: bool,
216}
217impl INITFR {
218    #[doc = r" Value of the field as raw bits"]
219    #[inline]
220    pub fn bit(&self) -> bool {
221        self.bits
222    }
223    #[doc = r" Returns `true` if the bit is clear (0)"]
224    #[inline]
225    pub fn bit_is_clear(&self) -> bool {
226        !self.bit()
227    }
228    #[doc = r" Returns `true` if the bit is set (1)"]
229    #[inline]
230    pub fn bit_is_set(&self) -> bool {
231        self.bit()
232    }
233}
234#[doc = r" Value of the field"]
235pub struct RSFR {
236    bits: bool,
237}
238impl RSFR {
239    #[doc = r" Value of the field as raw bits"]
240    #[inline]
241    pub fn bit(&self) -> bool {
242        self.bits
243    }
244    #[doc = r" Returns `true` if the bit is clear (0)"]
245    #[inline]
246    pub fn bit_is_clear(&self) -> bool {
247        !self.bit()
248    }
249    #[doc = r" Returns `true` if the bit is set (1)"]
250    #[inline]
251    pub fn bit_is_set(&self) -> bool {
252        self.bit()
253    }
254}
255#[doc = r" Value of the field"]
256pub struct INITSR {
257    bits: bool,
258}
259impl INITSR {
260    #[doc = r" Value of the field as raw bits"]
261    #[inline]
262    pub fn bit(&self) -> bool {
263        self.bits
264    }
265    #[doc = r" Returns `true` if the bit is clear (0)"]
266    #[inline]
267    pub fn bit_is_clear(&self) -> bool {
268        !self.bit()
269    }
270    #[doc = r" Returns `true` if the bit is set (1)"]
271    #[inline]
272    pub fn bit_is_set(&self) -> bool {
273        self.bit()
274    }
275}
276#[doc = r" Value of the field"]
277pub struct SHPFR {
278    bits: bool,
279}
280impl SHPFR {
281    #[doc = r" Value of the field as raw bits"]
282    #[inline]
283    pub fn bit(&self) -> bool {
284        self.bits
285    }
286    #[doc = r" Returns `true` if the bit is clear (0)"]
287    #[inline]
288    pub fn bit_is_clear(&self) -> bool {
289        !self.bit()
290    }
291    #[doc = r" Returns `true` if the bit is set (1)"]
292    #[inline]
293    pub fn bit_is_set(&self) -> bool {
294        self.bit()
295    }
296}
297#[doc = r" Value of the field"]
298pub struct WUTWFR {
299    bits: bool,
300}
301impl WUTWFR {
302    #[doc = r" Value of the field as raw bits"]
303    #[inline]
304    pub fn bit(&self) -> bool {
305        self.bits
306    }
307    #[doc = r" Returns `true` if the bit is clear (0)"]
308    #[inline]
309    pub fn bit_is_clear(&self) -> bool {
310        !self.bit()
311    }
312    #[doc = r" Returns `true` if the bit is set (1)"]
313    #[inline]
314    pub fn bit_is_set(&self) -> bool {
315        self.bit()
316    }
317}
318#[doc = r" Value of the field"]
319pub struct ALRBWFR {
320    bits: bool,
321}
322impl ALRBWFR {
323    #[doc = r" Value of the field as raw bits"]
324    #[inline]
325    pub fn bit(&self) -> bool {
326        self.bits
327    }
328    #[doc = r" Returns `true` if the bit is clear (0)"]
329    #[inline]
330    pub fn bit_is_clear(&self) -> bool {
331        !self.bit()
332    }
333    #[doc = r" Returns `true` if the bit is set (1)"]
334    #[inline]
335    pub fn bit_is_set(&self) -> bool {
336        self.bit()
337    }
338}
339#[doc = r" Value of the field"]
340pub struct ALRAWFR {
341    bits: bool,
342}
343impl ALRAWFR {
344    #[doc = r" Value of the field as raw bits"]
345    #[inline]
346    pub fn bit(&self) -> bool {
347        self.bits
348    }
349    #[doc = r" Returns `true` if the bit is clear (0)"]
350    #[inline]
351    pub fn bit_is_clear(&self) -> bool {
352        !self.bit()
353    }
354    #[doc = r" Returns `true` if the bit is set (1)"]
355    #[inline]
356    pub fn bit_is_set(&self) -> bool {
357        self.bit()
358    }
359}
360#[doc = r" Proxy"]
361pub struct _TAMP2FW<'a> {
362    w: &'a mut W,
363}
364impl<'a> _TAMP2FW<'a> {
365    #[doc = r" Sets the field bit"]
366    pub fn set_bit(self) -> &'a mut W {
367        self.bit(true)
368    }
369    #[doc = r" Clears the field bit"]
370    pub fn clear_bit(self) -> &'a mut W {
371        self.bit(false)
372    }
373    #[doc = r" Writes raw bits to the field"]
374    #[inline]
375    pub fn bit(self, value: bool) -> &'a mut W {
376        const MASK: bool = true;
377        const OFFSET: u8 = 14;
378        self.w.bits &= !((MASK as u32) << OFFSET);
379        self.w.bits |= ((value & MASK) as u32) << OFFSET;
380        self.w
381    }
382}
383#[doc = r" Proxy"]
384pub struct _TAMP1FW<'a> {
385    w: &'a mut W,
386}
387impl<'a> _TAMP1FW<'a> {
388    #[doc = r" Sets the field bit"]
389    pub fn set_bit(self) -> &'a mut W {
390        self.bit(true)
391    }
392    #[doc = r" Clears the field bit"]
393    pub fn clear_bit(self) -> &'a mut W {
394        self.bit(false)
395    }
396    #[doc = r" Writes raw bits to the field"]
397    #[inline]
398    pub fn bit(self, value: bool) -> &'a mut W {
399        const MASK: bool = true;
400        const OFFSET: u8 = 13;
401        self.w.bits &= !((MASK as u32) << OFFSET);
402        self.w.bits |= ((value & MASK) as u32) << OFFSET;
403        self.w
404    }
405}
406#[doc = r" Proxy"]
407pub struct _TSOVFW<'a> {
408    w: &'a mut W,
409}
410impl<'a> _TSOVFW<'a> {
411    #[doc = r" Sets the field bit"]
412    pub fn set_bit(self) -> &'a mut W {
413        self.bit(true)
414    }
415    #[doc = r" Clears the field bit"]
416    pub fn clear_bit(self) -> &'a mut W {
417        self.bit(false)
418    }
419    #[doc = r" Writes raw bits to the field"]
420    #[inline]
421    pub fn bit(self, value: bool) -> &'a mut W {
422        const MASK: bool = true;
423        const OFFSET: u8 = 12;
424        self.w.bits &= !((MASK as u32) << OFFSET);
425        self.w.bits |= ((value & MASK) as u32) << OFFSET;
426        self.w
427    }
428}
429#[doc = r" Proxy"]
430pub struct _TSFW<'a> {
431    w: &'a mut W,
432}
433impl<'a> _TSFW<'a> {
434    #[doc = r" Sets the field bit"]
435    pub fn set_bit(self) -> &'a mut W {
436        self.bit(true)
437    }
438    #[doc = r" Clears the field bit"]
439    pub fn clear_bit(self) -> &'a mut W {
440        self.bit(false)
441    }
442    #[doc = r" Writes raw bits to the field"]
443    #[inline]
444    pub fn bit(self, value: bool) -> &'a mut W {
445        const MASK: bool = true;
446        const OFFSET: u8 = 11;
447        self.w.bits &= !((MASK as u32) << OFFSET);
448        self.w.bits |= ((value & MASK) as u32) << OFFSET;
449        self.w
450    }
451}
452#[doc = r" Proxy"]
453pub struct _WUTFW<'a> {
454    w: &'a mut W,
455}
456impl<'a> _WUTFW<'a> {
457    #[doc = r" Sets the field bit"]
458    pub fn set_bit(self) -> &'a mut W {
459        self.bit(true)
460    }
461    #[doc = r" Clears the field bit"]
462    pub fn clear_bit(self) -> &'a mut W {
463        self.bit(false)
464    }
465    #[doc = r" Writes raw bits to the field"]
466    #[inline]
467    pub fn bit(self, value: bool) -> &'a mut W {
468        const MASK: bool = true;
469        const OFFSET: u8 = 10;
470        self.w.bits &= !((MASK as u32) << OFFSET);
471        self.w.bits |= ((value & MASK) as u32) << OFFSET;
472        self.w
473    }
474}
475#[doc = r" Proxy"]
476pub struct _ALRBFW<'a> {
477    w: &'a mut W,
478}
479impl<'a> _ALRBFW<'a> {
480    #[doc = r" Sets the field bit"]
481    pub fn set_bit(self) -> &'a mut W {
482        self.bit(true)
483    }
484    #[doc = r" Clears the field bit"]
485    pub fn clear_bit(self) -> &'a mut W {
486        self.bit(false)
487    }
488    #[doc = r" Writes raw bits to the field"]
489    #[inline]
490    pub fn bit(self, value: bool) -> &'a mut W {
491        const MASK: bool = true;
492        const OFFSET: u8 = 9;
493        self.w.bits &= !((MASK as u32) << OFFSET);
494        self.w.bits |= ((value & MASK) as u32) << OFFSET;
495        self.w
496    }
497}
498#[doc = r" Proxy"]
499pub struct _ALRAFW<'a> {
500    w: &'a mut W,
501}
502impl<'a> _ALRAFW<'a> {
503    #[doc = r" Sets the field bit"]
504    pub fn set_bit(self) -> &'a mut W {
505        self.bit(true)
506    }
507    #[doc = r" Clears the field bit"]
508    pub fn clear_bit(self) -> &'a mut W {
509        self.bit(false)
510    }
511    #[doc = r" Writes raw bits to the field"]
512    #[inline]
513    pub fn bit(self, value: bool) -> &'a mut W {
514        const MASK: bool = true;
515        const OFFSET: u8 = 8;
516        self.w.bits &= !((MASK as u32) << OFFSET);
517        self.w.bits |= ((value & MASK) as u32) << OFFSET;
518        self.w
519    }
520}
521#[doc = r" Proxy"]
522pub struct _INITW<'a> {
523    w: &'a mut W,
524}
525impl<'a> _INITW<'a> {
526    #[doc = r" Sets the field bit"]
527    pub fn set_bit(self) -> &'a mut W {
528        self.bit(true)
529    }
530    #[doc = r" Clears the field bit"]
531    pub fn clear_bit(self) -> &'a mut W {
532        self.bit(false)
533    }
534    #[doc = r" Writes raw bits to the field"]
535    #[inline]
536    pub fn bit(self, value: bool) -> &'a mut W {
537        const MASK: bool = true;
538        const OFFSET: u8 = 7;
539        self.w.bits &= !((MASK as u32) << OFFSET);
540        self.w.bits |= ((value & MASK) as u32) << OFFSET;
541        self.w
542    }
543}
544#[doc = r" Proxy"]
545pub struct _RSFW<'a> {
546    w: &'a mut W,
547}
548impl<'a> _RSFW<'a> {
549    #[doc = r" Sets the field bit"]
550    pub fn set_bit(self) -> &'a mut W {
551        self.bit(true)
552    }
553    #[doc = r" Clears the field bit"]
554    pub fn clear_bit(self) -> &'a mut W {
555        self.bit(false)
556    }
557    #[doc = r" Writes raw bits to the field"]
558    #[inline]
559    pub fn bit(self, value: bool) -> &'a mut W {
560        const MASK: bool = true;
561        const OFFSET: u8 = 5;
562        self.w.bits &= !((MASK as u32) << OFFSET);
563        self.w.bits |= ((value & MASK) as u32) << OFFSET;
564        self.w
565    }
566}
567impl R {
568    #[doc = r" Value of the register as raw bits"]
569    #[inline]
570    pub fn bits(&self) -> u32 {
571        self.bits
572    }
573    #[doc = "Bit 14 - RTC_TAMP2 detection flag"]
574    #[inline]
575    pub fn tamp2f(&self) -> TAMP2FR {
576        let bits = {
577            const MASK: bool = true;
578            const OFFSET: u8 = 14;
579            ((self.bits >> OFFSET) & MASK as u32) != 0
580        };
581        TAMP2FR { bits }
582    }
583    #[doc = "Bit 13 - RTC_TAMP1 detection flag"]
584    #[inline]
585    pub fn tamp1f(&self) -> TAMP1FR {
586        let bits = {
587            const MASK: bool = true;
588            const OFFSET: u8 = 13;
589            ((self.bits >> OFFSET) & MASK as u32) != 0
590        };
591        TAMP1FR { bits }
592    }
593    #[doc = "Bit 12 - Time-stamp overflow flag"]
594    #[inline]
595    pub fn tsovf(&self) -> TSOVFR {
596        let bits = {
597            const MASK: bool = true;
598            const OFFSET: u8 = 12;
599            ((self.bits >> OFFSET) & MASK as u32) != 0
600        };
601        TSOVFR { bits }
602    }
603    #[doc = "Bit 11 - Time-stamp flag"]
604    #[inline]
605    pub fn tsf(&self) -> TSFR {
606        let bits = {
607            const MASK: bool = true;
608            const OFFSET: u8 = 11;
609            ((self.bits >> OFFSET) & MASK as u32) != 0
610        };
611        TSFR { bits }
612    }
613    #[doc = "Bit 10 - Wakeup timer flag"]
614    #[inline]
615    pub fn wutf(&self) -> WUTFR {
616        let bits = {
617            const MASK: bool = true;
618            const OFFSET: u8 = 10;
619            ((self.bits >> OFFSET) & MASK as u32) != 0
620        };
621        WUTFR { bits }
622    }
623    #[doc = "Bit 9 - Alarm B flag"]
624    #[inline]
625    pub fn alrbf(&self) -> ALRBFR {
626        let bits = {
627            const MASK: bool = true;
628            const OFFSET: u8 = 9;
629            ((self.bits >> OFFSET) & MASK as u32) != 0
630        };
631        ALRBFR { bits }
632    }
633    #[doc = "Bit 8 - Alarm A flag"]
634    #[inline]
635    pub fn alraf(&self) -> ALRAFR {
636        let bits = {
637            const MASK: bool = true;
638            const OFFSET: u8 = 8;
639            ((self.bits >> OFFSET) & MASK as u32) != 0
640        };
641        ALRAFR { bits }
642    }
643    #[doc = "Bit 7 - Initialization mode"]
644    #[inline]
645    pub fn init(&self) -> INITR {
646        let bits = {
647            const MASK: bool = true;
648            const OFFSET: u8 = 7;
649            ((self.bits >> OFFSET) & MASK as u32) != 0
650        };
651        INITR { bits }
652    }
653    #[doc = "Bit 6 - Initialization flag"]
654    #[inline]
655    pub fn initf(&self) -> INITFR {
656        let bits = {
657            const MASK: bool = true;
658            const OFFSET: u8 = 6;
659            ((self.bits >> OFFSET) & MASK as u32) != 0
660        };
661        INITFR { bits }
662    }
663    #[doc = "Bit 5 - Registers synchronization flag"]
664    #[inline]
665    pub fn rsf(&self) -> RSFR {
666        let bits = {
667            const MASK: bool = true;
668            const OFFSET: u8 = 5;
669            ((self.bits >> OFFSET) & MASK as u32) != 0
670        };
671        RSFR { bits }
672    }
673    #[doc = "Bit 4 - Initialization status flag"]
674    #[inline]
675    pub fn inits(&self) -> INITSR {
676        let bits = {
677            const MASK: bool = true;
678            const OFFSET: u8 = 4;
679            ((self.bits >> OFFSET) & MASK as u32) != 0
680        };
681        INITSR { bits }
682    }
683    #[doc = "Bit 3 - Shift operation pending"]
684    #[inline]
685    pub fn shpf(&self) -> SHPFR {
686        let bits = {
687            const MASK: bool = true;
688            const OFFSET: u8 = 3;
689            ((self.bits >> OFFSET) & MASK as u32) != 0
690        };
691        SHPFR { bits }
692    }
693    #[doc = "Bit 2 - Wakeup timer write flag"]
694    #[inline]
695    pub fn wutwf(&self) -> WUTWFR {
696        let bits = {
697            const MASK: bool = true;
698            const OFFSET: u8 = 2;
699            ((self.bits >> OFFSET) & MASK as u32) != 0
700        };
701        WUTWFR { bits }
702    }
703    #[doc = "Bit 1 - Alarm B write flag"]
704    #[inline]
705    pub fn alrbwf(&self) -> ALRBWFR {
706        let bits = {
707            const MASK: bool = true;
708            const OFFSET: u8 = 1;
709            ((self.bits >> OFFSET) & MASK as u32) != 0
710        };
711        ALRBWFR { bits }
712    }
713    #[doc = "Bit 0 - Alarm A write flag"]
714    #[inline]
715    pub fn alrawf(&self) -> ALRAWFR {
716        let bits = {
717            const MASK: bool = true;
718            const OFFSET: u8 = 0;
719            ((self.bits >> OFFSET) & MASK as u32) != 0
720        };
721        ALRAWFR { bits }
722    }
723}
724impl W {
725    #[doc = r" Reset value of the register"]
726    #[inline]
727    pub fn reset_value() -> W {
728        W { bits: 0 }
729    }
730    #[doc = r" Writes raw bits to the register"]
731    #[inline]
732    pub unsafe fn bits(&mut self, bits: u32) -> &mut Self {
733        self.bits = bits;
734        self
735    }
736    #[doc = "Bit 14 - RTC_TAMP2 detection flag"]
737    #[inline]
738    pub fn tamp2f(&mut self) -> _TAMP2FW {
739        _TAMP2FW { w: self }
740    }
741    #[doc = "Bit 13 - RTC_TAMP1 detection flag"]
742    #[inline]
743    pub fn tamp1f(&mut self) -> _TAMP1FW {
744        _TAMP1FW { w: self }
745    }
746    #[doc = "Bit 12 - Time-stamp overflow flag"]
747    #[inline]
748    pub fn tsovf(&mut self) -> _TSOVFW {
749        _TSOVFW { w: self }
750    }
751    #[doc = "Bit 11 - Time-stamp flag"]
752    #[inline]
753    pub fn tsf(&mut self) -> _TSFW {
754        _TSFW { w: self }
755    }
756    #[doc = "Bit 10 - Wakeup timer flag"]
757    #[inline]
758    pub fn wutf(&mut self) -> _WUTFW {
759        _WUTFW { w: self }
760    }
761    #[doc = "Bit 9 - Alarm B flag"]
762    #[inline]
763    pub fn alrbf(&mut self) -> _ALRBFW {
764        _ALRBFW { w: self }
765    }
766    #[doc = "Bit 8 - Alarm A flag"]
767    #[inline]
768    pub fn alraf(&mut self) -> _ALRAFW {
769        _ALRAFW { w: self }
770    }
771    #[doc = "Bit 7 - Initialization mode"]
772    #[inline]
773    pub fn init(&mut self) -> _INITW {
774        _INITW { w: self }
775    }
776    #[doc = "Bit 5 - Registers synchronization flag"]
777    #[inline]
778    pub fn rsf(&mut self) -> _RSFW {
779        _RSFW { w: self }
780    }
781}