1#[doc = "Register `GPIO_CFGCTL34` reader"]
2pub struct R(crate::R<GPIO_CFGCTL34_SPEC>);
3impl core::ops::Deref for R {
4 type Target = crate::R<GPIO_CFGCTL34_SPEC>;
5 #[inline(always)]
6 fn deref(&self) -> &Self::Target {
7 &self.0
8 }
9}
10impl From<crate::R<GPIO_CFGCTL34_SPEC>> for R {
11 #[inline(always)]
12 fn from(reader: crate::R<GPIO_CFGCTL34_SPEC>) -> Self {
13 R(reader)
14 }
15}
16#[doc = "Register `GPIO_CFGCTL34` writer"]
17pub struct W(crate::W<GPIO_CFGCTL34_SPEC>);
18impl core::ops::Deref for W {
19 type Target = crate::W<GPIO_CFGCTL34_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<GPIO_CFGCTL34_SPEC>> for W {
32 #[inline(always)]
33 fn from(writer: crate::W<GPIO_CFGCTL34_SPEC>) -> Self {
34 W(writer)
35 }
36}
37#[doc = "Field `reg_gpio_0_oe` reader - Output enable register for GPIO0."]
38pub type REG_GPIO_0_OE_R = crate::BitReader<GPIO0OUTPUT_ENABLE_A>;
39#[doc = "Output enable register for GPIO0.\n\nValue on reset: 0"]
40#[derive(Clone, Copy, Debug, PartialEq, Eq)]
41pub enum GPIO0OUTPUT_ENABLE_A {
42 #[doc = "0: `0`"]
43 DISABLED = 0,
44 #[doc = "1: `1`"]
45 ENABLED = 1,
46}
47impl From<GPIO0OUTPUT_ENABLE_A> for bool {
48 #[inline(always)]
49 fn from(variant: GPIO0OUTPUT_ENABLE_A) -> Self {
50 variant as u8 != 0
51 }
52}
53impl REG_GPIO_0_OE_R {
54 #[doc = "Get enumerated values variant"]
55 #[inline(always)]
56 pub fn variant(&self) -> GPIO0OUTPUT_ENABLE_A {
57 match self.bits {
58 false => GPIO0OUTPUT_ENABLE_A::DISABLED,
59 true => GPIO0OUTPUT_ENABLE_A::ENABLED,
60 }
61 }
62 #[doc = "Checks if the value of the field is `DISABLED`"]
63 #[inline(always)]
64 pub fn is_disabled(&self) -> bool {
65 *self == GPIO0OUTPUT_ENABLE_A::DISABLED
66 }
67 #[doc = "Checks if the value of the field is `ENABLED`"]
68 #[inline(always)]
69 pub fn is_enabled(&self) -> bool {
70 *self == GPIO0OUTPUT_ENABLE_A::ENABLED
71 }
72}
73#[doc = "Field `reg_gpio_0_oe` writer - Output enable register for GPIO0."]
74pub type REG_GPIO_0_OE_W<'a, const O: u8> =
75 crate::BitWriter<'a, u32, GPIO_CFGCTL34_SPEC, GPIO0OUTPUT_ENABLE_A, O>;
76impl<'a, const O: u8> REG_GPIO_0_OE_W<'a, O> {
77 #[doc = "`0`"]
78 #[inline(always)]
79 pub fn disabled(self) -> &'a mut W {
80 self.variant(GPIO0OUTPUT_ENABLE_A::DISABLED)
81 }
82 #[doc = "`1`"]
83 #[inline(always)]
84 pub fn enabled(self) -> &'a mut W {
85 self.variant(GPIO0OUTPUT_ENABLE_A::ENABLED)
86 }
87}
88#[doc = "Field `reg_gpio_1_oe` reader - Output enable register for GPIO1."]
89pub type REG_GPIO_1_OE_R = crate::BitReader<GPIO1OUTPUT_ENABLE_A>;
90#[doc = "Output enable register for GPIO1.\n\nValue on reset: 0"]
91#[derive(Clone, Copy, Debug, PartialEq, Eq)]
92pub enum GPIO1OUTPUT_ENABLE_A {
93 #[doc = "0: `0`"]
94 DISABLED = 0,
95 #[doc = "1: `1`"]
96 ENABLED = 1,
97}
98impl From<GPIO1OUTPUT_ENABLE_A> for bool {
99 #[inline(always)]
100 fn from(variant: GPIO1OUTPUT_ENABLE_A) -> Self {
101 variant as u8 != 0
102 }
103}
104impl REG_GPIO_1_OE_R {
105 #[doc = "Get enumerated values variant"]
106 #[inline(always)]
107 pub fn variant(&self) -> GPIO1OUTPUT_ENABLE_A {
108 match self.bits {
109 false => GPIO1OUTPUT_ENABLE_A::DISABLED,
110 true => GPIO1OUTPUT_ENABLE_A::ENABLED,
111 }
112 }
113 #[doc = "Checks if the value of the field is `DISABLED`"]
114 #[inline(always)]
115 pub fn is_disabled(&self) -> bool {
116 *self == GPIO1OUTPUT_ENABLE_A::DISABLED
117 }
118 #[doc = "Checks if the value of the field is `ENABLED`"]
119 #[inline(always)]
120 pub fn is_enabled(&self) -> bool {
121 *self == GPIO1OUTPUT_ENABLE_A::ENABLED
122 }
123}
124#[doc = "Field `reg_gpio_1_oe` writer - Output enable register for GPIO1."]
125pub type REG_GPIO_1_OE_W<'a, const O: u8> =
126 crate::BitWriter<'a, u32, GPIO_CFGCTL34_SPEC, GPIO1OUTPUT_ENABLE_A, O>;
127impl<'a, const O: u8> REG_GPIO_1_OE_W<'a, O> {
128 #[doc = "`0`"]
129 #[inline(always)]
130 pub fn disabled(self) -> &'a mut W {
131 self.variant(GPIO1OUTPUT_ENABLE_A::DISABLED)
132 }
133 #[doc = "`1`"]
134 #[inline(always)]
135 pub fn enabled(self) -> &'a mut W {
136 self.variant(GPIO1OUTPUT_ENABLE_A::ENABLED)
137 }
138}
139#[doc = "Field `reg_gpio_2_oe` reader - Output enable register for GPIO2."]
140pub type REG_GPIO_2_OE_R = crate::BitReader<GPIO2OUTPUT_ENABLE_A>;
141#[doc = "Output enable register for GPIO2.\n\nValue on reset: 0"]
142#[derive(Clone, Copy, Debug, PartialEq, Eq)]
143pub enum GPIO2OUTPUT_ENABLE_A {
144 #[doc = "0: `0`"]
145 DISABLED = 0,
146 #[doc = "1: `1`"]
147 ENABLED = 1,
148}
149impl From<GPIO2OUTPUT_ENABLE_A> for bool {
150 #[inline(always)]
151 fn from(variant: GPIO2OUTPUT_ENABLE_A) -> Self {
152 variant as u8 != 0
153 }
154}
155impl REG_GPIO_2_OE_R {
156 #[doc = "Get enumerated values variant"]
157 #[inline(always)]
158 pub fn variant(&self) -> GPIO2OUTPUT_ENABLE_A {
159 match self.bits {
160 false => GPIO2OUTPUT_ENABLE_A::DISABLED,
161 true => GPIO2OUTPUT_ENABLE_A::ENABLED,
162 }
163 }
164 #[doc = "Checks if the value of the field is `DISABLED`"]
165 #[inline(always)]
166 pub fn is_disabled(&self) -> bool {
167 *self == GPIO2OUTPUT_ENABLE_A::DISABLED
168 }
169 #[doc = "Checks if the value of the field is `ENABLED`"]
170 #[inline(always)]
171 pub fn is_enabled(&self) -> bool {
172 *self == GPIO2OUTPUT_ENABLE_A::ENABLED
173 }
174}
175#[doc = "Field `reg_gpio_2_oe` writer - Output enable register for GPIO2."]
176pub type REG_GPIO_2_OE_W<'a, const O: u8> =
177 crate::BitWriter<'a, u32, GPIO_CFGCTL34_SPEC, GPIO2OUTPUT_ENABLE_A, O>;
178impl<'a, const O: u8> REG_GPIO_2_OE_W<'a, O> {
179 #[doc = "`0`"]
180 #[inline(always)]
181 pub fn disabled(self) -> &'a mut W {
182 self.variant(GPIO2OUTPUT_ENABLE_A::DISABLED)
183 }
184 #[doc = "`1`"]
185 #[inline(always)]
186 pub fn enabled(self) -> &'a mut W {
187 self.variant(GPIO2OUTPUT_ENABLE_A::ENABLED)
188 }
189}
190#[doc = "Field `reg_gpio_3_oe` reader - Output enable register for GPIO3."]
191pub type REG_GPIO_3_OE_R = crate::BitReader<GPIO3OUTPUT_ENABLE_A>;
192#[doc = "Output enable register for GPIO3.\n\nValue on reset: 0"]
193#[derive(Clone, Copy, Debug, PartialEq, Eq)]
194pub enum GPIO3OUTPUT_ENABLE_A {
195 #[doc = "0: `0`"]
196 DISABLED = 0,
197 #[doc = "1: `1`"]
198 ENABLED = 1,
199}
200impl From<GPIO3OUTPUT_ENABLE_A> for bool {
201 #[inline(always)]
202 fn from(variant: GPIO3OUTPUT_ENABLE_A) -> Self {
203 variant as u8 != 0
204 }
205}
206impl REG_GPIO_3_OE_R {
207 #[doc = "Get enumerated values variant"]
208 #[inline(always)]
209 pub fn variant(&self) -> GPIO3OUTPUT_ENABLE_A {
210 match self.bits {
211 false => GPIO3OUTPUT_ENABLE_A::DISABLED,
212 true => GPIO3OUTPUT_ENABLE_A::ENABLED,
213 }
214 }
215 #[doc = "Checks if the value of the field is `DISABLED`"]
216 #[inline(always)]
217 pub fn is_disabled(&self) -> bool {
218 *self == GPIO3OUTPUT_ENABLE_A::DISABLED
219 }
220 #[doc = "Checks if the value of the field is `ENABLED`"]
221 #[inline(always)]
222 pub fn is_enabled(&self) -> bool {
223 *self == GPIO3OUTPUT_ENABLE_A::ENABLED
224 }
225}
226#[doc = "Field `reg_gpio_3_oe` writer - Output enable register for GPIO3."]
227pub type REG_GPIO_3_OE_W<'a, const O: u8> =
228 crate::BitWriter<'a, u32, GPIO_CFGCTL34_SPEC, GPIO3OUTPUT_ENABLE_A, O>;
229impl<'a, const O: u8> REG_GPIO_3_OE_W<'a, O> {
230 #[doc = "`0`"]
231 #[inline(always)]
232 pub fn disabled(self) -> &'a mut W {
233 self.variant(GPIO3OUTPUT_ENABLE_A::DISABLED)
234 }
235 #[doc = "`1`"]
236 #[inline(always)]
237 pub fn enabled(self) -> &'a mut W {
238 self.variant(GPIO3OUTPUT_ENABLE_A::ENABLED)
239 }
240}
241#[doc = "Field `reg_gpio_4_oe` reader - Output enable register for GPIO4."]
242pub type REG_GPIO_4_OE_R = crate::BitReader<GPIO4OUTPUT_ENABLE_A>;
243#[doc = "Output enable register for GPIO4.\n\nValue on reset: 0"]
244#[derive(Clone, Copy, Debug, PartialEq, Eq)]
245pub enum GPIO4OUTPUT_ENABLE_A {
246 #[doc = "0: `0`"]
247 DISABLED = 0,
248 #[doc = "1: `1`"]
249 ENABLED = 1,
250}
251impl From<GPIO4OUTPUT_ENABLE_A> for bool {
252 #[inline(always)]
253 fn from(variant: GPIO4OUTPUT_ENABLE_A) -> Self {
254 variant as u8 != 0
255 }
256}
257impl REG_GPIO_4_OE_R {
258 #[doc = "Get enumerated values variant"]
259 #[inline(always)]
260 pub fn variant(&self) -> GPIO4OUTPUT_ENABLE_A {
261 match self.bits {
262 false => GPIO4OUTPUT_ENABLE_A::DISABLED,
263 true => GPIO4OUTPUT_ENABLE_A::ENABLED,
264 }
265 }
266 #[doc = "Checks if the value of the field is `DISABLED`"]
267 #[inline(always)]
268 pub fn is_disabled(&self) -> bool {
269 *self == GPIO4OUTPUT_ENABLE_A::DISABLED
270 }
271 #[doc = "Checks if the value of the field is `ENABLED`"]
272 #[inline(always)]
273 pub fn is_enabled(&self) -> bool {
274 *self == GPIO4OUTPUT_ENABLE_A::ENABLED
275 }
276}
277#[doc = "Field `reg_gpio_4_oe` writer - Output enable register for GPIO4."]
278pub type REG_GPIO_4_OE_W<'a, const O: u8> =
279 crate::BitWriter<'a, u32, GPIO_CFGCTL34_SPEC, GPIO4OUTPUT_ENABLE_A, O>;
280impl<'a, const O: u8> REG_GPIO_4_OE_W<'a, O> {
281 #[doc = "`0`"]
282 #[inline(always)]
283 pub fn disabled(self) -> &'a mut W {
284 self.variant(GPIO4OUTPUT_ENABLE_A::DISABLED)
285 }
286 #[doc = "`1`"]
287 #[inline(always)]
288 pub fn enabled(self) -> &'a mut W {
289 self.variant(GPIO4OUTPUT_ENABLE_A::ENABLED)
290 }
291}
292#[doc = "Field `reg_gpio_5_oe` reader - Output enable register for GPIO5."]
293pub type REG_GPIO_5_OE_R = crate::BitReader<GPIO5OUTPUT_ENABLE_A>;
294#[doc = "Output enable register for GPIO5.\n\nValue on reset: 0"]
295#[derive(Clone, Copy, Debug, PartialEq, Eq)]
296pub enum GPIO5OUTPUT_ENABLE_A {
297 #[doc = "0: `0`"]
298 DISABLED = 0,
299 #[doc = "1: `1`"]
300 ENABLED = 1,
301}
302impl From<GPIO5OUTPUT_ENABLE_A> for bool {
303 #[inline(always)]
304 fn from(variant: GPIO5OUTPUT_ENABLE_A) -> Self {
305 variant as u8 != 0
306 }
307}
308impl REG_GPIO_5_OE_R {
309 #[doc = "Get enumerated values variant"]
310 #[inline(always)]
311 pub fn variant(&self) -> GPIO5OUTPUT_ENABLE_A {
312 match self.bits {
313 false => GPIO5OUTPUT_ENABLE_A::DISABLED,
314 true => GPIO5OUTPUT_ENABLE_A::ENABLED,
315 }
316 }
317 #[doc = "Checks if the value of the field is `DISABLED`"]
318 #[inline(always)]
319 pub fn is_disabled(&self) -> bool {
320 *self == GPIO5OUTPUT_ENABLE_A::DISABLED
321 }
322 #[doc = "Checks if the value of the field is `ENABLED`"]
323 #[inline(always)]
324 pub fn is_enabled(&self) -> bool {
325 *self == GPIO5OUTPUT_ENABLE_A::ENABLED
326 }
327}
328#[doc = "Field `reg_gpio_5_oe` writer - Output enable register for GPIO5."]
329pub type REG_GPIO_5_OE_W<'a, const O: u8> =
330 crate::BitWriter<'a, u32, GPIO_CFGCTL34_SPEC, GPIO5OUTPUT_ENABLE_A, O>;
331impl<'a, const O: u8> REG_GPIO_5_OE_W<'a, O> {
332 #[doc = "`0`"]
333 #[inline(always)]
334 pub fn disabled(self) -> &'a mut W {
335 self.variant(GPIO5OUTPUT_ENABLE_A::DISABLED)
336 }
337 #[doc = "`1`"]
338 #[inline(always)]
339 pub fn enabled(self) -> &'a mut W {
340 self.variant(GPIO5OUTPUT_ENABLE_A::ENABLED)
341 }
342}
343#[doc = "Field `reg_gpio_6_oe` reader - Output enable register for GPIO6."]
344pub type REG_GPIO_6_OE_R = crate::BitReader<GPIO6OUTPUT_ENABLE_A>;
345#[doc = "Output enable register for GPIO6.\n\nValue on reset: 0"]
346#[derive(Clone, Copy, Debug, PartialEq, Eq)]
347pub enum GPIO6OUTPUT_ENABLE_A {
348 #[doc = "0: `0`"]
349 DISABLED = 0,
350 #[doc = "1: `1`"]
351 ENABLED = 1,
352}
353impl From<GPIO6OUTPUT_ENABLE_A> for bool {
354 #[inline(always)]
355 fn from(variant: GPIO6OUTPUT_ENABLE_A) -> Self {
356 variant as u8 != 0
357 }
358}
359impl REG_GPIO_6_OE_R {
360 #[doc = "Get enumerated values variant"]
361 #[inline(always)]
362 pub fn variant(&self) -> GPIO6OUTPUT_ENABLE_A {
363 match self.bits {
364 false => GPIO6OUTPUT_ENABLE_A::DISABLED,
365 true => GPIO6OUTPUT_ENABLE_A::ENABLED,
366 }
367 }
368 #[doc = "Checks if the value of the field is `DISABLED`"]
369 #[inline(always)]
370 pub fn is_disabled(&self) -> bool {
371 *self == GPIO6OUTPUT_ENABLE_A::DISABLED
372 }
373 #[doc = "Checks if the value of the field is `ENABLED`"]
374 #[inline(always)]
375 pub fn is_enabled(&self) -> bool {
376 *self == GPIO6OUTPUT_ENABLE_A::ENABLED
377 }
378}
379#[doc = "Field `reg_gpio_6_oe` writer - Output enable register for GPIO6."]
380pub type REG_GPIO_6_OE_W<'a, const O: u8> =
381 crate::BitWriter<'a, u32, GPIO_CFGCTL34_SPEC, GPIO6OUTPUT_ENABLE_A, O>;
382impl<'a, const O: u8> REG_GPIO_6_OE_W<'a, O> {
383 #[doc = "`0`"]
384 #[inline(always)]
385 pub fn disabled(self) -> &'a mut W {
386 self.variant(GPIO6OUTPUT_ENABLE_A::DISABLED)
387 }
388 #[doc = "`1`"]
389 #[inline(always)]
390 pub fn enabled(self) -> &'a mut W {
391 self.variant(GPIO6OUTPUT_ENABLE_A::ENABLED)
392 }
393}
394#[doc = "Field `reg_gpio_7_oe` reader - Output enable register for GPIO7."]
395pub type REG_GPIO_7_OE_R = crate::BitReader<GPIO7OUTPUT_ENABLE_A>;
396#[doc = "Output enable register for GPIO7.\n\nValue on reset: 0"]
397#[derive(Clone, Copy, Debug, PartialEq, Eq)]
398pub enum GPIO7OUTPUT_ENABLE_A {
399 #[doc = "0: `0`"]
400 DISABLED = 0,
401 #[doc = "1: `1`"]
402 ENABLED = 1,
403}
404impl From<GPIO7OUTPUT_ENABLE_A> for bool {
405 #[inline(always)]
406 fn from(variant: GPIO7OUTPUT_ENABLE_A) -> Self {
407 variant as u8 != 0
408 }
409}
410impl REG_GPIO_7_OE_R {
411 #[doc = "Get enumerated values variant"]
412 #[inline(always)]
413 pub fn variant(&self) -> GPIO7OUTPUT_ENABLE_A {
414 match self.bits {
415 false => GPIO7OUTPUT_ENABLE_A::DISABLED,
416 true => GPIO7OUTPUT_ENABLE_A::ENABLED,
417 }
418 }
419 #[doc = "Checks if the value of the field is `DISABLED`"]
420 #[inline(always)]
421 pub fn is_disabled(&self) -> bool {
422 *self == GPIO7OUTPUT_ENABLE_A::DISABLED
423 }
424 #[doc = "Checks if the value of the field is `ENABLED`"]
425 #[inline(always)]
426 pub fn is_enabled(&self) -> bool {
427 *self == GPIO7OUTPUT_ENABLE_A::ENABLED
428 }
429}
430#[doc = "Field `reg_gpio_7_oe` writer - Output enable register for GPIO7."]
431pub type REG_GPIO_7_OE_W<'a, const O: u8> =
432 crate::BitWriter<'a, u32, GPIO_CFGCTL34_SPEC, GPIO7OUTPUT_ENABLE_A, O>;
433impl<'a, const O: u8> REG_GPIO_7_OE_W<'a, O> {
434 #[doc = "`0`"]
435 #[inline(always)]
436 pub fn disabled(self) -> &'a mut W {
437 self.variant(GPIO7OUTPUT_ENABLE_A::DISABLED)
438 }
439 #[doc = "`1`"]
440 #[inline(always)]
441 pub fn enabled(self) -> &'a mut W {
442 self.variant(GPIO7OUTPUT_ENABLE_A::ENABLED)
443 }
444}
445#[doc = "Field `reg_gpio_8_oe` reader - Output enable register for GPIO8."]
446pub type REG_GPIO_8_OE_R = crate::BitReader<GPIO8OUTPUT_ENABLE_A>;
447#[doc = "Output enable register for GPIO8.\n\nValue on reset: 0"]
448#[derive(Clone, Copy, Debug, PartialEq, Eq)]
449pub enum GPIO8OUTPUT_ENABLE_A {
450 #[doc = "0: `0`"]
451 DISABLED = 0,
452 #[doc = "1: `1`"]
453 ENABLED = 1,
454}
455impl From<GPIO8OUTPUT_ENABLE_A> for bool {
456 #[inline(always)]
457 fn from(variant: GPIO8OUTPUT_ENABLE_A) -> Self {
458 variant as u8 != 0
459 }
460}
461impl REG_GPIO_8_OE_R {
462 #[doc = "Get enumerated values variant"]
463 #[inline(always)]
464 pub fn variant(&self) -> GPIO8OUTPUT_ENABLE_A {
465 match self.bits {
466 false => GPIO8OUTPUT_ENABLE_A::DISABLED,
467 true => GPIO8OUTPUT_ENABLE_A::ENABLED,
468 }
469 }
470 #[doc = "Checks if the value of the field is `DISABLED`"]
471 #[inline(always)]
472 pub fn is_disabled(&self) -> bool {
473 *self == GPIO8OUTPUT_ENABLE_A::DISABLED
474 }
475 #[doc = "Checks if the value of the field is `ENABLED`"]
476 #[inline(always)]
477 pub fn is_enabled(&self) -> bool {
478 *self == GPIO8OUTPUT_ENABLE_A::ENABLED
479 }
480}
481#[doc = "Field `reg_gpio_8_oe` writer - Output enable register for GPIO8."]
482pub type REG_GPIO_8_OE_W<'a, const O: u8> =
483 crate::BitWriter<'a, u32, GPIO_CFGCTL34_SPEC, GPIO8OUTPUT_ENABLE_A, O>;
484impl<'a, const O: u8> REG_GPIO_8_OE_W<'a, O> {
485 #[doc = "`0`"]
486 #[inline(always)]
487 pub fn disabled(self) -> &'a mut W {
488 self.variant(GPIO8OUTPUT_ENABLE_A::DISABLED)
489 }
490 #[doc = "`1`"]
491 #[inline(always)]
492 pub fn enabled(self) -> &'a mut W {
493 self.variant(GPIO8OUTPUT_ENABLE_A::ENABLED)
494 }
495}
496#[doc = "Field `reg_gpio_9_oe` reader - Output enable register for GPIO9."]
497pub type REG_GPIO_9_OE_R = crate::BitReader<GPIO9OUTPUT_ENABLE_A>;
498#[doc = "Output enable register for GPIO9.\n\nValue on reset: 0"]
499#[derive(Clone, Copy, Debug, PartialEq, Eq)]
500pub enum GPIO9OUTPUT_ENABLE_A {
501 #[doc = "0: `0`"]
502 DISABLED = 0,
503 #[doc = "1: `1`"]
504 ENABLED = 1,
505}
506impl From<GPIO9OUTPUT_ENABLE_A> for bool {
507 #[inline(always)]
508 fn from(variant: GPIO9OUTPUT_ENABLE_A) -> Self {
509 variant as u8 != 0
510 }
511}
512impl REG_GPIO_9_OE_R {
513 #[doc = "Get enumerated values variant"]
514 #[inline(always)]
515 pub fn variant(&self) -> GPIO9OUTPUT_ENABLE_A {
516 match self.bits {
517 false => GPIO9OUTPUT_ENABLE_A::DISABLED,
518 true => GPIO9OUTPUT_ENABLE_A::ENABLED,
519 }
520 }
521 #[doc = "Checks if the value of the field is `DISABLED`"]
522 #[inline(always)]
523 pub fn is_disabled(&self) -> bool {
524 *self == GPIO9OUTPUT_ENABLE_A::DISABLED
525 }
526 #[doc = "Checks if the value of the field is `ENABLED`"]
527 #[inline(always)]
528 pub fn is_enabled(&self) -> bool {
529 *self == GPIO9OUTPUT_ENABLE_A::ENABLED
530 }
531}
532#[doc = "Field `reg_gpio_9_oe` writer - Output enable register for GPIO9."]
533pub type REG_GPIO_9_OE_W<'a, const O: u8> =
534 crate::BitWriter<'a, u32, GPIO_CFGCTL34_SPEC, GPIO9OUTPUT_ENABLE_A, O>;
535impl<'a, const O: u8> REG_GPIO_9_OE_W<'a, O> {
536 #[doc = "`0`"]
537 #[inline(always)]
538 pub fn disabled(self) -> &'a mut W {
539 self.variant(GPIO9OUTPUT_ENABLE_A::DISABLED)
540 }
541 #[doc = "`1`"]
542 #[inline(always)]
543 pub fn enabled(self) -> &'a mut W {
544 self.variant(GPIO9OUTPUT_ENABLE_A::ENABLED)
545 }
546}
547#[doc = "Field `reg_gpio_10_oe` reader - Output enable register for GPIO10."]
548pub type REG_GPIO_10_OE_R = crate::BitReader<GPIO10OUTPUT_ENABLE_A>;
549#[doc = "Output enable register for GPIO10.\n\nValue on reset: 0"]
550#[derive(Clone, Copy, Debug, PartialEq, Eq)]
551pub enum GPIO10OUTPUT_ENABLE_A {
552 #[doc = "0: `0`"]
553 DISABLED = 0,
554 #[doc = "1: `1`"]
555 ENABLED = 1,
556}
557impl From<GPIO10OUTPUT_ENABLE_A> for bool {
558 #[inline(always)]
559 fn from(variant: GPIO10OUTPUT_ENABLE_A) -> Self {
560 variant as u8 != 0
561 }
562}
563impl REG_GPIO_10_OE_R {
564 #[doc = "Get enumerated values variant"]
565 #[inline(always)]
566 pub fn variant(&self) -> GPIO10OUTPUT_ENABLE_A {
567 match self.bits {
568 false => GPIO10OUTPUT_ENABLE_A::DISABLED,
569 true => GPIO10OUTPUT_ENABLE_A::ENABLED,
570 }
571 }
572 #[doc = "Checks if the value of the field is `DISABLED`"]
573 #[inline(always)]
574 pub fn is_disabled(&self) -> bool {
575 *self == GPIO10OUTPUT_ENABLE_A::DISABLED
576 }
577 #[doc = "Checks if the value of the field is `ENABLED`"]
578 #[inline(always)]
579 pub fn is_enabled(&self) -> bool {
580 *self == GPIO10OUTPUT_ENABLE_A::ENABLED
581 }
582}
583#[doc = "Field `reg_gpio_10_oe` writer - Output enable register for GPIO10."]
584pub type REG_GPIO_10_OE_W<'a, const O: u8> =
585 crate::BitWriter<'a, u32, GPIO_CFGCTL34_SPEC, GPIO10OUTPUT_ENABLE_A, O>;
586impl<'a, const O: u8> REG_GPIO_10_OE_W<'a, O> {
587 #[doc = "`0`"]
588 #[inline(always)]
589 pub fn disabled(self) -> &'a mut W {
590 self.variant(GPIO10OUTPUT_ENABLE_A::DISABLED)
591 }
592 #[doc = "`1`"]
593 #[inline(always)]
594 pub fn enabled(self) -> &'a mut W {
595 self.variant(GPIO10OUTPUT_ENABLE_A::ENABLED)
596 }
597}
598#[doc = "Field `reg_gpio_11_oe` reader - Output enable register for GPIO11."]
599pub type REG_GPIO_11_OE_R = crate::BitReader<GPIO11OUTPUT_ENABLE_A>;
600#[doc = "Output enable register for GPIO11.\n\nValue on reset: 0"]
601#[derive(Clone, Copy, Debug, PartialEq, Eq)]
602pub enum GPIO11OUTPUT_ENABLE_A {
603 #[doc = "0: `0`"]
604 DISABLED = 0,
605 #[doc = "1: `1`"]
606 ENABLED = 1,
607}
608impl From<GPIO11OUTPUT_ENABLE_A> for bool {
609 #[inline(always)]
610 fn from(variant: GPIO11OUTPUT_ENABLE_A) -> Self {
611 variant as u8 != 0
612 }
613}
614impl REG_GPIO_11_OE_R {
615 #[doc = "Get enumerated values variant"]
616 #[inline(always)]
617 pub fn variant(&self) -> GPIO11OUTPUT_ENABLE_A {
618 match self.bits {
619 false => GPIO11OUTPUT_ENABLE_A::DISABLED,
620 true => GPIO11OUTPUT_ENABLE_A::ENABLED,
621 }
622 }
623 #[doc = "Checks if the value of the field is `DISABLED`"]
624 #[inline(always)]
625 pub fn is_disabled(&self) -> bool {
626 *self == GPIO11OUTPUT_ENABLE_A::DISABLED
627 }
628 #[doc = "Checks if the value of the field is `ENABLED`"]
629 #[inline(always)]
630 pub fn is_enabled(&self) -> bool {
631 *self == GPIO11OUTPUT_ENABLE_A::ENABLED
632 }
633}
634#[doc = "Field `reg_gpio_11_oe` writer - Output enable register for GPIO11."]
635pub type REG_GPIO_11_OE_W<'a, const O: u8> =
636 crate::BitWriter<'a, u32, GPIO_CFGCTL34_SPEC, GPIO11OUTPUT_ENABLE_A, O>;
637impl<'a, const O: u8> REG_GPIO_11_OE_W<'a, O> {
638 #[doc = "`0`"]
639 #[inline(always)]
640 pub fn disabled(self) -> &'a mut W {
641 self.variant(GPIO11OUTPUT_ENABLE_A::DISABLED)
642 }
643 #[doc = "`1`"]
644 #[inline(always)]
645 pub fn enabled(self) -> &'a mut W {
646 self.variant(GPIO11OUTPUT_ENABLE_A::ENABLED)
647 }
648}
649#[doc = "Field `reg_gpio_12_oe` reader - Output enable register for GPIO12."]
650pub type REG_GPIO_12_OE_R = crate::BitReader<GPIO12OUTPUT_ENABLE_A>;
651#[doc = "Output enable register for GPIO12.\n\nValue on reset: 0"]
652#[derive(Clone, Copy, Debug, PartialEq, Eq)]
653pub enum GPIO12OUTPUT_ENABLE_A {
654 #[doc = "0: `0`"]
655 DISABLED = 0,
656 #[doc = "1: `1`"]
657 ENABLED = 1,
658}
659impl From<GPIO12OUTPUT_ENABLE_A> for bool {
660 #[inline(always)]
661 fn from(variant: GPIO12OUTPUT_ENABLE_A) -> Self {
662 variant as u8 != 0
663 }
664}
665impl REG_GPIO_12_OE_R {
666 #[doc = "Get enumerated values variant"]
667 #[inline(always)]
668 pub fn variant(&self) -> GPIO12OUTPUT_ENABLE_A {
669 match self.bits {
670 false => GPIO12OUTPUT_ENABLE_A::DISABLED,
671 true => GPIO12OUTPUT_ENABLE_A::ENABLED,
672 }
673 }
674 #[doc = "Checks if the value of the field is `DISABLED`"]
675 #[inline(always)]
676 pub fn is_disabled(&self) -> bool {
677 *self == GPIO12OUTPUT_ENABLE_A::DISABLED
678 }
679 #[doc = "Checks if the value of the field is `ENABLED`"]
680 #[inline(always)]
681 pub fn is_enabled(&self) -> bool {
682 *self == GPIO12OUTPUT_ENABLE_A::ENABLED
683 }
684}
685#[doc = "Field `reg_gpio_12_oe` writer - Output enable register for GPIO12."]
686pub type REG_GPIO_12_OE_W<'a, const O: u8> =
687 crate::BitWriter<'a, u32, GPIO_CFGCTL34_SPEC, GPIO12OUTPUT_ENABLE_A, O>;
688impl<'a, const O: u8> REG_GPIO_12_OE_W<'a, O> {
689 #[doc = "`0`"]
690 #[inline(always)]
691 pub fn disabled(self) -> &'a mut W {
692 self.variant(GPIO12OUTPUT_ENABLE_A::DISABLED)
693 }
694 #[doc = "`1`"]
695 #[inline(always)]
696 pub fn enabled(self) -> &'a mut W {
697 self.variant(GPIO12OUTPUT_ENABLE_A::ENABLED)
698 }
699}
700#[doc = "Field `reg_gpio_13_oe` reader - Output enable register for GPIO13."]
701pub type REG_GPIO_13_OE_R = crate::BitReader<GPIO13OUTPUT_ENABLE_A>;
702#[doc = "Output enable register for GPIO13.\n\nValue on reset: 0"]
703#[derive(Clone, Copy, Debug, PartialEq, Eq)]
704pub enum GPIO13OUTPUT_ENABLE_A {
705 #[doc = "0: `0`"]
706 DISABLED = 0,
707 #[doc = "1: `1`"]
708 ENABLED = 1,
709}
710impl From<GPIO13OUTPUT_ENABLE_A> for bool {
711 #[inline(always)]
712 fn from(variant: GPIO13OUTPUT_ENABLE_A) -> Self {
713 variant as u8 != 0
714 }
715}
716impl REG_GPIO_13_OE_R {
717 #[doc = "Get enumerated values variant"]
718 #[inline(always)]
719 pub fn variant(&self) -> GPIO13OUTPUT_ENABLE_A {
720 match self.bits {
721 false => GPIO13OUTPUT_ENABLE_A::DISABLED,
722 true => GPIO13OUTPUT_ENABLE_A::ENABLED,
723 }
724 }
725 #[doc = "Checks if the value of the field is `DISABLED`"]
726 #[inline(always)]
727 pub fn is_disabled(&self) -> bool {
728 *self == GPIO13OUTPUT_ENABLE_A::DISABLED
729 }
730 #[doc = "Checks if the value of the field is `ENABLED`"]
731 #[inline(always)]
732 pub fn is_enabled(&self) -> bool {
733 *self == GPIO13OUTPUT_ENABLE_A::ENABLED
734 }
735}
736#[doc = "Field `reg_gpio_13_oe` writer - Output enable register for GPIO13."]
737pub type REG_GPIO_13_OE_W<'a, const O: u8> =
738 crate::BitWriter<'a, u32, GPIO_CFGCTL34_SPEC, GPIO13OUTPUT_ENABLE_A, O>;
739impl<'a, const O: u8> REG_GPIO_13_OE_W<'a, O> {
740 #[doc = "`0`"]
741 #[inline(always)]
742 pub fn disabled(self) -> &'a mut W {
743 self.variant(GPIO13OUTPUT_ENABLE_A::DISABLED)
744 }
745 #[doc = "`1`"]
746 #[inline(always)]
747 pub fn enabled(self) -> &'a mut W {
748 self.variant(GPIO13OUTPUT_ENABLE_A::ENABLED)
749 }
750}
751#[doc = "Field `reg_gpio_14_oe` reader - Output enable register for GPIO14."]
752pub type REG_GPIO_14_OE_R = crate::BitReader<GPIO14OUTPUT_ENABLE_A>;
753#[doc = "Output enable register for GPIO14.\n\nValue on reset: 0"]
754#[derive(Clone, Copy, Debug, PartialEq, Eq)]
755pub enum GPIO14OUTPUT_ENABLE_A {
756 #[doc = "0: `0`"]
757 DISABLED = 0,
758 #[doc = "1: `1`"]
759 ENABLED = 1,
760}
761impl From<GPIO14OUTPUT_ENABLE_A> for bool {
762 #[inline(always)]
763 fn from(variant: GPIO14OUTPUT_ENABLE_A) -> Self {
764 variant as u8 != 0
765 }
766}
767impl REG_GPIO_14_OE_R {
768 #[doc = "Get enumerated values variant"]
769 #[inline(always)]
770 pub fn variant(&self) -> GPIO14OUTPUT_ENABLE_A {
771 match self.bits {
772 false => GPIO14OUTPUT_ENABLE_A::DISABLED,
773 true => GPIO14OUTPUT_ENABLE_A::ENABLED,
774 }
775 }
776 #[doc = "Checks if the value of the field is `DISABLED`"]
777 #[inline(always)]
778 pub fn is_disabled(&self) -> bool {
779 *self == GPIO14OUTPUT_ENABLE_A::DISABLED
780 }
781 #[doc = "Checks if the value of the field is `ENABLED`"]
782 #[inline(always)]
783 pub fn is_enabled(&self) -> bool {
784 *self == GPIO14OUTPUT_ENABLE_A::ENABLED
785 }
786}
787#[doc = "Field `reg_gpio_14_oe` writer - Output enable register for GPIO14."]
788pub type REG_GPIO_14_OE_W<'a, const O: u8> =
789 crate::BitWriter<'a, u32, GPIO_CFGCTL34_SPEC, GPIO14OUTPUT_ENABLE_A, O>;
790impl<'a, const O: u8> REG_GPIO_14_OE_W<'a, O> {
791 #[doc = "`0`"]
792 #[inline(always)]
793 pub fn disabled(self) -> &'a mut W {
794 self.variant(GPIO14OUTPUT_ENABLE_A::DISABLED)
795 }
796 #[doc = "`1`"]
797 #[inline(always)]
798 pub fn enabled(self) -> &'a mut W {
799 self.variant(GPIO14OUTPUT_ENABLE_A::ENABLED)
800 }
801}
802#[doc = "Field `reg_gpio_15_oe` reader - Output enable register for GPIO15."]
803pub type REG_GPIO_15_OE_R = crate::BitReader<GPIO15OUTPUT_ENABLE_A>;
804#[doc = "Output enable register for GPIO15.\n\nValue on reset: 0"]
805#[derive(Clone, Copy, Debug, PartialEq, Eq)]
806pub enum GPIO15OUTPUT_ENABLE_A {
807 #[doc = "0: `0`"]
808 DISABLED = 0,
809 #[doc = "1: `1`"]
810 ENABLED = 1,
811}
812impl From<GPIO15OUTPUT_ENABLE_A> for bool {
813 #[inline(always)]
814 fn from(variant: GPIO15OUTPUT_ENABLE_A) -> Self {
815 variant as u8 != 0
816 }
817}
818impl REG_GPIO_15_OE_R {
819 #[doc = "Get enumerated values variant"]
820 #[inline(always)]
821 pub fn variant(&self) -> GPIO15OUTPUT_ENABLE_A {
822 match self.bits {
823 false => GPIO15OUTPUT_ENABLE_A::DISABLED,
824 true => GPIO15OUTPUT_ENABLE_A::ENABLED,
825 }
826 }
827 #[doc = "Checks if the value of the field is `DISABLED`"]
828 #[inline(always)]
829 pub fn is_disabled(&self) -> bool {
830 *self == GPIO15OUTPUT_ENABLE_A::DISABLED
831 }
832 #[doc = "Checks if the value of the field is `ENABLED`"]
833 #[inline(always)]
834 pub fn is_enabled(&self) -> bool {
835 *self == GPIO15OUTPUT_ENABLE_A::ENABLED
836 }
837}
838#[doc = "Field `reg_gpio_15_oe` writer - Output enable register for GPIO15."]
839pub type REG_GPIO_15_OE_W<'a, const O: u8> =
840 crate::BitWriter<'a, u32, GPIO_CFGCTL34_SPEC, GPIO15OUTPUT_ENABLE_A, O>;
841impl<'a, const O: u8> REG_GPIO_15_OE_W<'a, O> {
842 #[doc = "`0`"]
843 #[inline(always)]
844 pub fn disabled(self) -> &'a mut W {
845 self.variant(GPIO15OUTPUT_ENABLE_A::DISABLED)
846 }
847 #[doc = "`1`"]
848 #[inline(always)]
849 pub fn enabled(self) -> &'a mut W {
850 self.variant(GPIO15OUTPUT_ENABLE_A::ENABLED)
851 }
852}
853#[doc = "Field `reg_gpio_16_oe` reader - Output enable register for GPIO16."]
854pub type REG_GPIO_16_OE_R = crate::BitReader<GPIO16OUTPUT_ENABLE_A>;
855#[doc = "Output enable register for GPIO16.\n\nValue on reset: 0"]
856#[derive(Clone, Copy, Debug, PartialEq, Eq)]
857pub enum GPIO16OUTPUT_ENABLE_A {
858 #[doc = "0: `0`"]
859 DISABLED = 0,
860 #[doc = "1: `1`"]
861 ENABLED = 1,
862}
863impl From<GPIO16OUTPUT_ENABLE_A> for bool {
864 #[inline(always)]
865 fn from(variant: GPIO16OUTPUT_ENABLE_A) -> Self {
866 variant as u8 != 0
867 }
868}
869impl REG_GPIO_16_OE_R {
870 #[doc = "Get enumerated values variant"]
871 #[inline(always)]
872 pub fn variant(&self) -> GPIO16OUTPUT_ENABLE_A {
873 match self.bits {
874 false => GPIO16OUTPUT_ENABLE_A::DISABLED,
875 true => GPIO16OUTPUT_ENABLE_A::ENABLED,
876 }
877 }
878 #[doc = "Checks if the value of the field is `DISABLED`"]
879 #[inline(always)]
880 pub fn is_disabled(&self) -> bool {
881 *self == GPIO16OUTPUT_ENABLE_A::DISABLED
882 }
883 #[doc = "Checks if the value of the field is `ENABLED`"]
884 #[inline(always)]
885 pub fn is_enabled(&self) -> bool {
886 *self == GPIO16OUTPUT_ENABLE_A::ENABLED
887 }
888}
889#[doc = "Field `reg_gpio_16_oe` writer - Output enable register for GPIO16."]
890pub type REG_GPIO_16_OE_W<'a, const O: u8> =
891 crate::BitWriter<'a, u32, GPIO_CFGCTL34_SPEC, GPIO16OUTPUT_ENABLE_A, O>;
892impl<'a, const O: u8> REG_GPIO_16_OE_W<'a, O> {
893 #[doc = "`0`"]
894 #[inline(always)]
895 pub fn disabled(self) -> &'a mut W {
896 self.variant(GPIO16OUTPUT_ENABLE_A::DISABLED)
897 }
898 #[doc = "`1`"]
899 #[inline(always)]
900 pub fn enabled(self) -> &'a mut W {
901 self.variant(GPIO16OUTPUT_ENABLE_A::ENABLED)
902 }
903}
904#[doc = "Field `reg_gpio_17_oe` reader - Output enable register for GPIO17."]
905pub type REG_GPIO_17_OE_R = crate::BitReader<GPIO17OUTPUT_ENABLE_A>;
906#[doc = "Output enable register for GPIO17.\n\nValue on reset: 0"]
907#[derive(Clone, Copy, Debug, PartialEq, Eq)]
908pub enum GPIO17OUTPUT_ENABLE_A {
909 #[doc = "0: `0`"]
910 DISABLED = 0,
911 #[doc = "1: `1`"]
912 ENABLED = 1,
913}
914impl From<GPIO17OUTPUT_ENABLE_A> for bool {
915 #[inline(always)]
916 fn from(variant: GPIO17OUTPUT_ENABLE_A) -> Self {
917 variant as u8 != 0
918 }
919}
920impl REG_GPIO_17_OE_R {
921 #[doc = "Get enumerated values variant"]
922 #[inline(always)]
923 pub fn variant(&self) -> GPIO17OUTPUT_ENABLE_A {
924 match self.bits {
925 false => GPIO17OUTPUT_ENABLE_A::DISABLED,
926 true => GPIO17OUTPUT_ENABLE_A::ENABLED,
927 }
928 }
929 #[doc = "Checks if the value of the field is `DISABLED`"]
930 #[inline(always)]
931 pub fn is_disabled(&self) -> bool {
932 *self == GPIO17OUTPUT_ENABLE_A::DISABLED
933 }
934 #[doc = "Checks if the value of the field is `ENABLED`"]
935 #[inline(always)]
936 pub fn is_enabled(&self) -> bool {
937 *self == GPIO17OUTPUT_ENABLE_A::ENABLED
938 }
939}
940#[doc = "Field `reg_gpio_17_oe` writer - Output enable register for GPIO17."]
941pub type REG_GPIO_17_OE_W<'a, const O: u8> =
942 crate::BitWriter<'a, u32, GPIO_CFGCTL34_SPEC, GPIO17OUTPUT_ENABLE_A, O>;
943impl<'a, const O: u8> REG_GPIO_17_OE_W<'a, O> {
944 #[doc = "`0`"]
945 #[inline(always)]
946 pub fn disabled(self) -> &'a mut W {
947 self.variant(GPIO17OUTPUT_ENABLE_A::DISABLED)
948 }
949 #[doc = "`1`"]
950 #[inline(always)]
951 pub fn enabled(self) -> &'a mut W {
952 self.variant(GPIO17OUTPUT_ENABLE_A::ENABLED)
953 }
954}
955#[doc = "Field `reg_gpio_18_oe` reader - Output enable register for GPIO18."]
956pub type REG_GPIO_18_OE_R = crate::BitReader<GPIO18OUTPUT_ENABLE_A>;
957#[doc = "Output enable register for GPIO18.\n\nValue on reset: 0"]
958#[derive(Clone, Copy, Debug, PartialEq, Eq)]
959pub enum GPIO18OUTPUT_ENABLE_A {
960 #[doc = "0: `0`"]
961 DISABLED = 0,
962 #[doc = "1: `1`"]
963 ENABLED = 1,
964}
965impl From<GPIO18OUTPUT_ENABLE_A> for bool {
966 #[inline(always)]
967 fn from(variant: GPIO18OUTPUT_ENABLE_A) -> Self {
968 variant as u8 != 0
969 }
970}
971impl REG_GPIO_18_OE_R {
972 #[doc = "Get enumerated values variant"]
973 #[inline(always)]
974 pub fn variant(&self) -> GPIO18OUTPUT_ENABLE_A {
975 match self.bits {
976 false => GPIO18OUTPUT_ENABLE_A::DISABLED,
977 true => GPIO18OUTPUT_ENABLE_A::ENABLED,
978 }
979 }
980 #[doc = "Checks if the value of the field is `DISABLED`"]
981 #[inline(always)]
982 pub fn is_disabled(&self) -> bool {
983 *self == GPIO18OUTPUT_ENABLE_A::DISABLED
984 }
985 #[doc = "Checks if the value of the field is `ENABLED`"]
986 #[inline(always)]
987 pub fn is_enabled(&self) -> bool {
988 *self == GPIO18OUTPUT_ENABLE_A::ENABLED
989 }
990}
991#[doc = "Field `reg_gpio_18_oe` writer - Output enable register for GPIO18."]
992pub type REG_GPIO_18_OE_W<'a, const O: u8> =
993 crate::BitWriter<'a, u32, GPIO_CFGCTL34_SPEC, GPIO18OUTPUT_ENABLE_A, O>;
994impl<'a, const O: u8> REG_GPIO_18_OE_W<'a, O> {
995 #[doc = "`0`"]
996 #[inline(always)]
997 pub fn disabled(self) -> &'a mut W {
998 self.variant(GPIO18OUTPUT_ENABLE_A::DISABLED)
999 }
1000 #[doc = "`1`"]
1001 #[inline(always)]
1002 pub fn enabled(self) -> &'a mut W {
1003 self.variant(GPIO18OUTPUT_ENABLE_A::ENABLED)
1004 }
1005}
1006#[doc = "Field `reg_gpio_19_oe` reader - Output enable register for GPIO19."]
1007pub type REG_GPIO_19_OE_R = crate::BitReader<GPIO19OUTPUT_ENABLE_A>;
1008#[doc = "Output enable register for GPIO19.\n\nValue on reset: 0"]
1009#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1010pub enum GPIO19OUTPUT_ENABLE_A {
1011 #[doc = "0: `0`"]
1012 DISABLED = 0,
1013 #[doc = "1: `1`"]
1014 ENABLED = 1,
1015}
1016impl From<GPIO19OUTPUT_ENABLE_A> for bool {
1017 #[inline(always)]
1018 fn from(variant: GPIO19OUTPUT_ENABLE_A) -> Self {
1019 variant as u8 != 0
1020 }
1021}
1022impl REG_GPIO_19_OE_R {
1023 #[doc = "Get enumerated values variant"]
1024 #[inline(always)]
1025 pub fn variant(&self) -> GPIO19OUTPUT_ENABLE_A {
1026 match self.bits {
1027 false => GPIO19OUTPUT_ENABLE_A::DISABLED,
1028 true => GPIO19OUTPUT_ENABLE_A::ENABLED,
1029 }
1030 }
1031 #[doc = "Checks if the value of the field is `DISABLED`"]
1032 #[inline(always)]
1033 pub fn is_disabled(&self) -> bool {
1034 *self == GPIO19OUTPUT_ENABLE_A::DISABLED
1035 }
1036 #[doc = "Checks if the value of the field is `ENABLED`"]
1037 #[inline(always)]
1038 pub fn is_enabled(&self) -> bool {
1039 *self == GPIO19OUTPUT_ENABLE_A::ENABLED
1040 }
1041}
1042#[doc = "Field `reg_gpio_19_oe` writer - Output enable register for GPIO19."]
1043pub type REG_GPIO_19_OE_W<'a, const O: u8> =
1044 crate::BitWriter<'a, u32, GPIO_CFGCTL34_SPEC, GPIO19OUTPUT_ENABLE_A, O>;
1045impl<'a, const O: u8> REG_GPIO_19_OE_W<'a, O> {
1046 #[doc = "`0`"]
1047 #[inline(always)]
1048 pub fn disabled(self) -> &'a mut W {
1049 self.variant(GPIO19OUTPUT_ENABLE_A::DISABLED)
1050 }
1051 #[doc = "`1`"]
1052 #[inline(always)]
1053 pub fn enabled(self) -> &'a mut W {
1054 self.variant(GPIO19OUTPUT_ENABLE_A::ENABLED)
1055 }
1056}
1057#[doc = "Field `reg_gpio_20_oe` reader - Output enable register for GPIO20."]
1058pub type REG_GPIO_20_OE_R = crate::BitReader<GPIO20OUTPUT_ENABLE_A>;
1059#[doc = "Output enable register for GPIO20.\n\nValue on reset: 0"]
1060#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1061pub enum GPIO20OUTPUT_ENABLE_A {
1062 #[doc = "0: `0`"]
1063 DISABLED = 0,
1064 #[doc = "1: `1`"]
1065 ENABLED = 1,
1066}
1067impl From<GPIO20OUTPUT_ENABLE_A> for bool {
1068 #[inline(always)]
1069 fn from(variant: GPIO20OUTPUT_ENABLE_A) -> Self {
1070 variant as u8 != 0
1071 }
1072}
1073impl REG_GPIO_20_OE_R {
1074 #[doc = "Get enumerated values variant"]
1075 #[inline(always)]
1076 pub fn variant(&self) -> GPIO20OUTPUT_ENABLE_A {
1077 match self.bits {
1078 false => GPIO20OUTPUT_ENABLE_A::DISABLED,
1079 true => GPIO20OUTPUT_ENABLE_A::ENABLED,
1080 }
1081 }
1082 #[doc = "Checks if the value of the field is `DISABLED`"]
1083 #[inline(always)]
1084 pub fn is_disabled(&self) -> bool {
1085 *self == GPIO20OUTPUT_ENABLE_A::DISABLED
1086 }
1087 #[doc = "Checks if the value of the field is `ENABLED`"]
1088 #[inline(always)]
1089 pub fn is_enabled(&self) -> bool {
1090 *self == GPIO20OUTPUT_ENABLE_A::ENABLED
1091 }
1092}
1093#[doc = "Field `reg_gpio_20_oe` writer - Output enable register for GPIO20."]
1094pub type REG_GPIO_20_OE_W<'a, const O: u8> =
1095 crate::BitWriter<'a, u32, GPIO_CFGCTL34_SPEC, GPIO20OUTPUT_ENABLE_A, O>;
1096impl<'a, const O: u8> REG_GPIO_20_OE_W<'a, O> {
1097 #[doc = "`0`"]
1098 #[inline(always)]
1099 pub fn disabled(self) -> &'a mut W {
1100 self.variant(GPIO20OUTPUT_ENABLE_A::DISABLED)
1101 }
1102 #[doc = "`1`"]
1103 #[inline(always)]
1104 pub fn enabled(self) -> &'a mut W {
1105 self.variant(GPIO20OUTPUT_ENABLE_A::ENABLED)
1106 }
1107}
1108#[doc = "Field `reg_gpio_21_oe` reader - Output enable register for GPIO21."]
1109pub type REG_GPIO_21_OE_R = crate::BitReader<GPIO21OUTPUT_ENABLE_A>;
1110#[doc = "Output enable register for GPIO21.\n\nValue on reset: 0"]
1111#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1112pub enum GPIO21OUTPUT_ENABLE_A {
1113 #[doc = "0: `0`"]
1114 DISABLED = 0,
1115 #[doc = "1: `1`"]
1116 ENABLED = 1,
1117}
1118impl From<GPIO21OUTPUT_ENABLE_A> for bool {
1119 #[inline(always)]
1120 fn from(variant: GPIO21OUTPUT_ENABLE_A) -> Self {
1121 variant as u8 != 0
1122 }
1123}
1124impl REG_GPIO_21_OE_R {
1125 #[doc = "Get enumerated values variant"]
1126 #[inline(always)]
1127 pub fn variant(&self) -> GPIO21OUTPUT_ENABLE_A {
1128 match self.bits {
1129 false => GPIO21OUTPUT_ENABLE_A::DISABLED,
1130 true => GPIO21OUTPUT_ENABLE_A::ENABLED,
1131 }
1132 }
1133 #[doc = "Checks if the value of the field is `DISABLED`"]
1134 #[inline(always)]
1135 pub fn is_disabled(&self) -> bool {
1136 *self == GPIO21OUTPUT_ENABLE_A::DISABLED
1137 }
1138 #[doc = "Checks if the value of the field is `ENABLED`"]
1139 #[inline(always)]
1140 pub fn is_enabled(&self) -> bool {
1141 *self == GPIO21OUTPUT_ENABLE_A::ENABLED
1142 }
1143}
1144#[doc = "Field `reg_gpio_21_oe` writer - Output enable register for GPIO21."]
1145pub type REG_GPIO_21_OE_W<'a, const O: u8> =
1146 crate::BitWriter<'a, u32, GPIO_CFGCTL34_SPEC, GPIO21OUTPUT_ENABLE_A, O>;
1147impl<'a, const O: u8> REG_GPIO_21_OE_W<'a, O> {
1148 #[doc = "`0`"]
1149 #[inline(always)]
1150 pub fn disabled(self) -> &'a mut W {
1151 self.variant(GPIO21OUTPUT_ENABLE_A::DISABLED)
1152 }
1153 #[doc = "`1`"]
1154 #[inline(always)]
1155 pub fn enabled(self) -> &'a mut W {
1156 self.variant(GPIO21OUTPUT_ENABLE_A::ENABLED)
1157 }
1158}
1159#[doc = "Field `reg_gpio_22_oe` reader - Output enable register for GPIO22."]
1160pub type REG_GPIO_22_OE_R = crate::BitReader<GPIO22OUTPUT_ENABLE_A>;
1161#[doc = "Output enable register for GPIO22.\n\nValue on reset: 0"]
1162#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1163pub enum GPIO22OUTPUT_ENABLE_A {
1164 #[doc = "0: `0`"]
1165 DISABLED = 0,
1166 #[doc = "1: `1`"]
1167 ENABLED = 1,
1168}
1169impl From<GPIO22OUTPUT_ENABLE_A> for bool {
1170 #[inline(always)]
1171 fn from(variant: GPIO22OUTPUT_ENABLE_A) -> Self {
1172 variant as u8 != 0
1173 }
1174}
1175impl REG_GPIO_22_OE_R {
1176 #[doc = "Get enumerated values variant"]
1177 #[inline(always)]
1178 pub fn variant(&self) -> GPIO22OUTPUT_ENABLE_A {
1179 match self.bits {
1180 false => GPIO22OUTPUT_ENABLE_A::DISABLED,
1181 true => GPIO22OUTPUT_ENABLE_A::ENABLED,
1182 }
1183 }
1184 #[doc = "Checks if the value of the field is `DISABLED`"]
1185 #[inline(always)]
1186 pub fn is_disabled(&self) -> bool {
1187 *self == GPIO22OUTPUT_ENABLE_A::DISABLED
1188 }
1189 #[doc = "Checks if the value of the field is `ENABLED`"]
1190 #[inline(always)]
1191 pub fn is_enabled(&self) -> bool {
1192 *self == GPIO22OUTPUT_ENABLE_A::ENABLED
1193 }
1194}
1195#[doc = "Field `reg_gpio_22_oe` writer - Output enable register for GPIO22."]
1196pub type REG_GPIO_22_OE_W<'a, const O: u8> =
1197 crate::BitWriter<'a, u32, GPIO_CFGCTL34_SPEC, GPIO22OUTPUT_ENABLE_A, O>;
1198impl<'a, const O: u8> REG_GPIO_22_OE_W<'a, O> {
1199 #[doc = "`0`"]
1200 #[inline(always)]
1201 pub fn disabled(self) -> &'a mut W {
1202 self.variant(GPIO22OUTPUT_ENABLE_A::DISABLED)
1203 }
1204 #[doc = "`1`"]
1205 #[inline(always)]
1206 pub fn enabled(self) -> &'a mut W {
1207 self.variant(GPIO22OUTPUT_ENABLE_A::ENABLED)
1208 }
1209}
1210impl R {
1211 #[doc = "Bit 0 - Output enable register for GPIO0."]
1212 #[inline(always)]
1213 pub fn reg_gpio_0_oe(&self) -> REG_GPIO_0_OE_R {
1214 REG_GPIO_0_OE_R::new((self.bits & 1) != 0)
1215 }
1216 #[doc = "Bit 1 - Output enable register for GPIO1."]
1217 #[inline(always)]
1218 pub fn reg_gpio_1_oe(&self) -> REG_GPIO_1_OE_R {
1219 REG_GPIO_1_OE_R::new(((self.bits >> 1) & 1) != 0)
1220 }
1221 #[doc = "Bit 2 - Output enable register for GPIO2."]
1222 #[inline(always)]
1223 pub fn reg_gpio_2_oe(&self) -> REG_GPIO_2_OE_R {
1224 REG_GPIO_2_OE_R::new(((self.bits >> 2) & 1) != 0)
1225 }
1226 #[doc = "Bit 3 - Output enable register for GPIO3."]
1227 #[inline(always)]
1228 pub fn reg_gpio_3_oe(&self) -> REG_GPIO_3_OE_R {
1229 REG_GPIO_3_OE_R::new(((self.bits >> 3) & 1) != 0)
1230 }
1231 #[doc = "Bit 4 - Output enable register for GPIO4."]
1232 #[inline(always)]
1233 pub fn reg_gpio_4_oe(&self) -> REG_GPIO_4_OE_R {
1234 REG_GPIO_4_OE_R::new(((self.bits >> 4) & 1) != 0)
1235 }
1236 #[doc = "Bit 5 - Output enable register for GPIO5."]
1237 #[inline(always)]
1238 pub fn reg_gpio_5_oe(&self) -> REG_GPIO_5_OE_R {
1239 REG_GPIO_5_OE_R::new(((self.bits >> 5) & 1) != 0)
1240 }
1241 #[doc = "Bit 6 - Output enable register for GPIO6."]
1242 #[inline(always)]
1243 pub fn reg_gpio_6_oe(&self) -> REG_GPIO_6_OE_R {
1244 REG_GPIO_6_OE_R::new(((self.bits >> 6) & 1) != 0)
1245 }
1246 #[doc = "Bit 7 - Output enable register for GPIO7."]
1247 #[inline(always)]
1248 pub fn reg_gpio_7_oe(&self) -> REG_GPIO_7_OE_R {
1249 REG_GPIO_7_OE_R::new(((self.bits >> 7) & 1) != 0)
1250 }
1251 #[doc = "Bit 8 - Output enable register for GPIO8."]
1252 #[inline(always)]
1253 pub fn reg_gpio_8_oe(&self) -> REG_GPIO_8_OE_R {
1254 REG_GPIO_8_OE_R::new(((self.bits >> 8) & 1) != 0)
1255 }
1256 #[doc = "Bit 9 - Output enable register for GPIO9."]
1257 #[inline(always)]
1258 pub fn reg_gpio_9_oe(&self) -> REG_GPIO_9_OE_R {
1259 REG_GPIO_9_OE_R::new(((self.bits >> 9) & 1) != 0)
1260 }
1261 #[doc = "Bit 10 - Output enable register for GPIO10."]
1262 #[inline(always)]
1263 pub fn reg_gpio_10_oe(&self) -> REG_GPIO_10_OE_R {
1264 REG_GPIO_10_OE_R::new(((self.bits >> 10) & 1) != 0)
1265 }
1266 #[doc = "Bit 11 - Output enable register for GPIO11."]
1267 #[inline(always)]
1268 pub fn reg_gpio_11_oe(&self) -> REG_GPIO_11_OE_R {
1269 REG_GPIO_11_OE_R::new(((self.bits >> 11) & 1) != 0)
1270 }
1271 #[doc = "Bit 12 - Output enable register for GPIO12."]
1272 #[inline(always)]
1273 pub fn reg_gpio_12_oe(&self) -> REG_GPIO_12_OE_R {
1274 REG_GPIO_12_OE_R::new(((self.bits >> 12) & 1) != 0)
1275 }
1276 #[doc = "Bit 13 - Output enable register for GPIO13."]
1277 #[inline(always)]
1278 pub fn reg_gpio_13_oe(&self) -> REG_GPIO_13_OE_R {
1279 REG_GPIO_13_OE_R::new(((self.bits >> 13) & 1) != 0)
1280 }
1281 #[doc = "Bit 14 - Output enable register for GPIO14."]
1282 #[inline(always)]
1283 pub fn reg_gpio_14_oe(&self) -> REG_GPIO_14_OE_R {
1284 REG_GPIO_14_OE_R::new(((self.bits >> 14) & 1) != 0)
1285 }
1286 #[doc = "Bit 15 - Output enable register for GPIO15."]
1287 #[inline(always)]
1288 pub fn reg_gpio_15_oe(&self) -> REG_GPIO_15_OE_R {
1289 REG_GPIO_15_OE_R::new(((self.bits >> 15) & 1) != 0)
1290 }
1291 #[doc = "Bit 16 - Output enable register for GPIO16."]
1292 #[inline(always)]
1293 pub fn reg_gpio_16_oe(&self) -> REG_GPIO_16_OE_R {
1294 REG_GPIO_16_OE_R::new(((self.bits >> 16) & 1) != 0)
1295 }
1296 #[doc = "Bit 17 - Output enable register for GPIO17."]
1297 #[inline(always)]
1298 pub fn reg_gpio_17_oe(&self) -> REG_GPIO_17_OE_R {
1299 REG_GPIO_17_OE_R::new(((self.bits >> 17) & 1) != 0)
1300 }
1301 #[doc = "Bit 18 - Output enable register for GPIO18."]
1302 #[inline(always)]
1303 pub fn reg_gpio_18_oe(&self) -> REG_GPIO_18_OE_R {
1304 REG_GPIO_18_OE_R::new(((self.bits >> 18) & 1) != 0)
1305 }
1306 #[doc = "Bit 19 - Output enable register for GPIO19."]
1307 #[inline(always)]
1308 pub fn reg_gpio_19_oe(&self) -> REG_GPIO_19_OE_R {
1309 REG_GPIO_19_OE_R::new(((self.bits >> 19) & 1) != 0)
1310 }
1311 #[doc = "Bit 20 - Output enable register for GPIO20."]
1312 #[inline(always)]
1313 pub fn reg_gpio_20_oe(&self) -> REG_GPIO_20_OE_R {
1314 REG_GPIO_20_OE_R::new(((self.bits >> 20) & 1) != 0)
1315 }
1316 #[doc = "Bit 21 - Output enable register for GPIO21."]
1317 #[inline(always)]
1318 pub fn reg_gpio_21_oe(&self) -> REG_GPIO_21_OE_R {
1319 REG_GPIO_21_OE_R::new(((self.bits >> 21) & 1) != 0)
1320 }
1321 #[doc = "Bit 22 - Output enable register for GPIO22."]
1322 #[inline(always)]
1323 pub fn reg_gpio_22_oe(&self) -> REG_GPIO_22_OE_R {
1324 REG_GPIO_22_OE_R::new(((self.bits >> 22) & 1) != 0)
1325 }
1326}
1327impl W {
1328 #[doc = "Bit 0 - Output enable register for GPIO0."]
1329 #[inline(always)]
1330 #[must_use]
1331 pub fn reg_gpio_0_oe(&mut self) -> REG_GPIO_0_OE_W<0> {
1332 REG_GPIO_0_OE_W::new(self)
1333 }
1334 #[doc = "Bit 1 - Output enable register for GPIO1."]
1335 #[inline(always)]
1336 #[must_use]
1337 pub fn reg_gpio_1_oe(&mut self) -> REG_GPIO_1_OE_W<1> {
1338 REG_GPIO_1_OE_W::new(self)
1339 }
1340 #[doc = "Bit 2 - Output enable register for GPIO2."]
1341 #[inline(always)]
1342 #[must_use]
1343 pub fn reg_gpio_2_oe(&mut self) -> REG_GPIO_2_OE_W<2> {
1344 REG_GPIO_2_OE_W::new(self)
1345 }
1346 #[doc = "Bit 3 - Output enable register for GPIO3."]
1347 #[inline(always)]
1348 #[must_use]
1349 pub fn reg_gpio_3_oe(&mut self) -> REG_GPIO_3_OE_W<3> {
1350 REG_GPIO_3_OE_W::new(self)
1351 }
1352 #[doc = "Bit 4 - Output enable register for GPIO4."]
1353 #[inline(always)]
1354 #[must_use]
1355 pub fn reg_gpio_4_oe(&mut self) -> REG_GPIO_4_OE_W<4> {
1356 REG_GPIO_4_OE_W::new(self)
1357 }
1358 #[doc = "Bit 5 - Output enable register for GPIO5."]
1359 #[inline(always)]
1360 #[must_use]
1361 pub fn reg_gpio_5_oe(&mut self) -> REG_GPIO_5_OE_W<5> {
1362 REG_GPIO_5_OE_W::new(self)
1363 }
1364 #[doc = "Bit 6 - Output enable register for GPIO6."]
1365 #[inline(always)]
1366 #[must_use]
1367 pub fn reg_gpio_6_oe(&mut self) -> REG_GPIO_6_OE_W<6> {
1368 REG_GPIO_6_OE_W::new(self)
1369 }
1370 #[doc = "Bit 7 - Output enable register for GPIO7."]
1371 #[inline(always)]
1372 #[must_use]
1373 pub fn reg_gpio_7_oe(&mut self) -> REG_GPIO_7_OE_W<7> {
1374 REG_GPIO_7_OE_W::new(self)
1375 }
1376 #[doc = "Bit 8 - Output enable register for GPIO8."]
1377 #[inline(always)]
1378 #[must_use]
1379 pub fn reg_gpio_8_oe(&mut self) -> REG_GPIO_8_OE_W<8> {
1380 REG_GPIO_8_OE_W::new(self)
1381 }
1382 #[doc = "Bit 9 - Output enable register for GPIO9."]
1383 #[inline(always)]
1384 #[must_use]
1385 pub fn reg_gpio_9_oe(&mut self) -> REG_GPIO_9_OE_W<9> {
1386 REG_GPIO_9_OE_W::new(self)
1387 }
1388 #[doc = "Bit 10 - Output enable register for GPIO10."]
1389 #[inline(always)]
1390 #[must_use]
1391 pub fn reg_gpio_10_oe(&mut self) -> REG_GPIO_10_OE_W<10> {
1392 REG_GPIO_10_OE_W::new(self)
1393 }
1394 #[doc = "Bit 11 - Output enable register for GPIO11."]
1395 #[inline(always)]
1396 #[must_use]
1397 pub fn reg_gpio_11_oe(&mut self) -> REG_GPIO_11_OE_W<11> {
1398 REG_GPIO_11_OE_W::new(self)
1399 }
1400 #[doc = "Bit 12 - Output enable register for GPIO12."]
1401 #[inline(always)]
1402 #[must_use]
1403 pub fn reg_gpio_12_oe(&mut self) -> REG_GPIO_12_OE_W<12> {
1404 REG_GPIO_12_OE_W::new(self)
1405 }
1406 #[doc = "Bit 13 - Output enable register for GPIO13."]
1407 #[inline(always)]
1408 #[must_use]
1409 pub fn reg_gpio_13_oe(&mut self) -> REG_GPIO_13_OE_W<13> {
1410 REG_GPIO_13_OE_W::new(self)
1411 }
1412 #[doc = "Bit 14 - Output enable register for GPIO14."]
1413 #[inline(always)]
1414 #[must_use]
1415 pub fn reg_gpio_14_oe(&mut self) -> REG_GPIO_14_OE_W<14> {
1416 REG_GPIO_14_OE_W::new(self)
1417 }
1418 #[doc = "Bit 15 - Output enable register for GPIO15."]
1419 #[inline(always)]
1420 #[must_use]
1421 pub fn reg_gpio_15_oe(&mut self) -> REG_GPIO_15_OE_W<15> {
1422 REG_GPIO_15_OE_W::new(self)
1423 }
1424 #[doc = "Bit 16 - Output enable register for GPIO16."]
1425 #[inline(always)]
1426 #[must_use]
1427 pub fn reg_gpio_16_oe(&mut self) -> REG_GPIO_16_OE_W<16> {
1428 REG_GPIO_16_OE_W::new(self)
1429 }
1430 #[doc = "Bit 17 - Output enable register for GPIO17."]
1431 #[inline(always)]
1432 #[must_use]
1433 pub fn reg_gpio_17_oe(&mut self) -> REG_GPIO_17_OE_W<17> {
1434 REG_GPIO_17_OE_W::new(self)
1435 }
1436 #[doc = "Bit 18 - Output enable register for GPIO18."]
1437 #[inline(always)]
1438 #[must_use]
1439 pub fn reg_gpio_18_oe(&mut self) -> REG_GPIO_18_OE_W<18> {
1440 REG_GPIO_18_OE_W::new(self)
1441 }
1442 #[doc = "Bit 19 - Output enable register for GPIO19."]
1443 #[inline(always)]
1444 #[must_use]
1445 pub fn reg_gpio_19_oe(&mut self) -> REG_GPIO_19_OE_W<19> {
1446 REG_GPIO_19_OE_W::new(self)
1447 }
1448 #[doc = "Bit 20 - Output enable register for GPIO20."]
1449 #[inline(always)]
1450 #[must_use]
1451 pub fn reg_gpio_20_oe(&mut self) -> REG_GPIO_20_OE_W<20> {
1452 REG_GPIO_20_OE_W::new(self)
1453 }
1454 #[doc = "Bit 21 - Output enable register for GPIO21."]
1455 #[inline(always)]
1456 #[must_use]
1457 pub fn reg_gpio_21_oe(&mut self) -> REG_GPIO_21_OE_W<21> {
1458 REG_GPIO_21_OE_W::new(self)
1459 }
1460 #[doc = "Bit 22 - Output enable register for GPIO22."]
1461 #[inline(always)]
1462 #[must_use]
1463 pub fn reg_gpio_22_oe(&mut self) -> REG_GPIO_22_OE_W<22> {
1464 REG_GPIO_22_OE_W::new(self)
1465 }
1466 #[doc = "Writes raw bits to the register."]
1467 #[inline(always)]
1468 pub unsafe fn bits(&mut self, bits: u32) -> &mut Self {
1469 self.0.bits(bits);
1470 self
1471 }
1472}
1473#[doc = "Output enable register for GPIO.\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 [gpio_cfgctl34](index.html) module"]
1474pub struct GPIO_CFGCTL34_SPEC;
1475impl crate::RegisterSpec for GPIO_CFGCTL34_SPEC {
1476 type Ux = u32;
1477}
1478#[doc = "`read()` method returns [gpio_cfgctl34::R](R) reader structure"]
1479impl crate::Readable for GPIO_CFGCTL34_SPEC {
1480 type Reader = R;
1481}
1482#[doc = "`write(|w| ..)` method takes [gpio_cfgctl34::W](W) writer structure"]
1483impl crate::Writable for GPIO_CFGCTL34_SPEC {
1484 type Writer = W;
1485 const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
1486 const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
1487}
1488#[doc = "`reset()` method sets GPIO_CFGCTL34 to value 0"]
1489impl crate::Resettable for GPIO_CFGCTL34_SPEC {
1490 const RESET_VALUE: Self::Ux = 0;
1491}