bl61x_pac/glb/
gpio_output_0.rs

1#[doc = "Register `gpio_output_0` reader"]
2pub type R = crate::R<GPIO_OUTPUT_0_SPEC>;
3#[doc = "Register `gpio_output_0` writer"]
4pub type W = crate::W<GPIO_OUTPUT_0_SPEC>;
5#[doc = "Field `gpio_0_o` reader - "]
6pub type GPIO_0_O_R = crate::BitReader;
7#[doc = "Field `gpio_0_o` writer - "]
8pub type GPIO_0_O_W<'a, REG> = crate::BitWriter<'a, REG>;
9#[doc = "Field `gpio_1_o` reader - "]
10pub type GPIO_1_O_R = crate::BitReader;
11#[doc = "Field `gpio_1_o` writer - "]
12pub type GPIO_1_O_W<'a, REG> = crate::BitWriter<'a, REG>;
13#[doc = "Field `gpio_2_o` reader - "]
14pub type GPIO_2_O_R = crate::BitReader;
15#[doc = "Field `gpio_2_o` writer - "]
16pub type GPIO_2_O_W<'a, REG> = crate::BitWriter<'a, REG>;
17#[doc = "Field `gpio_3_o` reader - "]
18pub type GPIO_3_O_R = crate::BitReader;
19#[doc = "Field `gpio_3_o` writer - "]
20pub type GPIO_3_O_W<'a, REG> = crate::BitWriter<'a, REG>;
21#[doc = "Field `gpio_4_o` reader - "]
22pub type GPIO_4_O_R = crate::BitReader;
23#[doc = "Field `gpio_4_o` writer - "]
24pub type GPIO_4_O_W<'a, REG> = crate::BitWriter<'a, REG>;
25#[doc = "Field `gpio_5_o` reader - "]
26pub type GPIO_5_O_R = crate::BitReader;
27#[doc = "Field `gpio_5_o` writer - "]
28pub type GPIO_5_O_W<'a, REG> = crate::BitWriter<'a, REG>;
29#[doc = "Field `gpio_6_o` reader - "]
30pub type GPIO_6_O_R = crate::BitReader;
31#[doc = "Field `gpio_6_o` writer - "]
32pub type GPIO_6_O_W<'a, REG> = crate::BitWriter<'a, REG>;
33#[doc = "Field `gpio_7_o` reader - "]
34pub type GPIO_7_O_R = crate::BitReader;
35#[doc = "Field `gpio_7_o` writer - "]
36pub type GPIO_7_O_W<'a, REG> = crate::BitWriter<'a, REG>;
37#[doc = "Field `gpio_8_o` reader - "]
38pub type GPIO_8_O_R = crate::BitReader;
39#[doc = "Field `gpio_8_o` writer - "]
40pub type GPIO_8_O_W<'a, REG> = crate::BitWriter<'a, REG>;
41#[doc = "Field `gpio_9_o` reader - "]
42pub type GPIO_9_O_R = crate::BitReader;
43#[doc = "Field `gpio_9_o` writer - "]
44pub type GPIO_9_O_W<'a, REG> = crate::BitWriter<'a, REG>;
45#[doc = "Field `gpio_10_o` reader - "]
46pub type GPIO_10_O_R = crate::BitReader;
47#[doc = "Field `gpio_10_o` writer - "]
48pub type GPIO_10_O_W<'a, REG> = crate::BitWriter<'a, REG>;
49#[doc = "Field `gpio_11_o` reader - "]
50pub type GPIO_11_O_R = crate::BitReader;
51#[doc = "Field `gpio_11_o` writer - "]
52pub type GPIO_11_O_W<'a, REG> = crate::BitWriter<'a, REG>;
53#[doc = "Field `gpio_12_o` reader - "]
54pub type GPIO_12_O_R = crate::BitReader;
55#[doc = "Field `gpio_12_o` writer - "]
56pub type GPIO_12_O_W<'a, REG> = crate::BitWriter<'a, REG>;
57#[doc = "Field `gpio_13_o` reader - "]
58pub type GPIO_13_O_R = crate::BitReader;
59#[doc = "Field `gpio_13_o` writer - "]
60pub type GPIO_13_O_W<'a, REG> = crate::BitWriter<'a, REG>;
61#[doc = "Field `gpio_14_o` reader - "]
62pub type GPIO_14_O_R = crate::BitReader;
63#[doc = "Field `gpio_14_o` writer - "]
64pub type GPIO_14_O_W<'a, REG> = crate::BitWriter<'a, REG>;
65#[doc = "Field `gpio_15_o` reader - "]
66pub type GPIO_15_O_R = crate::BitReader;
67#[doc = "Field `gpio_15_o` writer - "]
68pub type GPIO_15_O_W<'a, REG> = crate::BitWriter<'a, REG>;
69#[doc = "Field `gpio_16_o` reader - "]
70pub type GPIO_16_O_R = crate::BitReader;
71#[doc = "Field `gpio_16_o` writer - "]
72pub type GPIO_16_O_W<'a, REG> = crate::BitWriter<'a, REG>;
73#[doc = "Field `gpio_17_o` reader - "]
74pub type GPIO_17_O_R = crate::BitReader;
75#[doc = "Field `gpio_17_o` writer - "]
76pub type GPIO_17_O_W<'a, REG> = crate::BitWriter<'a, REG>;
77#[doc = "Field `gpio_18_o` reader - "]
78pub type GPIO_18_O_R = crate::BitReader;
79#[doc = "Field `gpio_18_o` writer - "]
80pub type GPIO_18_O_W<'a, REG> = crate::BitWriter<'a, REG>;
81#[doc = "Field `gpio_19_o` reader - "]
82pub type GPIO_19_O_R = crate::BitReader;
83#[doc = "Field `gpio_19_o` writer - "]
84pub type GPIO_19_O_W<'a, REG> = crate::BitWriter<'a, REG>;
85#[doc = "Field `gpio_20_o` reader - "]
86pub type GPIO_20_O_R = crate::BitReader;
87#[doc = "Field `gpio_20_o` writer - "]
88pub type GPIO_20_O_W<'a, REG> = crate::BitWriter<'a, REG>;
89#[doc = "Field `gpio_21_o` reader - "]
90pub type GPIO_21_O_R = crate::BitReader;
91#[doc = "Field `gpio_21_o` writer - "]
92pub type GPIO_21_O_W<'a, REG> = crate::BitWriter<'a, REG>;
93#[doc = "Field `gpio_22_o` reader - "]
94pub type GPIO_22_O_R = crate::BitReader;
95#[doc = "Field `gpio_22_o` writer - "]
96pub type GPIO_22_O_W<'a, REG> = crate::BitWriter<'a, REG>;
97#[doc = "Field `gpio_23_o` reader - "]
98pub type GPIO_23_O_R = crate::BitReader;
99#[doc = "Field `gpio_23_o` writer - "]
100pub type GPIO_23_O_W<'a, REG> = crate::BitWriter<'a, REG>;
101#[doc = "Field `gpio_24_o` reader - "]
102pub type GPIO_24_O_R = crate::BitReader;
103#[doc = "Field `gpio_24_o` writer - "]
104pub type GPIO_24_O_W<'a, REG> = crate::BitWriter<'a, REG>;
105#[doc = "Field `gpio_25_o` reader - "]
106pub type GPIO_25_O_R = crate::BitReader;
107#[doc = "Field `gpio_25_o` writer - "]
108pub type GPIO_25_O_W<'a, REG> = crate::BitWriter<'a, REG>;
109#[doc = "Field `gpio_26_o` reader - "]
110pub type GPIO_26_O_R = crate::BitReader;
111#[doc = "Field `gpio_26_o` writer - "]
112pub type GPIO_26_O_W<'a, REG> = crate::BitWriter<'a, REG>;
113#[doc = "Field `gpio_27_o` reader - "]
114pub type GPIO_27_O_R = crate::BitReader;
115#[doc = "Field `gpio_27_o` writer - "]
116pub type GPIO_27_O_W<'a, REG> = crate::BitWriter<'a, REG>;
117#[doc = "Field `gpio_28_o` reader - "]
118pub type GPIO_28_O_R = crate::BitReader;
119#[doc = "Field `gpio_28_o` writer - "]
120pub type GPIO_28_O_W<'a, REG> = crate::BitWriter<'a, REG>;
121#[doc = "Field `gpio_29_o` reader - "]
122pub type GPIO_29_O_R = crate::BitReader;
123#[doc = "Field `gpio_29_o` writer - "]
124pub type GPIO_29_O_W<'a, REG> = crate::BitWriter<'a, REG>;
125#[doc = "Field `gpio_30_o` reader - "]
126pub type GPIO_30_O_R = crate::BitReader;
127#[doc = "Field `gpio_30_o` writer - "]
128pub type GPIO_30_O_W<'a, REG> = crate::BitWriter<'a, REG>;
129#[doc = "Field `gpio_31_o` reader - "]
130pub type GPIO_31_O_R = crate::BitReader;
131#[doc = "Field `gpio_31_o` writer - "]
132pub type GPIO_31_O_W<'a, REG> = crate::BitWriter<'a, REG>;
133impl R {
134    #[doc = "Bit 0"]
135    #[inline(always)]
136    pub fn gpio_0_o(&self) -> GPIO_0_O_R {
137        GPIO_0_O_R::new((self.bits & 1) != 0)
138    }
139    #[doc = "Bit 1"]
140    #[inline(always)]
141    pub fn gpio_1_o(&self) -> GPIO_1_O_R {
142        GPIO_1_O_R::new(((self.bits >> 1) & 1) != 0)
143    }
144    #[doc = "Bit 2"]
145    #[inline(always)]
146    pub fn gpio_2_o(&self) -> GPIO_2_O_R {
147        GPIO_2_O_R::new(((self.bits >> 2) & 1) != 0)
148    }
149    #[doc = "Bit 3"]
150    #[inline(always)]
151    pub fn gpio_3_o(&self) -> GPIO_3_O_R {
152        GPIO_3_O_R::new(((self.bits >> 3) & 1) != 0)
153    }
154    #[doc = "Bit 4"]
155    #[inline(always)]
156    pub fn gpio_4_o(&self) -> GPIO_4_O_R {
157        GPIO_4_O_R::new(((self.bits >> 4) & 1) != 0)
158    }
159    #[doc = "Bit 5"]
160    #[inline(always)]
161    pub fn gpio_5_o(&self) -> GPIO_5_O_R {
162        GPIO_5_O_R::new(((self.bits >> 5) & 1) != 0)
163    }
164    #[doc = "Bit 6"]
165    #[inline(always)]
166    pub fn gpio_6_o(&self) -> GPIO_6_O_R {
167        GPIO_6_O_R::new(((self.bits >> 6) & 1) != 0)
168    }
169    #[doc = "Bit 7"]
170    #[inline(always)]
171    pub fn gpio_7_o(&self) -> GPIO_7_O_R {
172        GPIO_7_O_R::new(((self.bits >> 7) & 1) != 0)
173    }
174    #[doc = "Bit 8"]
175    #[inline(always)]
176    pub fn gpio_8_o(&self) -> GPIO_8_O_R {
177        GPIO_8_O_R::new(((self.bits >> 8) & 1) != 0)
178    }
179    #[doc = "Bit 9"]
180    #[inline(always)]
181    pub fn gpio_9_o(&self) -> GPIO_9_O_R {
182        GPIO_9_O_R::new(((self.bits >> 9) & 1) != 0)
183    }
184    #[doc = "Bit 10"]
185    #[inline(always)]
186    pub fn gpio_10_o(&self) -> GPIO_10_O_R {
187        GPIO_10_O_R::new(((self.bits >> 10) & 1) != 0)
188    }
189    #[doc = "Bit 11"]
190    #[inline(always)]
191    pub fn gpio_11_o(&self) -> GPIO_11_O_R {
192        GPIO_11_O_R::new(((self.bits >> 11) & 1) != 0)
193    }
194    #[doc = "Bit 12"]
195    #[inline(always)]
196    pub fn gpio_12_o(&self) -> GPIO_12_O_R {
197        GPIO_12_O_R::new(((self.bits >> 12) & 1) != 0)
198    }
199    #[doc = "Bit 13"]
200    #[inline(always)]
201    pub fn gpio_13_o(&self) -> GPIO_13_O_R {
202        GPIO_13_O_R::new(((self.bits >> 13) & 1) != 0)
203    }
204    #[doc = "Bit 14"]
205    #[inline(always)]
206    pub fn gpio_14_o(&self) -> GPIO_14_O_R {
207        GPIO_14_O_R::new(((self.bits >> 14) & 1) != 0)
208    }
209    #[doc = "Bit 15"]
210    #[inline(always)]
211    pub fn gpio_15_o(&self) -> GPIO_15_O_R {
212        GPIO_15_O_R::new(((self.bits >> 15) & 1) != 0)
213    }
214    #[doc = "Bit 16"]
215    #[inline(always)]
216    pub fn gpio_16_o(&self) -> GPIO_16_O_R {
217        GPIO_16_O_R::new(((self.bits >> 16) & 1) != 0)
218    }
219    #[doc = "Bit 17"]
220    #[inline(always)]
221    pub fn gpio_17_o(&self) -> GPIO_17_O_R {
222        GPIO_17_O_R::new(((self.bits >> 17) & 1) != 0)
223    }
224    #[doc = "Bit 18"]
225    #[inline(always)]
226    pub fn gpio_18_o(&self) -> GPIO_18_O_R {
227        GPIO_18_O_R::new(((self.bits >> 18) & 1) != 0)
228    }
229    #[doc = "Bit 19"]
230    #[inline(always)]
231    pub fn gpio_19_o(&self) -> GPIO_19_O_R {
232        GPIO_19_O_R::new(((self.bits >> 19) & 1) != 0)
233    }
234    #[doc = "Bit 20"]
235    #[inline(always)]
236    pub fn gpio_20_o(&self) -> GPIO_20_O_R {
237        GPIO_20_O_R::new(((self.bits >> 20) & 1) != 0)
238    }
239    #[doc = "Bit 21"]
240    #[inline(always)]
241    pub fn gpio_21_o(&self) -> GPIO_21_O_R {
242        GPIO_21_O_R::new(((self.bits >> 21) & 1) != 0)
243    }
244    #[doc = "Bit 22"]
245    #[inline(always)]
246    pub fn gpio_22_o(&self) -> GPIO_22_O_R {
247        GPIO_22_O_R::new(((self.bits >> 22) & 1) != 0)
248    }
249    #[doc = "Bit 23"]
250    #[inline(always)]
251    pub fn gpio_23_o(&self) -> GPIO_23_O_R {
252        GPIO_23_O_R::new(((self.bits >> 23) & 1) != 0)
253    }
254    #[doc = "Bit 24"]
255    #[inline(always)]
256    pub fn gpio_24_o(&self) -> GPIO_24_O_R {
257        GPIO_24_O_R::new(((self.bits >> 24) & 1) != 0)
258    }
259    #[doc = "Bit 25"]
260    #[inline(always)]
261    pub fn gpio_25_o(&self) -> GPIO_25_O_R {
262        GPIO_25_O_R::new(((self.bits >> 25) & 1) != 0)
263    }
264    #[doc = "Bit 26"]
265    #[inline(always)]
266    pub fn gpio_26_o(&self) -> GPIO_26_O_R {
267        GPIO_26_O_R::new(((self.bits >> 26) & 1) != 0)
268    }
269    #[doc = "Bit 27"]
270    #[inline(always)]
271    pub fn gpio_27_o(&self) -> GPIO_27_O_R {
272        GPIO_27_O_R::new(((self.bits >> 27) & 1) != 0)
273    }
274    #[doc = "Bit 28"]
275    #[inline(always)]
276    pub fn gpio_28_o(&self) -> GPIO_28_O_R {
277        GPIO_28_O_R::new(((self.bits >> 28) & 1) != 0)
278    }
279    #[doc = "Bit 29"]
280    #[inline(always)]
281    pub fn gpio_29_o(&self) -> GPIO_29_O_R {
282        GPIO_29_O_R::new(((self.bits >> 29) & 1) != 0)
283    }
284    #[doc = "Bit 30"]
285    #[inline(always)]
286    pub fn gpio_30_o(&self) -> GPIO_30_O_R {
287        GPIO_30_O_R::new(((self.bits >> 30) & 1) != 0)
288    }
289    #[doc = "Bit 31"]
290    #[inline(always)]
291    pub fn gpio_31_o(&self) -> GPIO_31_O_R {
292        GPIO_31_O_R::new(((self.bits >> 31) & 1) != 0)
293    }
294}
295impl W {
296    #[doc = "Bit 0"]
297    #[inline(always)]
298    #[must_use]
299    pub fn gpio_0_o(&mut self) -> GPIO_0_O_W<GPIO_OUTPUT_0_SPEC> {
300        GPIO_0_O_W::new(self, 0)
301    }
302    #[doc = "Bit 1"]
303    #[inline(always)]
304    #[must_use]
305    pub fn gpio_1_o(&mut self) -> GPIO_1_O_W<GPIO_OUTPUT_0_SPEC> {
306        GPIO_1_O_W::new(self, 1)
307    }
308    #[doc = "Bit 2"]
309    #[inline(always)]
310    #[must_use]
311    pub fn gpio_2_o(&mut self) -> GPIO_2_O_W<GPIO_OUTPUT_0_SPEC> {
312        GPIO_2_O_W::new(self, 2)
313    }
314    #[doc = "Bit 3"]
315    #[inline(always)]
316    #[must_use]
317    pub fn gpio_3_o(&mut self) -> GPIO_3_O_W<GPIO_OUTPUT_0_SPEC> {
318        GPIO_3_O_W::new(self, 3)
319    }
320    #[doc = "Bit 4"]
321    #[inline(always)]
322    #[must_use]
323    pub fn gpio_4_o(&mut self) -> GPIO_4_O_W<GPIO_OUTPUT_0_SPEC> {
324        GPIO_4_O_W::new(self, 4)
325    }
326    #[doc = "Bit 5"]
327    #[inline(always)]
328    #[must_use]
329    pub fn gpio_5_o(&mut self) -> GPIO_5_O_W<GPIO_OUTPUT_0_SPEC> {
330        GPIO_5_O_W::new(self, 5)
331    }
332    #[doc = "Bit 6"]
333    #[inline(always)]
334    #[must_use]
335    pub fn gpio_6_o(&mut self) -> GPIO_6_O_W<GPIO_OUTPUT_0_SPEC> {
336        GPIO_6_O_W::new(self, 6)
337    }
338    #[doc = "Bit 7"]
339    #[inline(always)]
340    #[must_use]
341    pub fn gpio_7_o(&mut self) -> GPIO_7_O_W<GPIO_OUTPUT_0_SPEC> {
342        GPIO_7_O_W::new(self, 7)
343    }
344    #[doc = "Bit 8"]
345    #[inline(always)]
346    #[must_use]
347    pub fn gpio_8_o(&mut self) -> GPIO_8_O_W<GPIO_OUTPUT_0_SPEC> {
348        GPIO_8_O_W::new(self, 8)
349    }
350    #[doc = "Bit 9"]
351    #[inline(always)]
352    #[must_use]
353    pub fn gpio_9_o(&mut self) -> GPIO_9_O_W<GPIO_OUTPUT_0_SPEC> {
354        GPIO_9_O_W::new(self, 9)
355    }
356    #[doc = "Bit 10"]
357    #[inline(always)]
358    #[must_use]
359    pub fn gpio_10_o(&mut self) -> GPIO_10_O_W<GPIO_OUTPUT_0_SPEC> {
360        GPIO_10_O_W::new(self, 10)
361    }
362    #[doc = "Bit 11"]
363    #[inline(always)]
364    #[must_use]
365    pub fn gpio_11_o(&mut self) -> GPIO_11_O_W<GPIO_OUTPUT_0_SPEC> {
366        GPIO_11_O_W::new(self, 11)
367    }
368    #[doc = "Bit 12"]
369    #[inline(always)]
370    #[must_use]
371    pub fn gpio_12_o(&mut self) -> GPIO_12_O_W<GPIO_OUTPUT_0_SPEC> {
372        GPIO_12_O_W::new(self, 12)
373    }
374    #[doc = "Bit 13"]
375    #[inline(always)]
376    #[must_use]
377    pub fn gpio_13_o(&mut self) -> GPIO_13_O_W<GPIO_OUTPUT_0_SPEC> {
378        GPIO_13_O_W::new(self, 13)
379    }
380    #[doc = "Bit 14"]
381    #[inline(always)]
382    #[must_use]
383    pub fn gpio_14_o(&mut self) -> GPIO_14_O_W<GPIO_OUTPUT_0_SPEC> {
384        GPIO_14_O_W::new(self, 14)
385    }
386    #[doc = "Bit 15"]
387    #[inline(always)]
388    #[must_use]
389    pub fn gpio_15_o(&mut self) -> GPIO_15_O_W<GPIO_OUTPUT_0_SPEC> {
390        GPIO_15_O_W::new(self, 15)
391    }
392    #[doc = "Bit 16"]
393    #[inline(always)]
394    #[must_use]
395    pub fn gpio_16_o(&mut self) -> GPIO_16_O_W<GPIO_OUTPUT_0_SPEC> {
396        GPIO_16_O_W::new(self, 16)
397    }
398    #[doc = "Bit 17"]
399    #[inline(always)]
400    #[must_use]
401    pub fn gpio_17_o(&mut self) -> GPIO_17_O_W<GPIO_OUTPUT_0_SPEC> {
402        GPIO_17_O_W::new(self, 17)
403    }
404    #[doc = "Bit 18"]
405    #[inline(always)]
406    #[must_use]
407    pub fn gpio_18_o(&mut self) -> GPIO_18_O_W<GPIO_OUTPUT_0_SPEC> {
408        GPIO_18_O_W::new(self, 18)
409    }
410    #[doc = "Bit 19"]
411    #[inline(always)]
412    #[must_use]
413    pub fn gpio_19_o(&mut self) -> GPIO_19_O_W<GPIO_OUTPUT_0_SPEC> {
414        GPIO_19_O_W::new(self, 19)
415    }
416    #[doc = "Bit 20"]
417    #[inline(always)]
418    #[must_use]
419    pub fn gpio_20_o(&mut self) -> GPIO_20_O_W<GPIO_OUTPUT_0_SPEC> {
420        GPIO_20_O_W::new(self, 20)
421    }
422    #[doc = "Bit 21"]
423    #[inline(always)]
424    #[must_use]
425    pub fn gpio_21_o(&mut self) -> GPIO_21_O_W<GPIO_OUTPUT_0_SPEC> {
426        GPIO_21_O_W::new(self, 21)
427    }
428    #[doc = "Bit 22"]
429    #[inline(always)]
430    #[must_use]
431    pub fn gpio_22_o(&mut self) -> GPIO_22_O_W<GPIO_OUTPUT_0_SPEC> {
432        GPIO_22_O_W::new(self, 22)
433    }
434    #[doc = "Bit 23"]
435    #[inline(always)]
436    #[must_use]
437    pub fn gpio_23_o(&mut self) -> GPIO_23_O_W<GPIO_OUTPUT_0_SPEC> {
438        GPIO_23_O_W::new(self, 23)
439    }
440    #[doc = "Bit 24"]
441    #[inline(always)]
442    #[must_use]
443    pub fn gpio_24_o(&mut self) -> GPIO_24_O_W<GPIO_OUTPUT_0_SPEC> {
444        GPIO_24_O_W::new(self, 24)
445    }
446    #[doc = "Bit 25"]
447    #[inline(always)]
448    #[must_use]
449    pub fn gpio_25_o(&mut self) -> GPIO_25_O_W<GPIO_OUTPUT_0_SPEC> {
450        GPIO_25_O_W::new(self, 25)
451    }
452    #[doc = "Bit 26"]
453    #[inline(always)]
454    #[must_use]
455    pub fn gpio_26_o(&mut self) -> GPIO_26_O_W<GPIO_OUTPUT_0_SPEC> {
456        GPIO_26_O_W::new(self, 26)
457    }
458    #[doc = "Bit 27"]
459    #[inline(always)]
460    #[must_use]
461    pub fn gpio_27_o(&mut self) -> GPIO_27_O_W<GPIO_OUTPUT_0_SPEC> {
462        GPIO_27_O_W::new(self, 27)
463    }
464    #[doc = "Bit 28"]
465    #[inline(always)]
466    #[must_use]
467    pub fn gpio_28_o(&mut self) -> GPIO_28_O_W<GPIO_OUTPUT_0_SPEC> {
468        GPIO_28_O_W::new(self, 28)
469    }
470    #[doc = "Bit 29"]
471    #[inline(always)]
472    #[must_use]
473    pub fn gpio_29_o(&mut self) -> GPIO_29_O_W<GPIO_OUTPUT_0_SPEC> {
474        GPIO_29_O_W::new(self, 29)
475    }
476    #[doc = "Bit 30"]
477    #[inline(always)]
478    #[must_use]
479    pub fn gpio_30_o(&mut self) -> GPIO_30_O_W<GPIO_OUTPUT_0_SPEC> {
480        GPIO_30_O_W::new(self, 30)
481    }
482    #[doc = "Bit 31"]
483    #[inline(always)]
484    #[must_use]
485    pub fn gpio_31_o(&mut self) -> GPIO_31_O_W<GPIO_OUTPUT_0_SPEC> {
486        GPIO_31_O_W::new(self, 31)
487    }
488    #[doc = r" Writes raw bits to the register."]
489    #[doc = r""]
490    #[doc = r" # Safety"]
491    #[doc = r""]
492    #[doc = r" Passing incorrect value can cause undefined behaviour. See reference manual"]
493    #[inline(always)]
494    pub unsafe fn bits(&mut self, bits: u32) -> &mut Self {
495        self.bits = bits;
496        self
497    }
498}
499#[doc = "Write value to Generic Purpose Input/Output pins (GPIO0 ~ GPIO31)\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`gpio_output_0::R`](R).  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`gpio_output_0::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
500pub struct GPIO_OUTPUT_0_SPEC;
501impl crate::RegisterSpec for GPIO_OUTPUT_0_SPEC {
502    type Ux = u32;
503}
504#[doc = "`read()` method returns [`gpio_output_0::R`](R) reader structure"]
505impl crate::Readable for GPIO_OUTPUT_0_SPEC {}
506#[doc = "`write(|w| ..)` method takes [`gpio_output_0::W`](W) writer structure"]
507impl crate::Writable for GPIO_OUTPUT_0_SPEC {
508    const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
509    const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
510}
511#[doc = "`reset()` method sets gpio_output_0 to value 0"]
512impl crate::Resettable for GPIO_OUTPUT_0_SPEC {
513    const RESET_VALUE: Self::Ux = 0;
514}