bl702_pac/glb/
swrst_cfg1.rs

1#[doc = "Register `swrst_cfg1` reader"]
2pub struct R(crate::R<SWRST_CFG1_SPEC>);
3impl core::ops::Deref for R {
4    type Target = crate::R<SWRST_CFG1_SPEC>;
5    #[inline(always)]
6    fn deref(&self) -> &Self::Target {
7        &self.0
8    }
9}
10impl From<crate::R<SWRST_CFG1_SPEC>> for R {
11    #[inline(always)]
12    fn from(reader: crate::R<SWRST_CFG1_SPEC>) -> Self {
13        R(reader)
14    }
15}
16#[doc = "Register `swrst_cfg1` writer"]
17pub struct W(crate::W<SWRST_CFG1_SPEC>);
18impl core::ops::Deref for W {
19    type Target = crate::W<SWRST_CFG1_SPEC>;
20    #[inline(always)]
21    fn deref(&self) -> &Self::Target {
22        &self.0
23    }
24}
25impl core::ops::DerefMut for W {
26    #[inline(always)]
27    fn deref_mut(&mut self) -> &mut Self::Target {
28        &mut self.0
29    }
30}
31impl From<crate::W<SWRST_CFG1_SPEC>> for W {
32    #[inline(always)]
33    fn from(writer: crate::W<SWRST_CFG1_SPEC>) -> Self {
34        W(writer)
35    }
36}
37#[doc = "Field `swrst_s10` reader - "]
38pub type SWRST_S10_R = crate::BitReader<bool>;
39#[doc = "Field `swrst_s10` writer - "]
40pub type SWRST_S10_W<'a, const O: u8> = crate::BitWriter<'a, u32, SWRST_CFG1_SPEC, bool, O>;
41#[doc = "Field `swrst_s11` reader - "]
42pub type SWRST_S11_R = crate::BitReader<bool>;
43#[doc = "Field `swrst_s11` writer - "]
44pub type SWRST_S11_W<'a, const O: u8> = crate::BitWriter<'a, u32, SWRST_CFG1_SPEC, bool, O>;
45#[doc = "Field `swrst_s12` reader - "]
46pub type SWRST_S12_R = crate::BitReader<bool>;
47#[doc = "Field `swrst_s12` writer - "]
48pub type SWRST_S12_W<'a, const O: u8> = crate::BitWriter<'a, u32, SWRST_CFG1_SPEC, bool, O>;
49#[doc = "Field `swrst_s13` reader - "]
50pub type SWRST_S13_R = crate::BitReader<bool>;
51#[doc = "Field `swrst_s13` writer - "]
52pub type SWRST_S13_W<'a, const O: u8> = crate::BitWriter<'a, u32, SWRST_CFG1_SPEC, bool, O>;
53#[doc = "Field `swrst_s14` reader - "]
54pub type SWRST_S14_R = crate::BitReader<bool>;
55#[doc = "Field `swrst_s14` writer - "]
56pub type SWRST_S14_W<'a, const O: u8> = crate::BitWriter<'a, u32, SWRST_CFG1_SPEC, bool, O>;
57#[doc = "Field `swrst_s15` reader - "]
58pub type SWRST_S15_R = crate::BitReader<bool>;
59#[doc = "Field `swrst_s15` writer - "]
60pub type SWRST_S15_W<'a, const O: u8> = crate::BitWriter<'a, u32, SWRST_CFG1_SPEC, bool, O>;
61#[doc = "Field `swrst_s16` reader - "]
62pub type SWRST_S16_R = crate::BitReader<bool>;
63#[doc = "Field `swrst_s16` writer - "]
64pub type SWRST_S16_W<'a, const O: u8> = crate::BitWriter<'a, u32, SWRST_CFG1_SPEC, bool, O>;
65#[doc = "Field `swrst_s17` reader - "]
66pub type SWRST_S17_R = crate::BitReader<bool>;
67#[doc = "Field `swrst_s17` writer - "]
68pub type SWRST_S17_W<'a, const O: u8> = crate::BitWriter<'a, u32, SWRST_CFG1_SPEC, bool, O>;
69#[doc = "Field `swrst_s18` reader - "]
70pub type SWRST_S18_R = crate::BitReader<bool>;
71#[doc = "Field `swrst_s18` writer - "]
72pub type SWRST_S18_W<'a, const O: u8> = crate::BitWriter<'a, u32, SWRST_CFG1_SPEC, bool, O>;
73#[doc = "Field `swrst_s19` reader - "]
74pub type SWRST_S19_R = crate::BitReader<bool>;
75#[doc = "Field `swrst_s19` writer - "]
76pub type SWRST_S19_W<'a, const O: u8> = crate::BitWriter<'a, u32, SWRST_CFG1_SPEC, bool, O>;
77#[doc = "Field `swrst_s1a` reader - "]
78pub type SWRST_S1A_R = crate::BitReader<bool>;
79#[doc = "Field `swrst_s1a` writer - "]
80pub type SWRST_S1A_W<'a, const O: u8> = crate::BitWriter<'a, u32, SWRST_CFG1_SPEC, bool, O>;
81#[doc = "Field `swrst_s1b` reader - "]
82pub type SWRST_S1B_R = crate::BitReader<bool>;
83#[doc = "Field `swrst_s1b` writer - "]
84pub type SWRST_S1B_W<'a, const O: u8> = crate::BitWriter<'a, u32, SWRST_CFG1_SPEC, bool, O>;
85#[doc = "Field `swrst_s1c` reader - "]
86pub type SWRST_S1C_R = crate::BitReader<bool>;
87#[doc = "Field `swrst_s1c` writer - "]
88pub type SWRST_S1C_W<'a, const O: u8> = crate::BitWriter<'a, u32, SWRST_CFG1_SPEC, bool, O>;
89#[doc = "Field `swrst_s1d` reader - "]
90pub type SWRST_S1D_R = crate::BitReader<bool>;
91#[doc = "Field `swrst_s1d` writer - "]
92pub type SWRST_S1D_W<'a, const O: u8> = crate::BitWriter<'a, u32, SWRST_CFG1_SPEC, bool, O>;
93#[doc = "Field `swrst_s1e` reader - "]
94pub type SWRST_S1E_R = crate::BitReader<bool>;
95#[doc = "Field `swrst_s1e` writer - "]
96pub type SWRST_S1E_W<'a, const O: u8> = crate::BitWriter<'a, u32, SWRST_CFG1_SPEC, bool, O>;
97#[doc = "Field `swrst_s1f` reader - "]
98pub type SWRST_S1F_R = crate::BitReader<bool>;
99#[doc = "Field `swrst_s1f` writer - "]
100pub type SWRST_S1F_W<'a, const O: u8> = crate::BitWriter<'a, u32, SWRST_CFG1_SPEC, bool, O>;
101#[doc = "Field `swrst_s1a0` reader - "]
102pub type SWRST_S1A0_R = crate::BitReader<bool>;
103#[doc = "Field `swrst_s1a0` writer - "]
104pub type SWRST_S1A0_W<'a, const O: u8> = crate::BitWriter<'a, u32, SWRST_CFG1_SPEC, bool, O>;
105#[doc = "Field `swrst_s1a1` reader - "]
106pub type SWRST_S1A1_R = crate::BitReader<bool>;
107#[doc = "Field `swrst_s1a1` writer - "]
108pub type SWRST_S1A1_W<'a, const O: u8> = crate::BitWriter<'a, u32, SWRST_CFG1_SPEC, bool, O>;
109#[doc = "Field `swrst_s1a2` reader - "]
110pub type SWRST_S1A2_R = crate::BitReader<bool>;
111#[doc = "Field `swrst_s1a2` writer - "]
112pub type SWRST_S1A2_W<'a, const O: u8> = crate::BitWriter<'a, u32, SWRST_CFG1_SPEC, bool, O>;
113#[doc = "Field `swrst_s1a3` reader - "]
114pub type SWRST_S1A3_R = crate::BitReader<bool>;
115#[doc = "Field `swrst_s1a3` writer - "]
116pub type SWRST_S1A3_W<'a, const O: u8> = crate::BitWriter<'a, u32, SWRST_CFG1_SPEC, bool, O>;
117#[doc = "Field `swrst_s1a4` reader - "]
118pub type SWRST_S1A4_R = crate::BitReader<bool>;
119#[doc = "Field `swrst_s1a4` writer - "]
120pub type SWRST_S1A4_W<'a, const O: u8> = crate::BitWriter<'a, u32, SWRST_CFG1_SPEC, bool, O>;
121#[doc = "Field `swrst_s1a5` reader - "]
122pub type SWRST_S1A5_R = crate::BitReader<bool>;
123#[doc = "Field `swrst_s1a5` writer - "]
124pub type SWRST_S1A5_W<'a, const O: u8> = crate::BitWriter<'a, u32, SWRST_CFG1_SPEC, bool, O>;
125#[doc = "Field `swrst_s1a6` reader - "]
126pub type SWRST_S1A6_R = crate::BitReader<bool>;
127#[doc = "Field `swrst_s1a6` writer - "]
128pub type SWRST_S1A6_W<'a, const O: u8> = crate::BitWriter<'a, u32, SWRST_CFG1_SPEC, bool, O>;
129#[doc = "Field `swrst_s1a7` reader - "]
130pub type SWRST_S1A7_R = crate::BitReader<bool>;
131#[doc = "Field `swrst_s1a7` writer - "]
132pub type SWRST_S1A7_W<'a, const O: u8> = crate::BitWriter<'a, u32, SWRST_CFG1_SPEC, bool, O>;
133#[doc = "Field `swrst_s1a8` reader - "]
134pub type SWRST_S1A8_R = crate::BitReader<bool>;
135#[doc = "Field `swrst_s1a8` writer - "]
136pub type SWRST_S1A8_W<'a, const O: u8> = crate::BitWriter<'a, u32, SWRST_CFG1_SPEC, bool, O>;
137#[doc = "Field `swrst_s1a9` reader - "]
138pub type SWRST_S1A9_R = crate::BitReader<bool>;
139#[doc = "Field `swrst_s1a9` writer - "]
140pub type SWRST_S1A9_W<'a, const O: u8> = crate::BitWriter<'a, u32, SWRST_CFG1_SPEC, bool, O>;
141#[doc = "Field `swrst_s1aa` reader - "]
142pub type SWRST_S1AA_R = crate::BitReader<bool>;
143#[doc = "Field `swrst_s1aa` writer - "]
144pub type SWRST_S1AA_W<'a, const O: u8> = crate::BitWriter<'a, u32, SWRST_CFG1_SPEC, bool, O>;
145#[doc = "Field `swrst_s1ab` reader - "]
146pub type SWRST_S1AB_R = crate::BitReader<bool>;
147#[doc = "Field `swrst_s1ab` writer - "]
148pub type SWRST_S1AB_W<'a, const O: u8> = crate::BitWriter<'a, u32, SWRST_CFG1_SPEC, bool, O>;
149#[doc = "Field `swrst_s1ac` reader - "]
150pub type SWRST_S1AC_R = crate::BitReader<bool>;
151#[doc = "Field `swrst_s1ac` writer - "]
152pub type SWRST_S1AC_W<'a, const O: u8> = crate::BitWriter<'a, u32, SWRST_CFG1_SPEC, bool, O>;
153#[doc = "Field `swrst_s1ad` reader - "]
154pub type SWRST_S1AD_R = crate::BitReader<bool>;
155#[doc = "Field `swrst_s1ad` writer - "]
156pub type SWRST_S1AD_W<'a, const O: u8> = crate::BitWriter<'a, u32, SWRST_CFG1_SPEC, bool, O>;
157#[doc = "Field `swrst_s1ae` reader - "]
158pub type SWRST_S1AE_R = crate::BitReader<bool>;
159#[doc = "Field `swrst_s1ae` writer - "]
160pub type SWRST_S1AE_W<'a, const O: u8> = crate::BitWriter<'a, u32, SWRST_CFG1_SPEC, bool, O>;
161impl R {
162    #[doc = "Bit 0"]
163    #[inline(always)]
164    pub fn swrst_s10(&self) -> SWRST_S10_R {
165        SWRST_S10_R::new((self.bits & 1) != 0)
166    }
167    #[doc = "Bit 1"]
168    #[inline(always)]
169    pub fn swrst_s11(&self) -> SWRST_S11_R {
170        SWRST_S11_R::new(((self.bits >> 1) & 1) != 0)
171    }
172    #[doc = "Bit 2"]
173    #[inline(always)]
174    pub fn swrst_s12(&self) -> SWRST_S12_R {
175        SWRST_S12_R::new(((self.bits >> 2) & 1) != 0)
176    }
177    #[doc = "Bit 3"]
178    #[inline(always)]
179    pub fn swrst_s13(&self) -> SWRST_S13_R {
180        SWRST_S13_R::new(((self.bits >> 3) & 1) != 0)
181    }
182    #[doc = "Bit 4"]
183    #[inline(always)]
184    pub fn swrst_s14(&self) -> SWRST_S14_R {
185        SWRST_S14_R::new(((self.bits >> 4) & 1) != 0)
186    }
187    #[doc = "Bit 5"]
188    #[inline(always)]
189    pub fn swrst_s15(&self) -> SWRST_S15_R {
190        SWRST_S15_R::new(((self.bits >> 5) & 1) != 0)
191    }
192    #[doc = "Bit 6"]
193    #[inline(always)]
194    pub fn swrst_s16(&self) -> SWRST_S16_R {
195        SWRST_S16_R::new(((self.bits >> 6) & 1) != 0)
196    }
197    #[doc = "Bit 7"]
198    #[inline(always)]
199    pub fn swrst_s17(&self) -> SWRST_S17_R {
200        SWRST_S17_R::new(((self.bits >> 7) & 1) != 0)
201    }
202    #[doc = "Bit 8"]
203    #[inline(always)]
204    pub fn swrst_s18(&self) -> SWRST_S18_R {
205        SWRST_S18_R::new(((self.bits >> 8) & 1) != 0)
206    }
207    #[doc = "Bit 9"]
208    #[inline(always)]
209    pub fn swrst_s19(&self) -> SWRST_S19_R {
210        SWRST_S19_R::new(((self.bits >> 9) & 1) != 0)
211    }
212    #[doc = "Bit 10"]
213    #[inline(always)]
214    pub fn swrst_s1a(&self) -> SWRST_S1A_R {
215        SWRST_S1A_R::new(((self.bits >> 10) & 1) != 0)
216    }
217    #[doc = "Bit 11"]
218    #[inline(always)]
219    pub fn swrst_s1b(&self) -> SWRST_S1B_R {
220        SWRST_S1B_R::new(((self.bits >> 11) & 1) != 0)
221    }
222    #[doc = "Bit 12"]
223    #[inline(always)]
224    pub fn swrst_s1c(&self) -> SWRST_S1C_R {
225        SWRST_S1C_R::new(((self.bits >> 12) & 1) != 0)
226    }
227    #[doc = "Bit 13"]
228    #[inline(always)]
229    pub fn swrst_s1d(&self) -> SWRST_S1D_R {
230        SWRST_S1D_R::new(((self.bits >> 13) & 1) != 0)
231    }
232    #[doc = "Bit 14"]
233    #[inline(always)]
234    pub fn swrst_s1e(&self) -> SWRST_S1E_R {
235        SWRST_S1E_R::new(((self.bits >> 14) & 1) != 0)
236    }
237    #[doc = "Bit 15"]
238    #[inline(always)]
239    pub fn swrst_s1f(&self) -> SWRST_S1F_R {
240        SWRST_S1F_R::new(((self.bits >> 15) & 1) != 0)
241    }
242    #[doc = "Bit 16"]
243    #[inline(always)]
244    pub fn swrst_s1a0(&self) -> SWRST_S1A0_R {
245        SWRST_S1A0_R::new(((self.bits >> 16) & 1) != 0)
246    }
247    #[doc = "Bit 17"]
248    #[inline(always)]
249    pub fn swrst_s1a1(&self) -> SWRST_S1A1_R {
250        SWRST_S1A1_R::new(((self.bits >> 17) & 1) != 0)
251    }
252    #[doc = "Bit 18"]
253    #[inline(always)]
254    pub fn swrst_s1a2(&self) -> SWRST_S1A2_R {
255        SWRST_S1A2_R::new(((self.bits >> 18) & 1) != 0)
256    }
257    #[doc = "Bit 19"]
258    #[inline(always)]
259    pub fn swrst_s1a3(&self) -> SWRST_S1A3_R {
260        SWRST_S1A3_R::new(((self.bits >> 19) & 1) != 0)
261    }
262    #[doc = "Bit 20"]
263    #[inline(always)]
264    pub fn swrst_s1a4(&self) -> SWRST_S1A4_R {
265        SWRST_S1A4_R::new(((self.bits >> 20) & 1) != 0)
266    }
267    #[doc = "Bit 21"]
268    #[inline(always)]
269    pub fn swrst_s1a5(&self) -> SWRST_S1A5_R {
270        SWRST_S1A5_R::new(((self.bits >> 21) & 1) != 0)
271    }
272    #[doc = "Bit 22"]
273    #[inline(always)]
274    pub fn swrst_s1a6(&self) -> SWRST_S1A6_R {
275        SWRST_S1A6_R::new(((self.bits >> 22) & 1) != 0)
276    }
277    #[doc = "Bit 23"]
278    #[inline(always)]
279    pub fn swrst_s1a7(&self) -> SWRST_S1A7_R {
280        SWRST_S1A7_R::new(((self.bits >> 23) & 1) != 0)
281    }
282    #[doc = "Bit 24"]
283    #[inline(always)]
284    pub fn swrst_s1a8(&self) -> SWRST_S1A8_R {
285        SWRST_S1A8_R::new(((self.bits >> 24) & 1) != 0)
286    }
287    #[doc = "Bit 25"]
288    #[inline(always)]
289    pub fn swrst_s1a9(&self) -> SWRST_S1A9_R {
290        SWRST_S1A9_R::new(((self.bits >> 25) & 1) != 0)
291    }
292    #[doc = "Bit 26"]
293    #[inline(always)]
294    pub fn swrst_s1aa(&self) -> SWRST_S1AA_R {
295        SWRST_S1AA_R::new(((self.bits >> 26) & 1) != 0)
296    }
297    #[doc = "Bit 27"]
298    #[inline(always)]
299    pub fn swrst_s1ab(&self) -> SWRST_S1AB_R {
300        SWRST_S1AB_R::new(((self.bits >> 27) & 1) != 0)
301    }
302    #[doc = "Bit 28"]
303    #[inline(always)]
304    pub fn swrst_s1ac(&self) -> SWRST_S1AC_R {
305        SWRST_S1AC_R::new(((self.bits >> 28) & 1) != 0)
306    }
307    #[doc = "Bit 29"]
308    #[inline(always)]
309    pub fn swrst_s1ad(&self) -> SWRST_S1AD_R {
310        SWRST_S1AD_R::new(((self.bits >> 29) & 1) != 0)
311    }
312    #[doc = "Bit 30"]
313    #[inline(always)]
314    pub fn swrst_s1ae(&self) -> SWRST_S1AE_R {
315        SWRST_S1AE_R::new(((self.bits >> 30) & 1) != 0)
316    }
317}
318impl W {
319    #[doc = "Bit 0"]
320    #[inline(always)]
321    #[must_use]
322    pub fn swrst_s10(&mut self) -> SWRST_S10_W<0> {
323        SWRST_S10_W::new(self)
324    }
325    #[doc = "Bit 1"]
326    #[inline(always)]
327    #[must_use]
328    pub fn swrst_s11(&mut self) -> SWRST_S11_W<1> {
329        SWRST_S11_W::new(self)
330    }
331    #[doc = "Bit 2"]
332    #[inline(always)]
333    #[must_use]
334    pub fn swrst_s12(&mut self) -> SWRST_S12_W<2> {
335        SWRST_S12_W::new(self)
336    }
337    #[doc = "Bit 3"]
338    #[inline(always)]
339    #[must_use]
340    pub fn swrst_s13(&mut self) -> SWRST_S13_W<3> {
341        SWRST_S13_W::new(self)
342    }
343    #[doc = "Bit 4"]
344    #[inline(always)]
345    #[must_use]
346    pub fn swrst_s14(&mut self) -> SWRST_S14_W<4> {
347        SWRST_S14_W::new(self)
348    }
349    #[doc = "Bit 5"]
350    #[inline(always)]
351    #[must_use]
352    pub fn swrst_s15(&mut self) -> SWRST_S15_W<5> {
353        SWRST_S15_W::new(self)
354    }
355    #[doc = "Bit 6"]
356    #[inline(always)]
357    #[must_use]
358    pub fn swrst_s16(&mut self) -> SWRST_S16_W<6> {
359        SWRST_S16_W::new(self)
360    }
361    #[doc = "Bit 7"]
362    #[inline(always)]
363    #[must_use]
364    pub fn swrst_s17(&mut self) -> SWRST_S17_W<7> {
365        SWRST_S17_W::new(self)
366    }
367    #[doc = "Bit 8"]
368    #[inline(always)]
369    #[must_use]
370    pub fn swrst_s18(&mut self) -> SWRST_S18_W<8> {
371        SWRST_S18_W::new(self)
372    }
373    #[doc = "Bit 9"]
374    #[inline(always)]
375    #[must_use]
376    pub fn swrst_s19(&mut self) -> SWRST_S19_W<9> {
377        SWRST_S19_W::new(self)
378    }
379    #[doc = "Bit 10"]
380    #[inline(always)]
381    #[must_use]
382    pub fn swrst_s1a(&mut self) -> SWRST_S1A_W<10> {
383        SWRST_S1A_W::new(self)
384    }
385    #[doc = "Bit 11"]
386    #[inline(always)]
387    #[must_use]
388    pub fn swrst_s1b(&mut self) -> SWRST_S1B_W<11> {
389        SWRST_S1B_W::new(self)
390    }
391    #[doc = "Bit 12"]
392    #[inline(always)]
393    #[must_use]
394    pub fn swrst_s1c(&mut self) -> SWRST_S1C_W<12> {
395        SWRST_S1C_W::new(self)
396    }
397    #[doc = "Bit 13"]
398    #[inline(always)]
399    #[must_use]
400    pub fn swrst_s1d(&mut self) -> SWRST_S1D_W<13> {
401        SWRST_S1D_W::new(self)
402    }
403    #[doc = "Bit 14"]
404    #[inline(always)]
405    #[must_use]
406    pub fn swrst_s1e(&mut self) -> SWRST_S1E_W<14> {
407        SWRST_S1E_W::new(self)
408    }
409    #[doc = "Bit 15"]
410    #[inline(always)]
411    #[must_use]
412    pub fn swrst_s1f(&mut self) -> SWRST_S1F_W<15> {
413        SWRST_S1F_W::new(self)
414    }
415    #[doc = "Bit 16"]
416    #[inline(always)]
417    #[must_use]
418    pub fn swrst_s1a0(&mut self) -> SWRST_S1A0_W<16> {
419        SWRST_S1A0_W::new(self)
420    }
421    #[doc = "Bit 17"]
422    #[inline(always)]
423    #[must_use]
424    pub fn swrst_s1a1(&mut self) -> SWRST_S1A1_W<17> {
425        SWRST_S1A1_W::new(self)
426    }
427    #[doc = "Bit 18"]
428    #[inline(always)]
429    #[must_use]
430    pub fn swrst_s1a2(&mut self) -> SWRST_S1A2_W<18> {
431        SWRST_S1A2_W::new(self)
432    }
433    #[doc = "Bit 19"]
434    #[inline(always)]
435    #[must_use]
436    pub fn swrst_s1a3(&mut self) -> SWRST_S1A3_W<19> {
437        SWRST_S1A3_W::new(self)
438    }
439    #[doc = "Bit 20"]
440    #[inline(always)]
441    #[must_use]
442    pub fn swrst_s1a4(&mut self) -> SWRST_S1A4_W<20> {
443        SWRST_S1A4_W::new(self)
444    }
445    #[doc = "Bit 21"]
446    #[inline(always)]
447    #[must_use]
448    pub fn swrst_s1a5(&mut self) -> SWRST_S1A5_W<21> {
449        SWRST_S1A5_W::new(self)
450    }
451    #[doc = "Bit 22"]
452    #[inline(always)]
453    #[must_use]
454    pub fn swrst_s1a6(&mut self) -> SWRST_S1A6_W<22> {
455        SWRST_S1A6_W::new(self)
456    }
457    #[doc = "Bit 23"]
458    #[inline(always)]
459    #[must_use]
460    pub fn swrst_s1a7(&mut self) -> SWRST_S1A7_W<23> {
461        SWRST_S1A7_W::new(self)
462    }
463    #[doc = "Bit 24"]
464    #[inline(always)]
465    #[must_use]
466    pub fn swrst_s1a8(&mut self) -> SWRST_S1A8_W<24> {
467        SWRST_S1A8_W::new(self)
468    }
469    #[doc = "Bit 25"]
470    #[inline(always)]
471    #[must_use]
472    pub fn swrst_s1a9(&mut self) -> SWRST_S1A9_W<25> {
473        SWRST_S1A9_W::new(self)
474    }
475    #[doc = "Bit 26"]
476    #[inline(always)]
477    #[must_use]
478    pub fn swrst_s1aa(&mut self) -> SWRST_S1AA_W<26> {
479        SWRST_S1AA_W::new(self)
480    }
481    #[doc = "Bit 27"]
482    #[inline(always)]
483    #[must_use]
484    pub fn swrst_s1ab(&mut self) -> SWRST_S1AB_W<27> {
485        SWRST_S1AB_W::new(self)
486    }
487    #[doc = "Bit 28"]
488    #[inline(always)]
489    #[must_use]
490    pub fn swrst_s1ac(&mut self) -> SWRST_S1AC_W<28> {
491        SWRST_S1AC_W::new(self)
492    }
493    #[doc = "Bit 29"]
494    #[inline(always)]
495    #[must_use]
496    pub fn swrst_s1ad(&mut self) -> SWRST_S1AD_W<29> {
497        SWRST_S1AD_W::new(self)
498    }
499    #[doc = "Bit 30"]
500    #[inline(always)]
501    #[must_use]
502    pub fn swrst_s1ae(&mut self) -> SWRST_S1AE_W<30> {
503        SWRST_S1AE_W::new(self)
504    }
505    #[doc = "Writes raw bits to the register."]
506    #[inline(always)]
507    pub unsafe fn bits(&mut self, bits: u32) -> &mut Self {
508        self.0.bits(bits);
509        self
510    }
511}
512#[doc = "swrst_cfg1.\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 [swrst_cfg1](index.html) module"]
513pub struct SWRST_CFG1_SPEC;
514impl crate::RegisterSpec for SWRST_CFG1_SPEC {
515    type Ux = u32;
516}
517#[doc = "`read()` method returns [swrst_cfg1::R](R) reader structure"]
518impl crate::Readable for SWRST_CFG1_SPEC {
519    type Reader = R;
520}
521#[doc = "`write(|w| ..)` method takes [swrst_cfg1::W](W) writer structure"]
522impl crate::Writable for SWRST_CFG1_SPEC {
523    type Writer = W;
524    const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
525    const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
526}
527#[doc = "`reset()` method sets swrst_cfg1 to value 0"]
528impl crate::Resettable for SWRST_CFG1_SPEC {
529    const RESET_VALUE: Self::Ux = 0;
530}