1#[doc = "Register `LOCKBIT_WORD1` reader"]
2pub struct R(crate::R<LOCKBIT_WORD1_SPEC>);
3impl core::ops::Deref for R {
4 type Target = crate::R<LOCKBIT_WORD1_SPEC>;
5 #[inline(always)]
6 fn deref(&self) -> &Self::Target {
7 &self.0
8 }
9}
10impl From<crate::R<LOCKBIT_WORD1_SPEC>> for R {
11 #[inline(always)]
12 fn from(reader: crate::R<LOCKBIT_WORD1_SPEC>) -> Self {
13 R(reader)
14 }
15}
16#[doc = "Register `LOCKBIT_WORD1` writer"]
17pub struct W(crate::W<LOCKBIT_WORD1_SPEC>);
18impl core::ops::Deref for W {
19 type Target = crate::W<LOCKBIT_WORD1_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<LOCKBIT_WORD1_SPEC>> for W {
32 #[inline(always)]
33 fn from(writer: crate::W<LOCKBIT_WORD1_SPEC>) -> Self {
34 W(writer)
35 }
36}
37#[doc = "Field `LOCK_REGION_32` reader - Lock Region 32"]
38pub struct LOCK_REGION_32_R(crate::FieldReader<bool, bool>);
39impl LOCK_REGION_32_R {
40 #[inline(always)]
41 pub(crate) fn new(bits: bool) -> Self {
42 LOCK_REGION_32_R(crate::FieldReader::new(bits))
43 }
44}
45impl core::ops::Deref for LOCK_REGION_32_R {
46 type Target = crate::FieldReader<bool, bool>;
47 #[inline(always)]
48 fn deref(&self) -> &Self::Target {
49 &self.0
50 }
51}
52#[doc = "Field `LOCK_REGION_32` writer - Lock Region 32"]
53pub struct LOCK_REGION_32_W<'a> {
54 w: &'a mut W,
55}
56impl<'a> LOCK_REGION_32_W<'a> {
57 #[doc = r"Sets the field bit"]
58 #[inline(always)]
59 pub fn set_bit(self) -> &'a mut W {
60 self.bit(true)
61 }
62 #[doc = r"Clears the field bit"]
63 #[inline(always)]
64 pub fn clear_bit(self) -> &'a mut W {
65 self.bit(false)
66 }
67 #[doc = r"Writes raw bits to the field"]
68 #[inline(always)]
69 pub fn bit(self, value: bool) -> &'a mut W {
70 self.w.bits = (self.w.bits & !0x01) | (value as u32 & 0x01);
71 self.w
72 }
73}
74#[doc = "Field `LOCK_REGION_33` reader - Lock Region 33"]
75pub struct LOCK_REGION_33_R(crate::FieldReader<bool, bool>);
76impl LOCK_REGION_33_R {
77 #[inline(always)]
78 pub(crate) fn new(bits: bool) -> Self {
79 LOCK_REGION_33_R(crate::FieldReader::new(bits))
80 }
81}
82impl core::ops::Deref for LOCK_REGION_33_R {
83 type Target = crate::FieldReader<bool, bool>;
84 #[inline(always)]
85 fn deref(&self) -> &Self::Target {
86 &self.0
87 }
88}
89#[doc = "Field `LOCK_REGION_33` writer - Lock Region 33"]
90pub struct LOCK_REGION_33_W<'a> {
91 w: &'a mut W,
92}
93impl<'a> LOCK_REGION_33_W<'a> {
94 #[doc = r"Sets the field bit"]
95 #[inline(always)]
96 pub fn set_bit(self) -> &'a mut W {
97 self.bit(true)
98 }
99 #[doc = r"Clears the field bit"]
100 #[inline(always)]
101 pub fn clear_bit(self) -> &'a mut W {
102 self.bit(false)
103 }
104 #[doc = r"Writes raw bits to the field"]
105 #[inline(always)]
106 pub fn bit(self, value: bool) -> &'a mut W {
107 self.w.bits = (self.w.bits & !(0x01 << 1)) | ((value as u32 & 0x01) << 1);
108 self.w
109 }
110}
111#[doc = "Field `LOCK_REGION_34` reader - Lock Region 34"]
112pub struct LOCK_REGION_34_R(crate::FieldReader<bool, bool>);
113impl LOCK_REGION_34_R {
114 #[inline(always)]
115 pub(crate) fn new(bits: bool) -> Self {
116 LOCK_REGION_34_R(crate::FieldReader::new(bits))
117 }
118}
119impl core::ops::Deref for LOCK_REGION_34_R {
120 type Target = crate::FieldReader<bool, bool>;
121 #[inline(always)]
122 fn deref(&self) -> &Self::Target {
123 &self.0
124 }
125}
126#[doc = "Field `LOCK_REGION_34` writer - Lock Region 34"]
127pub struct LOCK_REGION_34_W<'a> {
128 w: &'a mut W,
129}
130impl<'a> LOCK_REGION_34_W<'a> {
131 #[doc = r"Sets the field bit"]
132 #[inline(always)]
133 pub fn set_bit(self) -> &'a mut W {
134 self.bit(true)
135 }
136 #[doc = r"Clears the field bit"]
137 #[inline(always)]
138 pub fn clear_bit(self) -> &'a mut W {
139 self.bit(false)
140 }
141 #[doc = r"Writes raw bits to the field"]
142 #[inline(always)]
143 pub fn bit(self, value: bool) -> &'a mut W {
144 self.w.bits = (self.w.bits & !(0x01 << 2)) | ((value as u32 & 0x01) << 2);
145 self.w
146 }
147}
148#[doc = "Field `LOCK_REGION_35` reader - Lock Region 35"]
149pub struct LOCK_REGION_35_R(crate::FieldReader<bool, bool>);
150impl LOCK_REGION_35_R {
151 #[inline(always)]
152 pub(crate) fn new(bits: bool) -> Self {
153 LOCK_REGION_35_R(crate::FieldReader::new(bits))
154 }
155}
156impl core::ops::Deref for LOCK_REGION_35_R {
157 type Target = crate::FieldReader<bool, bool>;
158 #[inline(always)]
159 fn deref(&self) -> &Self::Target {
160 &self.0
161 }
162}
163#[doc = "Field `LOCK_REGION_35` writer - Lock Region 35"]
164pub struct LOCK_REGION_35_W<'a> {
165 w: &'a mut W,
166}
167impl<'a> LOCK_REGION_35_W<'a> {
168 #[doc = r"Sets the field bit"]
169 #[inline(always)]
170 pub fn set_bit(self) -> &'a mut W {
171 self.bit(true)
172 }
173 #[doc = r"Clears the field bit"]
174 #[inline(always)]
175 pub fn clear_bit(self) -> &'a mut W {
176 self.bit(false)
177 }
178 #[doc = r"Writes raw bits to the field"]
179 #[inline(always)]
180 pub fn bit(self, value: bool) -> &'a mut W {
181 self.w.bits = (self.w.bits & !(0x01 << 3)) | ((value as u32 & 0x01) << 3);
182 self.w
183 }
184}
185#[doc = "Field `LOCK_REGION_36` reader - Lock Region 36"]
186pub struct LOCK_REGION_36_R(crate::FieldReader<bool, bool>);
187impl LOCK_REGION_36_R {
188 #[inline(always)]
189 pub(crate) fn new(bits: bool) -> Self {
190 LOCK_REGION_36_R(crate::FieldReader::new(bits))
191 }
192}
193impl core::ops::Deref for LOCK_REGION_36_R {
194 type Target = crate::FieldReader<bool, bool>;
195 #[inline(always)]
196 fn deref(&self) -> &Self::Target {
197 &self.0
198 }
199}
200#[doc = "Field `LOCK_REGION_36` writer - Lock Region 36"]
201pub struct LOCK_REGION_36_W<'a> {
202 w: &'a mut W,
203}
204impl<'a> LOCK_REGION_36_W<'a> {
205 #[doc = r"Sets the field bit"]
206 #[inline(always)]
207 pub fn set_bit(self) -> &'a mut W {
208 self.bit(true)
209 }
210 #[doc = r"Clears the field bit"]
211 #[inline(always)]
212 pub fn clear_bit(self) -> &'a mut W {
213 self.bit(false)
214 }
215 #[doc = r"Writes raw bits to the field"]
216 #[inline(always)]
217 pub fn bit(self, value: bool) -> &'a mut W {
218 self.w.bits = (self.w.bits & !(0x01 << 4)) | ((value as u32 & 0x01) << 4);
219 self.w
220 }
221}
222#[doc = "Field `LOCK_REGION_37` reader - Lock Region 37"]
223pub struct LOCK_REGION_37_R(crate::FieldReader<bool, bool>);
224impl LOCK_REGION_37_R {
225 #[inline(always)]
226 pub(crate) fn new(bits: bool) -> Self {
227 LOCK_REGION_37_R(crate::FieldReader::new(bits))
228 }
229}
230impl core::ops::Deref for LOCK_REGION_37_R {
231 type Target = crate::FieldReader<bool, bool>;
232 #[inline(always)]
233 fn deref(&self) -> &Self::Target {
234 &self.0
235 }
236}
237#[doc = "Field `LOCK_REGION_37` writer - Lock Region 37"]
238pub struct LOCK_REGION_37_W<'a> {
239 w: &'a mut W,
240}
241impl<'a> LOCK_REGION_37_W<'a> {
242 #[doc = r"Sets the field bit"]
243 #[inline(always)]
244 pub fn set_bit(self) -> &'a mut W {
245 self.bit(true)
246 }
247 #[doc = r"Clears the field bit"]
248 #[inline(always)]
249 pub fn clear_bit(self) -> &'a mut W {
250 self.bit(false)
251 }
252 #[doc = r"Writes raw bits to the field"]
253 #[inline(always)]
254 pub fn bit(self, value: bool) -> &'a mut W {
255 self.w.bits = (self.w.bits & !(0x01 << 5)) | ((value as u32 & 0x01) << 5);
256 self.w
257 }
258}
259#[doc = "Field `LOCK_REGION_38` reader - Lock Region 38"]
260pub struct LOCK_REGION_38_R(crate::FieldReader<bool, bool>);
261impl LOCK_REGION_38_R {
262 #[inline(always)]
263 pub(crate) fn new(bits: bool) -> Self {
264 LOCK_REGION_38_R(crate::FieldReader::new(bits))
265 }
266}
267impl core::ops::Deref for LOCK_REGION_38_R {
268 type Target = crate::FieldReader<bool, bool>;
269 #[inline(always)]
270 fn deref(&self) -> &Self::Target {
271 &self.0
272 }
273}
274#[doc = "Field `LOCK_REGION_38` writer - Lock Region 38"]
275pub struct LOCK_REGION_38_W<'a> {
276 w: &'a mut W,
277}
278impl<'a> LOCK_REGION_38_W<'a> {
279 #[doc = r"Sets the field bit"]
280 #[inline(always)]
281 pub fn set_bit(self) -> &'a mut W {
282 self.bit(true)
283 }
284 #[doc = r"Clears the field bit"]
285 #[inline(always)]
286 pub fn clear_bit(self) -> &'a mut W {
287 self.bit(false)
288 }
289 #[doc = r"Writes raw bits to the field"]
290 #[inline(always)]
291 pub fn bit(self, value: bool) -> &'a mut W {
292 self.w.bits = (self.w.bits & !(0x01 << 6)) | ((value as u32 & 0x01) << 6);
293 self.w
294 }
295}
296#[doc = "Field `LOCK_REGION_39` reader - Lock Region 39"]
297pub struct LOCK_REGION_39_R(crate::FieldReader<bool, bool>);
298impl LOCK_REGION_39_R {
299 #[inline(always)]
300 pub(crate) fn new(bits: bool) -> Self {
301 LOCK_REGION_39_R(crate::FieldReader::new(bits))
302 }
303}
304impl core::ops::Deref for LOCK_REGION_39_R {
305 type Target = crate::FieldReader<bool, bool>;
306 #[inline(always)]
307 fn deref(&self) -> &Self::Target {
308 &self.0
309 }
310}
311#[doc = "Field `LOCK_REGION_39` writer - Lock Region 39"]
312pub struct LOCK_REGION_39_W<'a> {
313 w: &'a mut W,
314}
315impl<'a> LOCK_REGION_39_W<'a> {
316 #[doc = r"Sets the field bit"]
317 #[inline(always)]
318 pub fn set_bit(self) -> &'a mut W {
319 self.bit(true)
320 }
321 #[doc = r"Clears the field bit"]
322 #[inline(always)]
323 pub fn clear_bit(self) -> &'a mut W {
324 self.bit(false)
325 }
326 #[doc = r"Writes raw bits to the field"]
327 #[inline(always)]
328 pub fn bit(self, value: bool) -> &'a mut W {
329 self.w.bits = (self.w.bits & !(0x01 << 7)) | ((value as u32 & 0x01) << 7);
330 self.w
331 }
332}
333#[doc = "Field `LOCK_REGION_40` reader - Lock Region 40"]
334pub struct LOCK_REGION_40_R(crate::FieldReader<bool, bool>);
335impl LOCK_REGION_40_R {
336 #[inline(always)]
337 pub(crate) fn new(bits: bool) -> Self {
338 LOCK_REGION_40_R(crate::FieldReader::new(bits))
339 }
340}
341impl core::ops::Deref for LOCK_REGION_40_R {
342 type Target = crate::FieldReader<bool, bool>;
343 #[inline(always)]
344 fn deref(&self) -> &Self::Target {
345 &self.0
346 }
347}
348#[doc = "Field `LOCK_REGION_40` writer - Lock Region 40"]
349pub struct LOCK_REGION_40_W<'a> {
350 w: &'a mut W,
351}
352impl<'a> LOCK_REGION_40_W<'a> {
353 #[doc = r"Sets the field bit"]
354 #[inline(always)]
355 pub fn set_bit(self) -> &'a mut W {
356 self.bit(true)
357 }
358 #[doc = r"Clears the field bit"]
359 #[inline(always)]
360 pub fn clear_bit(self) -> &'a mut W {
361 self.bit(false)
362 }
363 #[doc = r"Writes raw bits to the field"]
364 #[inline(always)]
365 pub fn bit(self, value: bool) -> &'a mut W {
366 self.w.bits = (self.w.bits & !(0x01 << 8)) | ((value as u32 & 0x01) << 8);
367 self.w
368 }
369}
370#[doc = "Field `LOCK_REGION_41` reader - Lock Region 41"]
371pub struct LOCK_REGION_41_R(crate::FieldReader<bool, bool>);
372impl LOCK_REGION_41_R {
373 #[inline(always)]
374 pub(crate) fn new(bits: bool) -> Self {
375 LOCK_REGION_41_R(crate::FieldReader::new(bits))
376 }
377}
378impl core::ops::Deref for LOCK_REGION_41_R {
379 type Target = crate::FieldReader<bool, bool>;
380 #[inline(always)]
381 fn deref(&self) -> &Self::Target {
382 &self.0
383 }
384}
385#[doc = "Field `LOCK_REGION_41` writer - Lock Region 41"]
386pub struct LOCK_REGION_41_W<'a> {
387 w: &'a mut W,
388}
389impl<'a> LOCK_REGION_41_W<'a> {
390 #[doc = r"Sets the field bit"]
391 #[inline(always)]
392 pub fn set_bit(self) -> &'a mut W {
393 self.bit(true)
394 }
395 #[doc = r"Clears the field bit"]
396 #[inline(always)]
397 pub fn clear_bit(self) -> &'a mut W {
398 self.bit(false)
399 }
400 #[doc = r"Writes raw bits to the field"]
401 #[inline(always)]
402 pub fn bit(self, value: bool) -> &'a mut W {
403 self.w.bits = (self.w.bits & !(0x01 << 9)) | ((value as u32 & 0x01) << 9);
404 self.w
405 }
406}
407#[doc = "Field `LOCK_REGION_42` reader - Lock Region 42"]
408pub struct LOCK_REGION_42_R(crate::FieldReader<bool, bool>);
409impl LOCK_REGION_42_R {
410 #[inline(always)]
411 pub(crate) fn new(bits: bool) -> Self {
412 LOCK_REGION_42_R(crate::FieldReader::new(bits))
413 }
414}
415impl core::ops::Deref for LOCK_REGION_42_R {
416 type Target = crate::FieldReader<bool, bool>;
417 #[inline(always)]
418 fn deref(&self) -> &Self::Target {
419 &self.0
420 }
421}
422#[doc = "Field `LOCK_REGION_42` writer - Lock Region 42"]
423pub struct LOCK_REGION_42_W<'a> {
424 w: &'a mut W,
425}
426impl<'a> LOCK_REGION_42_W<'a> {
427 #[doc = r"Sets the field bit"]
428 #[inline(always)]
429 pub fn set_bit(self) -> &'a mut W {
430 self.bit(true)
431 }
432 #[doc = r"Clears the field bit"]
433 #[inline(always)]
434 pub fn clear_bit(self) -> &'a mut W {
435 self.bit(false)
436 }
437 #[doc = r"Writes raw bits to the field"]
438 #[inline(always)]
439 pub fn bit(self, value: bool) -> &'a mut W {
440 self.w.bits = (self.w.bits & !(0x01 << 10)) | ((value as u32 & 0x01) << 10);
441 self.w
442 }
443}
444#[doc = "Field `LOCK_REGION_43` reader - Lock Region 43"]
445pub struct LOCK_REGION_43_R(crate::FieldReader<bool, bool>);
446impl LOCK_REGION_43_R {
447 #[inline(always)]
448 pub(crate) fn new(bits: bool) -> Self {
449 LOCK_REGION_43_R(crate::FieldReader::new(bits))
450 }
451}
452impl core::ops::Deref for LOCK_REGION_43_R {
453 type Target = crate::FieldReader<bool, bool>;
454 #[inline(always)]
455 fn deref(&self) -> &Self::Target {
456 &self.0
457 }
458}
459#[doc = "Field `LOCK_REGION_43` writer - Lock Region 43"]
460pub struct LOCK_REGION_43_W<'a> {
461 w: &'a mut W,
462}
463impl<'a> LOCK_REGION_43_W<'a> {
464 #[doc = r"Sets the field bit"]
465 #[inline(always)]
466 pub fn set_bit(self) -> &'a mut W {
467 self.bit(true)
468 }
469 #[doc = r"Clears the field bit"]
470 #[inline(always)]
471 pub fn clear_bit(self) -> &'a mut W {
472 self.bit(false)
473 }
474 #[doc = r"Writes raw bits to the field"]
475 #[inline(always)]
476 pub fn bit(self, value: bool) -> &'a mut W {
477 self.w.bits = (self.w.bits & !(0x01 << 11)) | ((value as u32 & 0x01) << 11);
478 self.w
479 }
480}
481#[doc = "Field `LOCK_REGION_44` reader - Lock Region 44"]
482pub struct LOCK_REGION_44_R(crate::FieldReader<bool, bool>);
483impl LOCK_REGION_44_R {
484 #[inline(always)]
485 pub(crate) fn new(bits: bool) -> Self {
486 LOCK_REGION_44_R(crate::FieldReader::new(bits))
487 }
488}
489impl core::ops::Deref for LOCK_REGION_44_R {
490 type Target = crate::FieldReader<bool, bool>;
491 #[inline(always)]
492 fn deref(&self) -> &Self::Target {
493 &self.0
494 }
495}
496#[doc = "Field `LOCK_REGION_44` writer - Lock Region 44"]
497pub struct LOCK_REGION_44_W<'a> {
498 w: &'a mut W,
499}
500impl<'a> LOCK_REGION_44_W<'a> {
501 #[doc = r"Sets the field bit"]
502 #[inline(always)]
503 pub fn set_bit(self) -> &'a mut W {
504 self.bit(true)
505 }
506 #[doc = r"Clears the field bit"]
507 #[inline(always)]
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(always)]
513 pub fn bit(self, value: bool) -> &'a mut W {
514 self.w.bits = (self.w.bits & !(0x01 << 12)) | ((value as u32 & 0x01) << 12);
515 self.w
516 }
517}
518#[doc = "Field `LOCK_REGION_45` reader - Lock Region 45"]
519pub struct LOCK_REGION_45_R(crate::FieldReader<bool, bool>);
520impl LOCK_REGION_45_R {
521 #[inline(always)]
522 pub(crate) fn new(bits: bool) -> Self {
523 LOCK_REGION_45_R(crate::FieldReader::new(bits))
524 }
525}
526impl core::ops::Deref for LOCK_REGION_45_R {
527 type Target = crate::FieldReader<bool, bool>;
528 #[inline(always)]
529 fn deref(&self) -> &Self::Target {
530 &self.0
531 }
532}
533#[doc = "Field `LOCK_REGION_45` writer - Lock Region 45"]
534pub struct LOCK_REGION_45_W<'a> {
535 w: &'a mut W,
536}
537impl<'a> LOCK_REGION_45_W<'a> {
538 #[doc = r"Sets the field bit"]
539 #[inline(always)]
540 pub fn set_bit(self) -> &'a mut W {
541 self.bit(true)
542 }
543 #[doc = r"Clears the field bit"]
544 #[inline(always)]
545 pub fn clear_bit(self) -> &'a mut W {
546 self.bit(false)
547 }
548 #[doc = r"Writes raw bits to the field"]
549 #[inline(always)]
550 pub fn bit(self, value: bool) -> &'a mut W {
551 self.w.bits = (self.w.bits & !(0x01 << 13)) | ((value as u32 & 0x01) << 13);
552 self.w
553 }
554}
555#[doc = "Field `LOCK_REGION_46` reader - Lock Region 46"]
556pub struct LOCK_REGION_46_R(crate::FieldReader<bool, bool>);
557impl LOCK_REGION_46_R {
558 #[inline(always)]
559 pub(crate) fn new(bits: bool) -> Self {
560 LOCK_REGION_46_R(crate::FieldReader::new(bits))
561 }
562}
563impl core::ops::Deref for LOCK_REGION_46_R {
564 type Target = crate::FieldReader<bool, bool>;
565 #[inline(always)]
566 fn deref(&self) -> &Self::Target {
567 &self.0
568 }
569}
570#[doc = "Field `LOCK_REGION_46` writer - Lock Region 46"]
571pub struct LOCK_REGION_46_W<'a> {
572 w: &'a mut W,
573}
574impl<'a> LOCK_REGION_46_W<'a> {
575 #[doc = r"Sets the field bit"]
576 #[inline(always)]
577 pub fn set_bit(self) -> &'a mut W {
578 self.bit(true)
579 }
580 #[doc = r"Clears the field bit"]
581 #[inline(always)]
582 pub fn clear_bit(self) -> &'a mut W {
583 self.bit(false)
584 }
585 #[doc = r"Writes raw bits to the field"]
586 #[inline(always)]
587 pub fn bit(self, value: bool) -> &'a mut W {
588 self.w.bits = (self.w.bits & !(0x01 << 14)) | ((value as u32 & 0x01) << 14);
589 self.w
590 }
591}
592#[doc = "Field `LOCK_REGION_47` reader - Lock Region 47"]
593pub struct LOCK_REGION_47_R(crate::FieldReader<bool, bool>);
594impl LOCK_REGION_47_R {
595 #[inline(always)]
596 pub(crate) fn new(bits: bool) -> Self {
597 LOCK_REGION_47_R(crate::FieldReader::new(bits))
598 }
599}
600impl core::ops::Deref for LOCK_REGION_47_R {
601 type Target = crate::FieldReader<bool, bool>;
602 #[inline(always)]
603 fn deref(&self) -> &Self::Target {
604 &self.0
605 }
606}
607#[doc = "Field `LOCK_REGION_47` writer - Lock Region 47"]
608pub struct LOCK_REGION_47_W<'a> {
609 w: &'a mut W,
610}
611impl<'a> LOCK_REGION_47_W<'a> {
612 #[doc = r"Sets the field bit"]
613 #[inline(always)]
614 pub fn set_bit(self) -> &'a mut W {
615 self.bit(true)
616 }
617 #[doc = r"Clears the field bit"]
618 #[inline(always)]
619 pub fn clear_bit(self) -> &'a mut W {
620 self.bit(false)
621 }
622 #[doc = r"Writes raw bits to the field"]
623 #[inline(always)]
624 pub fn bit(self, value: bool) -> &'a mut W {
625 self.w.bits = (self.w.bits & !(0x01 << 15)) | ((value as u32 & 0x01) << 15);
626 self.w
627 }
628}
629#[doc = "Field `LOCK_REGION_48` reader - Lock Region 48"]
630pub struct LOCK_REGION_48_R(crate::FieldReader<bool, bool>);
631impl LOCK_REGION_48_R {
632 #[inline(always)]
633 pub(crate) fn new(bits: bool) -> Self {
634 LOCK_REGION_48_R(crate::FieldReader::new(bits))
635 }
636}
637impl core::ops::Deref for LOCK_REGION_48_R {
638 type Target = crate::FieldReader<bool, bool>;
639 #[inline(always)]
640 fn deref(&self) -> &Self::Target {
641 &self.0
642 }
643}
644#[doc = "Field `LOCK_REGION_48` writer - Lock Region 48"]
645pub struct LOCK_REGION_48_W<'a> {
646 w: &'a mut W,
647}
648impl<'a> LOCK_REGION_48_W<'a> {
649 #[doc = r"Sets the field bit"]
650 #[inline(always)]
651 pub fn set_bit(self) -> &'a mut W {
652 self.bit(true)
653 }
654 #[doc = r"Clears the field bit"]
655 #[inline(always)]
656 pub fn clear_bit(self) -> &'a mut W {
657 self.bit(false)
658 }
659 #[doc = r"Writes raw bits to the field"]
660 #[inline(always)]
661 pub fn bit(self, value: bool) -> &'a mut W {
662 self.w.bits = (self.w.bits & !(0x01 << 16)) | ((value as u32 & 0x01) << 16);
663 self.w
664 }
665}
666#[doc = "Field `LOCK_REGION_49` reader - Lock Region 49"]
667pub struct LOCK_REGION_49_R(crate::FieldReader<bool, bool>);
668impl LOCK_REGION_49_R {
669 #[inline(always)]
670 pub(crate) fn new(bits: bool) -> Self {
671 LOCK_REGION_49_R(crate::FieldReader::new(bits))
672 }
673}
674impl core::ops::Deref for LOCK_REGION_49_R {
675 type Target = crate::FieldReader<bool, bool>;
676 #[inline(always)]
677 fn deref(&self) -> &Self::Target {
678 &self.0
679 }
680}
681#[doc = "Field `LOCK_REGION_49` writer - Lock Region 49"]
682pub struct LOCK_REGION_49_W<'a> {
683 w: &'a mut W,
684}
685impl<'a> LOCK_REGION_49_W<'a> {
686 #[doc = r"Sets the field bit"]
687 #[inline(always)]
688 pub fn set_bit(self) -> &'a mut W {
689 self.bit(true)
690 }
691 #[doc = r"Clears the field bit"]
692 #[inline(always)]
693 pub fn clear_bit(self) -> &'a mut W {
694 self.bit(false)
695 }
696 #[doc = r"Writes raw bits to the field"]
697 #[inline(always)]
698 pub fn bit(self, value: bool) -> &'a mut W {
699 self.w.bits = (self.w.bits & !(0x01 << 17)) | ((value as u32 & 0x01) << 17);
700 self.w
701 }
702}
703#[doc = "Field `LOCK_REGION_50` reader - Lock Region 50"]
704pub struct LOCK_REGION_50_R(crate::FieldReader<bool, bool>);
705impl LOCK_REGION_50_R {
706 #[inline(always)]
707 pub(crate) fn new(bits: bool) -> Self {
708 LOCK_REGION_50_R(crate::FieldReader::new(bits))
709 }
710}
711impl core::ops::Deref for LOCK_REGION_50_R {
712 type Target = crate::FieldReader<bool, bool>;
713 #[inline(always)]
714 fn deref(&self) -> &Self::Target {
715 &self.0
716 }
717}
718#[doc = "Field `LOCK_REGION_50` writer - Lock Region 50"]
719pub struct LOCK_REGION_50_W<'a> {
720 w: &'a mut W,
721}
722impl<'a> LOCK_REGION_50_W<'a> {
723 #[doc = r"Sets the field bit"]
724 #[inline(always)]
725 pub fn set_bit(self) -> &'a mut W {
726 self.bit(true)
727 }
728 #[doc = r"Clears the field bit"]
729 #[inline(always)]
730 pub fn clear_bit(self) -> &'a mut W {
731 self.bit(false)
732 }
733 #[doc = r"Writes raw bits to the field"]
734 #[inline(always)]
735 pub fn bit(self, value: bool) -> &'a mut W {
736 self.w.bits = (self.w.bits & !(0x01 << 18)) | ((value as u32 & 0x01) << 18);
737 self.w
738 }
739}
740#[doc = "Field `LOCK_REGION_51` reader - Lock Region 51"]
741pub struct LOCK_REGION_51_R(crate::FieldReader<bool, bool>);
742impl LOCK_REGION_51_R {
743 #[inline(always)]
744 pub(crate) fn new(bits: bool) -> Self {
745 LOCK_REGION_51_R(crate::FieldReader::new(bits))
746 }
747}
748impl core::ops::Deref for LOCK_REGION_51_R {
749 type Target = crate::FieldReader<bool, bool>;
750 #[inline(always)]
751 fn deref(&self) -> &Self::Target {
752 &self.0
753 }
754}
755#[doc = "Field `LOCK_REGION_51` writer - Lock Region 51"]
756pub struct LOCK_REGION_51_W<'a> {
757 w: &'a mut W,
758}
759impl<'a> LOCK_REGION_51_W<'a> {
760 #[doc = r"Sets the field bit"]
761 #[inline(always)]
762 pub fn set_bit(self) -> &'a mut W {
763 self.bit(true)
764 }
765 #[doc = r"Clears the field bit"]
766 #[inline(always)]
767 pub fn clear_bit(self) -> &'a mut W {
768 self.bit(false)
769 }
770 #[doc = r"Writes raw bits to the field"]
771 #[inline(always)]
772 pub fn bit(self, value: bool) -> &'a mut W {
773 self.w.bits = (self.w.bits & !(0x01 << 19)) | ((value as u32 & 0x01) << 19);
774 self.w
775 }
776}
777#[doc = "Field `LOCK_REGION_52` reader - Lock Region 52"]
778pub struct LOCK_REGION_52_R(crate::FieldReader<bool, bool>);
779impl LOCK_REGION_52_R {
780 #[inline(always)]
781 pub(crate) fn new(bits: bool) -> Self {
782 LOCK_REGION_52_R(crate::FieldReader::new(bits))
783 }
784}
785impl core::ops::Deref for LOCK_REGION_52_R {
786 type Target = crate::FieldReader<bool, bool>;
787 #[inline(always)]
788 fn deref(&self) -> &Self::Target {
789 &self.0
790 }
791}
792#[doc = "Field `LOCK_REGION_52` writer - Lock Region 52"]
793pub struct LOCK_REGION_52_W<'a> {
794 w: &'a mut W,
795}
796impl<'a> LOCK_REGION_52_W<'a> {
797 #[doc = r"Sets the field bit"]
798 #[inline(always)]
799 pub fn set_bit(self) -> &'a mut W {
800 self.bit(true)
801 }
802 #[doc = r"Clears the field bit"]
803 #[inline(always)]
804 pub fn clear_bit(self) -> &'a mut W {
805 self.bit(false)
806 }
807 #[doc = r"Writes raw bits to the field"]
808 #[inline(always)]
809 pub fn bit(self, value: bool) -> &'a mut W {
810 self.w.bits = (self.w.bits & !(0x01 << 20)) | ((value as u32 & 0x01) << 20);
811 self.w
812 }
813}
814#[doc = "Field `LOCK_REGION_53` reader - Lock Region 53"]
815pub struct LOCK_REGION_53_R(crate::FieldReader<bool, bool>);
816impl LOCK_REGION_53_R {
817 #[inline(always)]
818 pub(crate) fn new(bits: bool) -> Self {
819 LOCK_REGION_53_R(crate::FieldReader::new(bits))
820 }
821}
822impl core::ops::Deref for LOCK_REGION_53_R {
823 type Target = crate::FieldReader<bool, bool>;
824 #[inline(always)]
825 fn deref(&self) -> &Self::Target {
826 &self.0
827 }
828}
829#[doc = "Field `LOCK_REGION_53` writer - Lock Region 53"]
830pub struct LOCK_REGION_53_W<'a> {
831 w: &'a mut W,
832}
833impl<'a> LOCK_REGION_53_W<'a> {
834 #[doc = r"Sets the field bit"]
835 #[inline(always)]
836 pub fn set_bit(self) -> &'a mut W {
837 self.bit(true)
838 }
839 #[doc = r"Clears the field bit"]
840 #[inline(always)]
841 pub fn clear_bit(self) -> &'a mut W {
842 self.bit(false)
843 }
844 #[doc = r"Writes raw bits to the field"]
845 #[inline(always)]
846 pub fn bit(self, value: bool) -> &'a mut W {
847 self.w.bits = (self.w.bits & !(0x01 << 21)) | ((value as u32 & 0x01) << 21);
848 self.w
849 }
850}
851#[doc = "Field `LOCK_REGION_54` reader - Lock Region 54"]
852pub struct LOCK_REGION_54_R(crate::FieldReader<bool, bool>);
853impl LOCK_REGION_54_R {
854 #[inline(always)]
855 pub(crate) fn new(bits: bool) -> Self {
856 LOCK_REGION_54_R(crate::FieldReader::new(bits))
857 }
858}
859impl core::ops::Deref for LOCK_REGION_54_R {
860 type Target = crate::FieldReader<bool, bool>;
861 #[inline(always)]
862 fn deref(&self) -> &Self::Target {
863 &self.0
864 }
865}
866#[doc = "Field `LOCK_REGION_54` writer - Lock Region 54"]
867pub struct LOCK_REGION_54_W<'a> {
868 w: &'a mut W,
869}
870impl<'a> LOCK_REGION_54_W<'a> {
871 #[doc = r"Sets the field bit"]
872 #[inline(always)]
873 pub fn set_bit(self) -> &'a mut W {
874 self.bit(true)
875 }
876 #[doc = r"Clears the field bit"]
877 #[inline(always)]
878 pub fn clear_bit(self) -> &'a mut W {
879 self.bit(false)
880 }
881 #[doc = r"Writes raw bits to the field"]
882 #[inline(always)]
883 pub fn bit(self, value: bool) -> &'a mut W {
884 self.w.bits = (self.w.bits & !(0x01 << 22)) | ((value as u32 & 0x01) << 22);
885 self.w
886 }
887}
888#[doc = "Field `LOCK_REGION_55` reader - Lock Region 55"]
889pub struct LOCK_REGION_55_R(crate::FieldReader<bool, bool>);
890impl LOCK_REGION_55_R {
891 #[inline(always)]
892 pub(crate) fn new(bits: bool) -> Self {
893 LOCK_REGION_55_R(crate::FieldReader::new(bits))
894 }
895}
896impl core::ops::Deref for LOCK_REGION_55_R {
897 type Target = crate::FieldReader<bool, bool>;
898 #[inline(always)]
899 fn deref(&self) -> &Self::Target {
900 &self.0
901 }
902}
903#[doc = "Field `LOCK_REGION_55` writer - Lock Region 55"]
904pub struct LOCK_REGION_55_W<'a> {
905 w: &'a mut W,
906}
907impl<'a> LOCK_REGION_55_W<'a> {
908 #[doc = r"Sets the field bit"]
909 #[inline(always)]
910 pub fn set_bit(self) -> &'a mut W {
911 self.bit(true)
912 }
913 #[doc = r"Clears the field bit"]
914 #[inline(always)]
915 pub fn clear_bit(self) -> &'a mut W {
916 self.bit(false)
917 }
918 #[doc = r"Writes raw bits to the field"]
919 #[inline(always)]
920 pub fn bit(self, value: bool) -> &'a mut W {
921 self.w.bits = (self.w.bits & !(0x01 << 23)) | ((value as u32 & 0x01) << 23);
922 self.w
923 }
924}
925#[doc = "Field `LOCK_REGION_56` reader - Lock Region 56"]
926pub struct LOCK_REGION_56_R(crate::FieldReader<bool, bool>);
927impl LOCK_REGION_56_R {
928 #[inline(always)]
929 pub(crate) fn new(bits: bool) -> Self {
930 LOCK_REGION_56_R(crate::FieldReader::new(bits))
931 }
932}
933impl core::ops::Deref for LOCK_REGION_56_R {
934 type Target = crate::FieldReader<bool, bool>;
935 #[inline(always)]
936 fn deref(&self) -> &Self::Target {
937 &self.0
938 }
939}
940#[doc = "Field `LOCK_REGION_56` writer - Lock Region 56"]
941pub struct LOCK_REGION_56_W<'a> {
942 w: &'a mut W,
943}
944impl<'a> LOCK_REGION_56_W<'a> {
945 #[doc = r"Sets the field bit"]
946 #[inline(always)]
947 pub fn set_bit(self) -> &'a mut W {
948 self.bit(true)
949 }
950 #[doc = r"Clears the field bit"]
951 #[inline(always)]
952 pub fn clear_bit(self) -> &'a mut W {
953 self.bit(false)
954 }
955 #[doc = r"Writes raw bits to the field"]
956 #[inline(always)]
957 pub fn bit(self, value: bool) -> &'a mut W {
958 self.w.bits = (self.w.bits & !(0x01 << 24)) | ((value as u32 & 0x01) << 24);
959 self.w
960 }
961}
962#[doc = "Field `LOCK_REGION_57` reader - Lock Region 57"]
963pub struct LOCK_REGION_57_R(crate::FieldReader<bool, bool>);
964impl LOCK_REGION_57_R {
965 #[inline(always)]
966 pub(crate) fn new(bits: bool) -> Self {
967 LOCK_REGION_57_R(crate::FieldReader::new(bits))
968 }
969}
970impl core::ops::Deref for LOCK_REGION_57_R {
971 type Target = crate::FieldReader<bool, bool>;
972 #[inline(always)]
973 fn deref(&self) -> &Self::Target {
974 &self.0
975 }
976}
977#[doc = "Field `LOCK_REGION_57` writer - Lock Region 57"]
978pub struct LOCK_REGION_57_W<'a> {
979 w: &'a mut W,
980}
981impl<'a> LOCK_REGION_57_W<'a> {
982 #[doc = r"Sets the field bit"]
983 #[inline(always)]
984 pub fn set_bit(self) -> &'a mut W {
985 self.bit(true)
986 }
987 #[doc = r"Clears the field bit"]
988 #[inline(always)]
989 pub fn clear_bit(self) -> &'a mut W {
990 self.bit(false)
991 }
992 #[doc = r"Writes raw bits to the field"]
993 #[inline(always)]
994 pub fn bit(self, value: bool) -> &'a mut W {
995 self.w.bits = (self.w.bits & !(0x01 << 25)) | ((value as u32 & 0x01) << 25);
996 self.w
997 }
998}
999#[doc = "Field `LOCK_REGION_58` reader - Lock Region 58"]
1000pub struct LOCK_REGION_58_R(crate::FieldReader<bool, bool>);
1001impl LOCK_REGION_58_R {
1002 #[inline(always)]
1003 pub(crate) fn new(bits: bool) -> Self {
1004 LOCK_REGION_58_R(crate::FieldReader::new(bits))
1005 }
1006}
1007impl core::ops::Deref for LOCK_REGION_58_R {
1008 type Target = crate::FieldReader<bool, bool>;
1009 #[inline(always)]
1010 fn deref(&self) -> &Self::Target {
1011 &self.0
1012 }
1013}
1014#[doc = "Field `LOCK_REGION_58` writer - Lock Region 58"]
1015pub struct LOCK_REGION_58_W<'a> {
1016 w: &'a mut W,
1017}
1018impl<'a> LOCK_REGION_58_W<'a> {
1019 #[doc = r"Sets the field bit"]
1020 #[inline(always)]
1021 pub fn set_bit(self) -> &'a mut W {
1022 self.bit(true)
1023 }
1024 #[doc = r"Clears the field bit"]
1025 #[inline(always)]
1026 pub fn clear_bit(self) -> &'a mut W {
1027 self.bit(false)
1028 }
1029 #[doc = r"Writes raw bits to the field"]
1030 #[inline(always)]
1031 pub fn bit(self, value: bool) -> &'a mut W {
1032 self.w.bits = (self.w.bits & !(0x01 << 26)) | ((value as u32 & 0x01) << 26);
1033 self.w
1034 }
1035}
1036#[doc = "Field `LOCK_REGION_59` reader - Lock Region 59"]
1037pub struct LOCK_REGION_59_R(crate::FieldReader<bool, bool>);
1038impl LOCK_REGION_59_R {
1039 #[inline(always)]
1040 pub(crate) fn new(bits: bool) -> Self {
1041 LOCK_REGION_59_R(crate::FieldReader::new(bits))
1042 }
1043}
1044impl core::ops::Deref for LOCK_REGION_59_R {
1045 type Target = crate::FieldReader<bool, bool>;
1046 #[inline(always)]
1047 fn deref(&self) -> &Self::Target {
1048 &self.0
1049 }
1050}
1051#[doc = "Field `LOCK_REGION_59` writer - Lock Region 59"]
1052pub struct LOCK_REGION_59_W<'a> {
1053 w: &'a mut W,
1054}
1055impl<'a> LOCK_REGION_59_W<'a> {
1056 #[doc = r"Sets the field bit"]
1057 #[inline(always)]
1058 pub fn set_bit(self) -> &'a mut W {
1059 self.bit(true)
1060 }
1061 #[doc = r"Clears the field bit"]
1062 #[inline(always)]
1063 pub fn clear_bit(self) -> &'a mut W {
1064 self.bit(false)
1065 }
1066 #[doc = r"Writes raw bits to the field"]
1067 #[inline(always)]
1068 pub fn bit(self, value: bool) -> &'a mut W {
1069 self.w.bits = (self.w.bits & !(0x01 << 27)) | ((value as u32 & 0x01) << 27);
1070 self.w
1071 }
1072}
1073#[doc = "Field `LOCK_REGION_60` reader - Lock Region 60"]
1074pub struct LOCK_REGION_60_R(crate::FieldReader<bool, bool>);
1075impl LOCK_REGION_60_R {
1076 #[inline(always)]
1077 pub(crate) fn new(bits: bool) -> Self {
1078 LOCK_REGION_60_R(crate::FieldReader::new(bits))
1079 }
1080}
1081impl core::ops::Deref for LOCK_REGION_60_R {
1082 type Target = crate::FieldReader<bool, bool>;
1083 #[inline(always)]
1084 fn deref(&self) -> &Self::Target {
1085 &self.0
1086 }
1087}
1088#[doc = "Field `LOCK_REGION_60` writer - Lock Region 60"]
1089pub struct LOCK_REGION_60_W<'a> {
1090 w: &'a mut W,
1091}
1092impl<'a> LOCK_REGION_60_W<'a> {
1093 #[doc = r"Sets the field bit"]
1094 #[inline(always)]
1095 pub fn set_bit(self) -> &'a mut W {
1096 self.bit(true)
1097 }
1098 #[doc = r"Clears the field bit"]
1099 #[inline(always)]
1100 pub fn clear_bit(self) -> &'a mut W {
1101 self.bit(false)
1102 }
1103 #[doc = r"Writes raw bits to the field"]
1104 #[inline(always)]
1105 pub fn bit(self, value: bool) -> &'a mut W {
1106 self.w.bits = (self.w.bits & !(0x01 << 28)) | ((value as u32 & 0x01) << 28);
1107 self.w
1108 }
1109}
1110#[doc = "Field `LOCK_REGION_61` reader - Lock Region 61"]
1111pub struct LOCK_REGION_61_R(crate::FieldReader<bool, bool>);
1112impl LOCK_REGION_61_R {
1113 #[inline(always)]
1114 pub(crate) fn new(bits: bool) -> Self {
1115 LOCK_REGION_61_R(crate::FieldReader::new(bits))
1116 }
1117}
1118impl core::ops::Deref for LOCK_REGION_61_R {
1119 type Target = crate::FieldReader<bool, bool>;
1120 #[inline(always)]
1121 fn deref(&self) -> &Self::Target {
1122 &self.0
1123 }
1124}
1125#[doc = "Field `LOCK_REGION_61` writer - Lock Region 61"]
1126pub struct LOCK_REGION_61_W<'a> {
1127 w: &'a mut W,
1128}
1129impl<'a> LOCK_REGION_61_W<'a> {
1130 #[doc = r"Sets the field bit"]
1131 #[inline(always)]
1132 pub fn set_bit(self) -> &'a mut W {
1133 self.bit(true)
1134 }
1135 #[doc = r"Clears the field bit"]
1136 #[inline(always)]
1137 pub fn clear_bit(self) -> &'a mut W {
1138 self.bit(false)
1139 }
1140 #[doc = r"Writes raw bits to the field"]
1141 #[inline(always)]
1142 pub fn bit(self, value: bool) -> &'a mut W {
1143 self.w.bits = (self.w.bits & !(0x01 << 29)) | ((value as u32 & 0x01) << 29);
1144 self.w
1145 }
1146}
1147#[doc = "Field `LOCK_REGION_62` reader - Lock Region 62"]
1148pub struct LOCK_REGION_62_R(crate::FieldReader<bool, bool>);
1149impl LOCK_REGION_62_R {
1150 #[inline(always)]
1151 pub(crate) fn new(bits: bool) -> Self {
1152 LOCK_REGION_62_R(crate::FieldReader::new(bits))
1153 }
1154}
1155impl core::ops::Deref for LOCK_REGION_62_R {
1156 type Target = crate::FieldReader<bool, bool>;
1157 #[inline(always)]
1158 fn deref(&self) -> &Self::Target {
1159 &self.0
1160 }
1161}
1162#[doc = "Field `LOCK_REGION_62` writer - Lock Region 62"]
1163pub struct LOCK_REGION_62_W<'a> {
1164 w: &'a mut W,
1165}
1166impl<'a> LOCK_REGION_62_W<'a> {
1167 #[doc = r"Sets the field bit"]
1168 #[inline(always)]
1169 pub fn set_bit(self) -> &'a mut W {
1170 self.bit(true)
1171 }
1172 #[doc = r"Clears the field bit"]
1173 #[inline(always)]
1174 pub fn clear_bit(self) -> &'a mut W {
1175 self.bit(false)
1176 }
1177 #[doc = r"Writes raw bits to the field"]
1178 #[inline(always)]
1179 pub fn bit(self, value: bool) -> &'a mut W {
1180 self.w.bits = (self.w.bits & !(0x01 << 30)) | ((value as u32 & 0x01) << 30);
1181 self.w
1182 }
1183}
1184#[doc = "Field `LOCK_REGION_63` reader - Lock Region 63"]
1185pub struct LOCK_REGION_63_R(crate::FieldReader<bool, bool>);
1186impl LOCK_REGION_63_R {
1187 #[inline(always)]
1188 pub(crate) fn new(bits: bool) -> Self {
1189 LOCK_REGION_63_R(crate::FieldReader::new(bits))
1190 }
1191}
1192impl core::ops::Deref for LOCK_REGION_63_R {
1193 type Target = crate::FieldReader<bool, bool>;
1194 #[inline(always)]
1195 fn deref(&self) -> &Self::Target {
1196 &self.0
1197 }
1198}
1199#[doc = "Field `LOCK_REGION_63` writer - Lock Region 63"]
1200pub struct LOCK_REGION_63_W<'a> {
1201 w: &'a mut W,
1202}
1203impl<'a> LOCK_REGION_63_W<'a> {
1204 #[doc = r"Sets the field bit"]
1205 #[inline(always)]
1206 pub fn set_bit(self) -> &'a mut W {
1207 self.bit(true)
1208 }
1209 #[doc = r"Clears the field bit"]
1210 #[inline(always)]
1211 pub fn clear_bit(self) -> &'a mut W {
1212 self.bit(false)
1213 }
1214 #[doc = r"Writes raw bits to the field"]
1215 #[inline(always)]
1216 pub fn bit(self, value: bool) -> &'a mut W {
1217 self.w.bits = (self.w.bits & !(0x01 << 31)) | ((value as u32 & 0x01) << 31);
1218 self.w
1219 }
1220}
1221impl R {
1222 #[doc = "Bit 0 - Lock Region 32"]
1223 #[inline(always)]
1224 pub fn lock_region_32(&self) -> LOCK_REGION_32_R {
1225 LOCK_REGION_32_R::new((self.bits & 0x01) != 0)
1226 }
1227 #[doc = "Bit 1 - Lock Region 33"]
1228 #[inline(always)]
1229 pub fn lock_region_33(&self) -> LOCK_REGION_33_R {
1230 LOCK_REGION_33_R::new(((self.bits >> 1) & 0x01) != 0)
1231 }
1232 #[doc = "Bit 2 - Lock Region 34"]
1233 #[inline(always)]
1234 pub fn lock_region_34(&self) -> LOCK_REGION_34_R {
1235 LOCK_REGION_34_R::new(((self.bits >> 2) & 0x01) != 0)
1236 }
1237 #[doc = "Bit 3 - Lock Region 35"]
1238 #[inline(always)]
1239 pub fn lock_region_35(&self) -> LOCK_REGION_35_R {
1240 LOCK_REGION_35_R::new(((self.bits >> 3) & 0x01) != 0)
1241 }
1242 #[doc = "Bit 4 - Lock Region 36"]
1243 #[inline(always)]
1244 pub fn lock_region_36(&self) -> LOCK_REGION_36_R {
1245 LOCK_REGION_36_R::new(((self.bits >> 4) & 0x01) != 0)
1246 }
1247 #[doc = "Bit 5 - Lock Region 37"]
1248 #[inline(always)]
1249 pub fn lock_region_37(&self) -> LOCK_REGION_37_R {
1250 LOCK_REGION_37_R::new(((self.bits >> 5) & 0x01) != 0)
1251 }
1252 #[doc = "Bit 6 - Lock Region 38"]
1253 #[inline(always)]
1254 pub fn lock_region_38(&self) -> LOCK_REGION_38_R {
1255 LOCK_REGION_38_R::new(((self.bits >> 6) & 0x01) != 0)
1256 }
1257 #[doc = "Bit 7 - Lock Region 39"]
1258 #[inline(always)]
1259 pub fn lock_region_39(&self) -> LOCK_REGION_39_R {
1260 LOCK_REGION_39_R::new(((self.bits >> 7) & 0x01) != 0)
1261 }
1262 #[doc = "Bit 8 - Lock Region 40"]
1263 #[inline(always)]
1264 pub fn lock_region_40(&self) -> LOCK_REGION_40_R {
1265 LOCK_REGION_40_R::new(((self.bits >> 8) & 0x01) != 0)
1266 }
1267 #[doc = "Bit 9 - Lock Region 41"]
1268 #[inline(always)]
1269 pub fn lock_region_41(&self) -> LOCK_REGION_41_R {
1270 LOCK_REGION_41_R::new(((self.bits >> 9) & 0x01) != 0)
1271 }
1272 #[doc = "Bit 10 - Lock Region 42"]
1273 #[inline(always)]
1274 pub fn lock_region_42(&self) -> LOCK_REGION_42_R {
1275 LOCK_REGION_42_R::new(((self.bits >> 10) & 0x01) != 0)
1276 }
1277 #[doc = "Bit 11 - Lock Region 43"]
1278 #[inline(always)]
1279 pub fn lock_region_43(&self) -> LOCK_REGION_43_R {
1280 LOCK_REGION_43_R::new(((self.bits >> 11) & 0x01) != 0)
1281 }
1282 #[doc = "Bit 12 - Lock Region 44"]
1283 #[inline(always)]
1284 pub fn lock_region_44(&self) -> LOCK_REGION_44_R {
1285 LOCK_REGION_44_R::new(((self.bits >> 12) & 0x01) != 0)
1286 }
1287 #[doc = "Bit 13 - Lock Region 45"]
1288 #[inline(always)]
1289 pub fn lock_region_45(&self) -> LOCK_REGION_45_R {
1290 LOCK_REGION_45_R::new(((self.bits >> 13) & 0x01) != 0)
1291 }
1292 #[doc = "Bit 14 - Lock Region 46"]
1293 #[inline(always)]
1294 pub fn lock_region_46(&self) -> LOCK_REGION_46_R {
1295 LOCK_REGION_46_R::new(((self.bits >> 14) & 0x01) != 0)
1296 }
1297 #[doc = "Bit 15 - Lock Region 47"]
1298 #[inline(always)]
1299 pub fn lock_region_47(&self) -> LOCK_REGION_47_R {
1300 LOCK_REGION_47_R::new(((self.bits >> 15) & 0x01) != 0)
1301 }
1302 #[doc = "Bit 16 - Lock Region 48"]
1303 #[inline(always)]
1304 pub fn lock_region_48(&self) -> LOCK_REGION_48_R {
1305 LOCK_REGION_48_R::new(((self.bits >> 16) & 0x01) != 0)
1306 }
1307 #[doc = "Bit 17 - Lock Region 49"]
1308 #[inline(always)]
1309 pub fn lock_region_49(&self) -> LOCK_REGION_49_R {
1310 LOCK_REGION_49_R::new(((self.bits >> 17) & 0x01) != 0)
1311 }
1312 #[doc = "Bit 18 - Lock Region 50"]
1313 #[inline(always)]
1314 pub fn lock_region_50(&self) -> LOCK_REGION_50_R {
1315 LOCK_REGION_50_R::new(((self.bits >> 18) & 0x01) != 0)
1316 }
1317 #[doc = "Bit 19 - Lock Region 51"]
1318 #[inline(always)]
1319 pub fn lock_region_51(&self) -> LOCK_REGION_51_R {
1320 LOCK_REGION_51_R::new(((self.bits >> 19) & 0x01) != 0)
1321 }
1322 #[doc = "Bit 20 - Lock Region 52"]
1323 #[inline(always)]
1324 pub fn lock_region_52(&self) -> LOCK_REGION_52_R {
1325 LOCK_REGION_52_R::new(((self.bits >> 20) & 0x01) != 0)
1326 }
1327 #[doc = "Bit 21 - Lock Region 53"]
1328 #[inline(always)]
1329 pub fn lock_region_53(&self) -> LOCK_REGION_53_R {
1330 LOCK_REGION_53_R::new(((self.bits >> 21) & 0x01) != 0)
1331 }
1332 #[doc = "Bit 22 - Lock Region 54"]
1333 #[inline(always)]
1334 pub fn lock_region_54(&self) -> LOCK_REGION_54_R {
1335 LOCK_REGION_54_R::new(((self.bits >> 22) & 0x01) != 0)
1336 }
1337 #[doc = "Bit 23 - Lock Region 55"]
1338 #[inline(always)]
1339 pub fn lock_region_55(&self) -> LOCK_REGION_55_R {
1340 LOCK_REGION_55_R::new(((self.bits >> 23) & 0x01) != 0)
1341 }
1342 #[doc = "Bit 24 - Lock Region 56"]
1343 #[inline(always)]
1344 pub fn lock_region_56(&self) -> LOCK_REGION_56_R {
1345 LOCK_REGION_56_R::new(((self.bits >> 24) & 0x01) != 0)
1346 }
1347 #[doc = "Bit 25 - Lock Region 57"]
1348 #[inline(always)]
1349 pub fn lock_region_57(&self) -> LOCK_REGION_57_R {
1350 LOCK_REGION_57_R::new(((self.bits >> 25) & 0x01) != 0)
1351 }
1352 #[doc = "Bit 26 - Lock Region 58"]
1353 #[inline(always)]
1354 pub fn lock_region_58(&self) -> LOCK_REGION_58_R {
1355 LOCK_REGION_58_R::new(((self.bits >> 26) & 0x01) != 0)
1356 }
1357 #[doc = "Bit 27 - Lock Region 59"]
1358 #[inline(always)]
1359 pub fn lock_region_59(&self) -> LOCK_REGION_59_R {
1360 LOCK_REGION_59_R::new(((self.bits >> 27) & 0x01) != 0)
1361 }
1362 #[doc = "Bit 28 - Lock Region 60"]
1363 #[inline(always)]
1364 pub fn lock_region_60(&self) -> LOCK_REGION_60_R {
1365 LOCK_REGION_60_R::new(((self.bits >> 28) & 0x01) != 0)
1366 }
1367 #[doc = "Bit 29 - Lock Region 61"]
1368 #[inline(always)]
1369 pub fn lock_region_61(&self) -> LOCK_REGION_61_R {
1370 LOCK_REGION_61_R::new(((self.bits >> 29) & 0x01) != 0)
1371 }
1372 #[doc = "Bit 30 - Lock Region 62"]
1373 #[inline(always)]
1374 pub fn lock_region_62(&self) -> LOCK_REGION_62_R {
1375 LOCK_REGION_62_R::new(((self.bits >> 30) & 0x01) != 0)
1376 }
1377 #[doc = "Bit 31 - Lock Region 63"]
1378 #[inline(always)]
1379 pub fn lock_region_63(&self) -> LOCK_REGION_63_R {
1380 LOCK_REGION_63_R::new(((self.bits >> 31) & 0x01) != 0)
1381 }
1382}
1383impl W {
1384 #[doc = "Bit 0 - Lock Region 32"]
1385 #[inline(always)]
1386 pub fn lock_region_32(&mut self) -> LOCK_REGION_32_W {
1387 LOCK_REGION_32_W { w: self }
1388 }
1389 #[doc = "Bit 1 - Lock Region 33"]
1390 #[inline(always)]
1391 pub fn lock_region_33(&mut self) -> LOCK_REGION_33_W {
1392 LOCK_REGION_33_W { w: self }
1393 }
1394 #[doc = "Bit 2 - Lock Region 34"]
1395 #[inline(always)]
1396 pub fn lock_region_34(&mut self) -> LOCK_REGION_34_W {
1397 LOCK_REGION_34_W { w: self }
1398 }
1399 #[doc = "Bit 3 - Lock Region 35"]
1400 #[inline(always)]
1401 pub fn lock_region_35(&mut self) -> LOCK_REGION_35_W {
1402 LOCK_REGION_35_W { w: self }
1403 }
1404 #[doc = "Bit 4 - Lock Region 36"]
1405 #[inline(always)]
1406 pub fn lock_region_36(&mut self) -> LOCK_REGION_36_W {
1407 LOCK_REGION_36_W { w: self }
1408 }
1409 #[doc = "Bit 5 - Lock Region 37"]
1410 #[inline(always)]
1411 pub fn lock_region_37(&mut self) -> LOCK_REGION_37_W {
1412 LOCK_REGION_37_W { w: self }
1413 }
1414 #[doc = "Bit 6 - Lock Region 38"]
1415 #[inline(always)]
1416 pub fn lock_region_38(&mut self) -> LOCK_REGION_38_W {
1417 LOCK_REGION_38_W { w: self }
1418 }
1419 #[doc = "Bit 7 - Lock Region 39"]
1420 #[inline(always)]
1421 pub fn lock_region_39(&mut self) -> LOCK_REGION_39_W {
1422 LOCK_REGION_39_W { w: self }
1423 }
1424 #[doc = "Bit 8 - Lock Region 40"]
1425 #[inline(always)]
1426 pub fn lock_region_40(&mut self) -> LOCK_REGION_40_W {
1427 LOCK_REGION_40_W { w: self }
1428 }
1429 #[doc = "Bit 9 - Lock Region 41"]
1430 #[inline(always)]
1431 pub fn lock_region_41(&mut self) -> LOCK_REGION_41_W {
1432 LOCK_REGION_41_W { w: self }
1433 }
1434 #[doc = "Bit 10 - Lock Region 42"]
1435 #[inline(always)]
1436 pub fn lock_region_42(&mut self) -> LOCK_REGION_42_W {
1437 LOCK_REGION_42_W { w: self }
1438 }
1439 #[doc = "Bit 11 - Lock Region 43"]
1440 #[inline(always)]
1441 pub fn lock_region_43(&mut self) -> LOCK_REGION_43_W {
1442 LOCK_REGION_43_W { w: self }
1443 }
1444 #[doc = "Bit 12 - Lock Region 44"]
1445 #[inline(always)]
1446 pub fn lock_region_44(&mut self) -> LOCK_REGION_44_W {
1447 LOCK_REGION_44_W { w: self }
1448 }
1449 #[doc = "Bit 13 - Lock Region 45"]
1450 #[inline(always)]
1451 pub fn lock_region_45(&mut self) -> LOCK_REGION_45_W {
1452 LOCK_REGION_45_W { w: self }
1453 }
1454 #[doc = "Bit 14 - Lock Region 46"]
1455 #[inline(always)]
1456 pub fn lock_region_46(&mut self) -> LOCK_REGION_46_W {
1457 LOCK_REGION_46_W { w: self }
1458 }
1459 #[doc = "Bit 15 - Lock Region 47"]
1460 #[inline(always)]
1461 pub fn lock_region_47(&mut self) -> LOCK_REGION_47_W {
1462 LOCK_REGION_47_W { w: self }
1463 }
1464 #[doc = "Bit 16 - Lock Region 48"]
1465 #[inline(always)]
1466 pub fn lock_region_48(&mut self) -> LOCK_REGION_48_W {
1467 LOCK_REGION_48_W { w: self }
1468 }
1469 #[doc = "Bit 17 - Lock Region 49"]
1470 #[inline(always)]
1471 pub fn lock_region_49(&mut self) -> LOCK_REGION_49_W {
1472 LOCK_REGION_49_W { w: self }
1473 }
1474 #[doc = "Bit 18 - Lock Region 50"]
1475 #[inline(always)]
1476 pub fn lock_region_50(&mut self) -> LOCK_REGION_50_W {
1477 LOCK_REGION_50_W { w: self }
1478 }
1479 #[doc = "Bit 19 - Lock Region 51"]
1480 #[inline(always)]
1481 pub fn lock_region_51(&mut self) -> LOCK_REGION_51_W {
1482 LOCK_REGION_51_W { w: self }
1483 }
1484 #[doc = "Bit 20 - Lock Region 52"]
1485 #[inline(always)]
1486 pub fn lock_region_52(&mut self) -> LOCK_REGION_52_W {
1487 LOCK_REGION_52_W { w: self }
1488 }
1489 #[doc = "Bit 21 - Lock Region 53"]
1490 #[inline(always)]
1491 pub fn lock_region_53(&mut self) -> LOCK_REGION_53_W {
1492 LOCK_REGION_53_W { w: self }
1493 }
1494 #[doc = "Bit 22 - Lock Region 54"]
1495 #[inline(always)]
1496 pub fn lock_region_54(&mut self) -> LOCK_REGION_54_W {
1497 LOCK_REGION_54_W { w: self }
1498 }
1499 #[doc = "Bit 23 - Lock Region 55"]
1500 #[inline(always)]
1501 pub fn lock_region_55(&mut self) -> LOCK_REGION_55_W {
1502 LOCK_REGION_55_W { w: self }
1503 }
1504 #[doc = "Bit 24 - Lock Region 56"]
1505 #[inline(always)]
1506 pub fn lock_region_56(&mut self) -> LOCK_REGION_56_W {
1507 LOCK_REGION_56_W { w: self }
1508 }
1509 #[doc = "Bit 25 - Lock Region 57"]
1510 #[inline(always)]
1511 pub fn lock_region_57(&mut self) -> LOCK_REGION_57_W {
1512 LOCK_REGION_57_W { w: self }
1513 }
1514 #[doc = "Bit 26 - Lock Region 58"]
1515 #[inline(always)]
1516 pub fn lock_region_58(&mut self) -> LOCK_REGION_58_W {
1517 LOCK_REGION_58_W { w: self }
1518 }
1519 #[doc = "Bit 27 - Lock Region 59"]
1520 #[inline(always)]
1521 pub fn lock_region_59(&mut self) -> LOCK_REGION_59_W {
1522 LOCK_REGION_59_W { w: self }
1523 }
1524 #[doc = "Bit 28 - Lock Region 60"]
1525 #[inline(always)]
1526 pub fn lock_region_60(&mut self) -> LOCK_REGION_60_W {
1527 LOCK_REGION_60_W { w: self }
1528 }
1529 #[doc = "Bit 29 - Lock Region 61"]
1530 #[inline(always)]
1531 pub fn lock_region_61(&mut self) -> LOCK_REGION_61_W {
1532 LOCK_REGION_61_W { w: self }
1533 }
1534 #[doc = "Bit 30 - Lock Region 62"]
1535 #[inline(always)]
1536 pub fn lock_region_62(&mut self) -> LOCK_REGION_62_W {
1537 LOCK_REGION_62_W { w: self }
1538 }
1539 #[doc = "Bit 31 - Lock Region 63"]
1540 #[inline(always)]
1541 pub fn lock_region_63(&mut self) -> LOCK_REGION_63_W {
1542 LOCK_REGION_63_W { w: self }
1543 }
1544 #[doc = "Writes raw bits to the register."]
1545 #[inline(always)]
1546 pub unsafe fn bits(&mut self, bits: u32) -> &mut Self {
1547 self.0.bits(bits);
1548 self
1549 }
1550}
1551#[doc = "Lock Bits Word 1\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 [lockbit_word1](index.html) module"]
1552pub struct LOCKBIT_WORD1_SPEC;
1553impl crate::RegisterSpec for LOCKBIT_WORD1_SPEC {
1554 type Ux = u32;
1555}
1556#[doc = "`read()` method returns [lockbit_word1::R](R) reader structure"]
1557impl crate::Readable for LOCKBIT_WORD1_SPEC {
1558 type Reader = R;
1559}
1560#[doc = "`write(|w| ..)` method takes [lockbit_word1::W](W) writer structure"]
1561impl crate::Writable for LOCKBIT_WORD1_SPEC {
1562 type Writer = W;
1563}
1564#[doc = "`reset()` method sets LOCKBIT_WORD1 to value 0"]
1565impl crate::Resettable for LOCKBIT_WORD1_SPEC {
1566 #[inline(always)]
1567 fn reset_value() -> Self::Ux {
1568 0
1569 }
1570}