stm32l5/stm32l562/sec_gtzc_mpcbb2/
mpcbb2_vctr38.rs

1#[doc = "Register `MPCBB2_VCTR38` reader"]
2pub struct R(crate::R<MPCBB2_VCTR38_SPEC>);
3impl core::ops::Deref for R {
4    type Target = crate::R<MPCBB2_VCTR38_SPEC>;
5    #[inline(always)]
6    fn deref(&self) -> &Self::Target {
7        &self.0
8    }
9}
10impl From<crate::R<MPCBB2_VCTR38_SPEC>> for R {
11    #[inline(always)]
12    fn from(reader: crate::R<MPCBB2_VCTR38_SPEC>) -> Self {
13        R(reader)
14    }
15}
16#[doc = "Register `MPCBB2_VCTR38` writer"]
17pub struct W(crate::W<MPCBB2_VCTR38_SPEC>);
18impl core::ops::Deref for W {
19    type Target = crate::W<MPCBB2_VCTR38_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<MPCBB2_VCTR38_SPEC>> for W {
32    #[inline(always)]
33    fn from(writer: crate::W<MPCBB2_VCTR38_SPEC>) -> Self {
34        W(writer)
35    }
36}
37#[doc = "Field `B1216` reader - B1216"]
38pub type B1216_R = crate::BitReader<bool>;
39#[doc = "Field `B1216` writer - B1216"]
40pub type B1216_W<'a, const O: u8> = crate::BitWriter<'a, u32, MPCBB2_VCTR38_SPEC, bool, O>;
41#[doc = "Field `B1217` reader - B1217"]
42pub type B1217_R = crate::BitReader<bool>;
43#[doc = "Field `B1217` writer - B1217"]
44pub type B1217_W<'a, const O: u8> = crate::BitWriter<'a, u32, MPCBB2_VCTR38_SPEC, bool, O>;
45#[doc = "Field `B1218` reader - B1218"]
46pub type B1218_R = crate::BitReader<bool>;
47#[doc = "Field `B1218` writer - B1218"]
48pub type B1218_W<'a, const O: u8> = crate::BitWriter<'a, u32, MPCBB2_VCTR38_SPEC, bool, O>;
49#[doc = "Field `B1219` reader - B1219"]
50pub type B1219_R = crate::BitReader<bool>;
51#[doc = "Field `B1219` writer - B1219"]
52pub type B1219_W<'a, const O: u8> = crate::BitWriter<'a, u32, MPCBB2_VCTR38_SPEC, bool, O>;
53#[doc = "Field `B1220` reader - B1220"]
54pub type B1220_R = crate::BitReader<bool>;
55#[doc = "Field `B1220` writer - B1220"]
56pub type B1220_W<'a, const O: u8> = crate::BitWriter<'a, u32, MPCBB2_VCTR38_SPEC, bool, O>;
57#[doc = "Field `B1221` reader - B1221"]
58pub type B1221_R = crate::BitReader<bool>;
59#[doc = "Field `B1221` writer - B1221"]
60pub type B1221_W<'a, const O: u8> = crate::BitWriter<'a, u32, MPCBB2_VCTR38_SPEC, bool, O>;
61#[doc = "Field `B1222` reader - B1222"]
62pub type B1222_R = crate::BitReader<bool>;
63#[doc = "Field `B1222` writer - B1222"]
64pub type B1222_W<'a, const O: u8> = crate::BitWriter<'a, u32, MPCBB2_VCTR38_SPEC, bool, O>;
65#[doc = "Field `B1223` reader - B1223"]
66pub type B1223_R = crate::BitReader<bool>;
67#[doc = "Field `B1223` writer - B1223"]
68pub type B1223_W<'a, const O: u8> = crate::BitWriter<'a, u32, MPCBB2_VCTR38_SPEC, bool, O>;
69#[doc = "Field `B1224` reader - B1224"]
70pub type B1224_R = crate::BitReader<bool>;
71#[doc = "Field `B1224` writer - B1224"]
72pub type B1224_W<'a, const O: u8> = crate::BitWriter<'a, u32, MPCBB2_VCTR38_SPEC, bool, O>;
73#[doc = "Field `B1225` reader - B1225"]
74pub type B1225_R = crate::BitReader<bool>;
75#[doc = "Field `B1225` writer - B1225"]
76pub type B1225_W<'a, const O: u8> = crate::BitWriter<'a, u32, MPCBB2_VCTR38_SPEC, bool, O>;
77#[doc = "Field `B1226` reader - B1226"]
78pub type B1226_R = crate::BitReader<bool>;
79#[doc = "Field `B1226` writer - B1226"]
80pub type B1226_W<'a, const O: u8> = crate::BitWriter<'a, u32, MPCBB2_VCTR38_SPEC, bool, O>;
81#[doc = "Field `B1227` reader - B1227"]
82pub type B1227_R = crate::BitReader<bool>;
83#[doc = "Field `B1227` writer - B1227"]
84pub type B1227_W<'a, const O: u8> = crate::BitWriter<'a, u32, MPCBB2_VCTR38_SPEC, bool, O>;
85#[doc = "Field `B1228` reader - B1228"]
86pub type B1228_R = crate::BitReader<bool>;
87#[doc = "Field `B1228` writer - B1228"]
88pub type B1228_W<'a, const O: u8> = crate::BitWriter<'a, u32, MPCBB2_VCTR38_SPEC, bool, O>;
89#[doc = "Field `B1229` reader - B1229"]
90pub type B1229_R = crate::BitReader<bool>;
91#[doc = "Field `B1229` writer - B1229"]
92pub type B1229_W<'a, const O: u8> = crate::BitWriter<'a, u32, MPCBB2_VCTR38_SPEC, bool, O>;
93#[doc = "Field `B1230` reader - B1230"]
94pub type B1230_R = crate::BitReader<bool>;
95#[doc = "Field `B1230` writer - B1230"]
96pub type B1230_W<'a, const O: u8> = crate::BitWriter<'a, u32, MPCBB2_VCTR38_SPEC, bool, O>;
97#[doc = "Field `B1231` reader - B1231"]
98pub type B1231_R = crate::BitReader<bool>;
99#[doc = "Field `B1231` writer - B1231"]
100pub type B1231_W<'a, const O: u8> = crate::BitWriter<'a, u32, MPCBB2_VCTR38_SPEC, bool, O>;
101#[doc = "Field `B1232` reader - B1232"]
102pub type B1232_R = crate::BitReader<bool>;
103#[doc = "Field `B1232` writer - B1232"]
104pub type B1232_W<'a, const O: u8> = crate::BitWriter<'a, u32, MPCBB2_VCTR38_SPEC, bool, O>;
105#[doc = "Field `B1233` reader - B1233"]
106pub type B1233_R = crate::BitReader<bool>;
107#[doc = "Field `B1233` writer - B1233"]
108pub type B1233_W<'a, const O: u8> = crate::BitWriter<'a, u32, MPCBB2_VCTR38_SPEC, bool, O>;
109#[doc = "Field `B1234` reader - B1234"]
110pub type B1234_R = crate::BitReader<bool>;
111#[doc = "Field `B1234` writer - B1234"]
112pub type B1234_W<'a, const O: u8> = crate::BitWriter<'a, u32, MPCBB2_VCTR38_SPEC, bool, O>;
113#[doc = "Field `B1235` reader - B1235"]
114pub type B1235_R = crate::BitReader<bool>;
115#[doc = "Field `B1235` writer - B1235"]
116pub type B1235_W<'a, const O: u8> = crate::BitWriter<'a, u32, MPCBB2_VCTR38_SPEC, bool, O>;
117#[doc = "Field `B1236` reader - B1236"]
118pub type B1236_R = crate::BitReader<bool>;
119#[doc = "Field `B1236` writer - B1236"]
120pub type B1236_W<'a, const O: u8> = crate::BitWriter<'a, u32, MPCBB2_VCTR38_SPEC, bool, O>;
121#[doc = "Field `B1237` reader - B1237"]
122pub type B1237_R = crate::BitReader<bool>;
123#[doc = "Field `B1237` writer - B1237"]
124pub type B1237_W<'a, const O: u8> = crate::BitWriter<'a, u32, MPCBB2_VCTR38_SPEC, bool, O>;
125#[doc = "Field `B1238` reader - B1238"]
126pub type B1238_R = crate::BitReader<bool>;
127#[doc = "Field `B1238` writer - B1238"]
128pub type B1238_W<'a, const O: u8> = crate::BitWriter<'a, u32, MPCBB2_VCTR38_SPEC, bool, O>;
129#[doc = "Field `B1239` reader - B1239"]
130pub type B1239_R = crate::BitReader<bool>;
131#[doc = "Field `B1239` writer - B1239"]
132pub type B1239_W<'a, const O: u8> = crate::BitWriter<'a, u32, MPCBB2_VCTR38_SPEC, bool, O>;
133#[doc = "Field `B1240` reader - B1240"]
134pub type B1240_R = crate::BitReader<bool>;
135#[doc = "Field `B1240` writer - B1240"]
136pub type B1240_W<'a, const O: u8> = crate::BitWriter<'a, u32, MPCBB2_VCTR38_SPEC, bool, O>;
137#[doc = "Field `B1241` reader - B1241"]
138pub type B1241_R = crate::BitReader<bool>;
139#[doc = "Field `B1241` writer - B1241"]
140pub type B1241_W<'a, const O: u8> = crate::BitWriter<'a, u32, MPCBB2_VCTR38_SPEC, bool, O>;
141#[doc = "Field `B1242` reader - B1242"]
142pub type B1242_R = crate::BitReader<bool>;
143#[doc = "Field `B1242` writer - B1242"]
144pub type B1242_W<'a, const O: u8> = crate::BitWriter<'a, u32, MPCBB2_VCTR38_SPEC, bool, O>;
145#[doc = "Field `B1243` reader - B1243"]
146pub type B1243_R = crate::BitReader<bool>;
147#[doc = "Field `B1243` writer - B1243"]
148pub type B1243_W<'a, const O: u8> = crate::BitWriter<'a, u32, MPCBB2_VCTR38_SPEC, bool, O>;
149#[doc = "Field `B1244` reader - B1244"]
150pub type B1244_R = crate::BitReader<bool>;
151#[doc = "Field `B1244` writer - B1244"]
152pub type B1244_W<'a, const O: u8> = crate::BitWriter<'a, u32, MPCBB2_VCTR38_SPEC, bool, O>;
153#[doc = "Field `B1245` reader - B1245"]
154pub type B1245_R = crate::BitReader<bool>;
155#[doc = "Field `B1245` writer - B1245"]
156pub type B1245_W<'a, const O: u8> = crate::BitWriter<'a, u32, MPCBB2_VCTR38_SPEC, bool, O>;
157#[doc = "Field `B1246` reader - B1246"]
158pub type B1246_R = crate::BitReader<bool>;
159#[doc = "Field `B1246` writer - B1246"]
160pub type B1246_W<'a, const O: u8> = crate::BitWriter<'a, u32, MPCBB2_VCTR38_SPEC, bool, O>;
161#[doc = "Field `B1247` reader - B1247"]
162pub type B1247_R = crate::BitReader<bool>;
163#[doc = "Field `B1247` writer - B1247"]
164pub type B1247_W<'a, const O: u8> = crate::BitWriter<'a, u32, MPCBB2_VCTR38_SPEC, bool, O>;
165impl R {
166    #[doc = "Bit 0 - B1216"]
167    #[inline(always)]
168    pub fn b1216(&self) -> B1216_R {
169        B1216_R::new((self.bits & 1) != 0)
170    }
171    #[doc = "Bit 1 - B1217"]
172    #[inline(always)]
173    pub fn b1217(&self) -> B1217_R {
174        B1217_R::new(((self.bits >> 1) & 1) != 0)
175    }
176    #[doc = "Bit 2 - B1218"]
177    #[inline(always)]
178    pub fn b1218(&self) -> B1218_R {
179        B1218_R::new(((self.bits >> 2) & 1) != 0)
180    }
181    #[doc = "Bit 3 - B1219"]
182    #[inline(always)]
183    pub fn b1219(&self) -> B1219_R {
184        B1219_R::new(((self.bits >> 3) & 1) != 0)
185    }
186    #[doc = "Bit 4 - B1220"]
187    #[inline(always)]
188    pub fn b1220(&self) -> B1220_R {
189        B1220_R::new(((self.bits >> 4) & 1) != 0)
190    }
191    #[doc = "Bit 5 - B1221"]
192    #[inline(always)]
193    pub fn b1221(&self) -> B1221_R {
194        B1221_R::new(((self.bits >> 5) & 1) != 0)
195    }
196    #[doc = "Bit 6 - B1222"]
197    #[inline(always)]
198    pub fn b1222(&self) -> B1222_R {
199        B1222_R::new(((self.bits >> 6) & 1) != 0)
200    }
201    #[doc = "Bit 7 - B1223"]
202    #[inline(always)]
203    pub fn b1223(&self) -> B1223_R {
204        B1223_R::new(((self.bits >> 7) & 1) != 0)
205    }
206    #[doc = "Bit 8 - B1224"]
207    #[inline(always)]
208    pub fn b1224(&self) -> B1224_R {
209        B1224_R::new(((self.bits >> 8) & 1) != 0)
210    }
211    #[doc = "Bit 9 - B1225"]
212    #[inline(always)]
213    pub fn b1225(&self) -> B1225_R {
214        B1225_R::new(((self.bits >> 9) & 1) != 0)
215    }
216    #[doc = "Bit 10 - B1226"]
217    #[inline(always)]
218    pub fn b1226(&self) -> B1226_R {
219        B1226_R::new(((self.bits >> 10) & 1) != 0)
220    }
221    #[doc = "Bit 11 - B1227"]
222    #[inline(always)]
223    pub fn b1227(&self) -> B1227_R {
224        B1227_R::new(((self.bits >> 11) & 1) != 0)
225    }
226    #[doc = "Bit 12 - B1228"]
227    #[inline(always)]
228    pub fn b1228(&self) -> B1228_R {
229        B1228_R::new(((self.bits >> 12) & 1) != 0)
230    }
231    #[doc = "Bit 13 - B1229"]
232    #[inline(always)]
233    pub fn b1229(&self) -> B1229_R {
234        B1229_R::new(((self.bits >> 13) & 1) != 0)
235    }
236    #[doc = "Bit 14 - B1230"]
237    #[inline(always)]
238    pub fn b1230(&self) -> B1230_R {
239        B1230_R::new(((self.bits >> 14) & 1) != 0)
240    }
241    #[doc = "Bit 15 - B1231"]
242    #[inline(always)]
243    pub fn b1231(&self) -> B1231_R {
244        B1231_R::new(((self.bits >> 15) & 1) != 0)
245    }
246    #[doc = "Bit 16 - B1232"]
247    #[inline(always)]
248    pub fn b1232(&self) -> B1232_R {
249        B1232_R::new(((self.bits >> 16) & 1) != 0)
250    }
251    #[doc = "Bit 17 - B1233"]
252    #[inline(always)]
253    pub fn b1233(&self) -> B1233_R {
254        B1233_R::new(((self.bits >> 17) & 1) != 0)
255    }
256    #[doc = "Bit 18 - B1234"]
257    #[inline(always)]
258    pub fn b1234(&self) -> B1234_R {
259        B1234_R::new(((self.bits >> 18) & 1) != 0)
260    }
261    #[doc = "Bit 19 - B1235"]
262    #[inline(always)]
263    pub fn b1235(&self) -> B1235_R {
264        B1235_R::new(((self.bits >> 19) & 1) != 0)
265    }
266    #[doc = "Bit 20 - B1236"]
267    #[inline(always)]
268    pub fn b1236(&self) -> B1236_R {
269        B1236_R::new(((self.bits >> 20) & 1) != 0)
270    }
271    #[doc = "Bit 21 - B1237"]
272    #[inline(always)]
273    pub fn b1237(&self) -> B1237_R {
274        B1237_R::new(((self.bits >> 21) & 1) != 0)
275    }
276    #[doc = "Bit 22 - B1238"]
277    #[inline(always)]
278    pub fn b1238(&self) -> B1238_R {
279        B1238_R::new(((self.bits >> 22) & 1) != 0)
280    }
281    #[doc = "Bit 23 - B1239"]
282    #[inline(always)]
283    pub fn b1239(&self) -> B1239_R {
284        B1239_R::new(((self.bits >> 23) & 1) != 0)
285    }
286    #[doc = "Bit 24 - B1240"]
287    #[inline(always)]
288    pub fn b1240(&self) -> B1240_R {
289        B1240_R::new(((self.bits >> 24) & 1) != 0)
290    }
291    #[doc = "Bit 25 - B1241"]
292    #[inline(always)]
293    pub fn b1241(&self) -> B1241_R {
294        B1241_R::new(((self.bits >> 25) & 1) != 0)
295    }
296    #[doc = "Bit 26 - B1242"]
297    #[inline(always)]
298    pub fn b1242(&self) -> B1242_R {
299        B1242_R::new(((self.bits >> 26) & 1) != 0)
300    }
301    #[doc = "Bit 27 - B1243"]
302    #[inline(always)]
303    pub fn b1243(&self) -> B1243_R {
304        B1243_R::new(((self.bits >> 27) & 1) != 0)
305    }
306    #[doc = "Bit 28 - B1244"]
307    #[inline(always)]
308    pub fn b1244(&self) -> B1244_R {
309        B1244_R::new(((self.bits >> 28) & 1) != 0)
310    }
311    #[doc = "Bit 29 - B1245"]
312    #[inline(always)]
313    pub fn b1245(&self) -> B1245_R {
314        B1245_R::new(((self.bits >> 29) & 1) != 0)
315    }
316    #[doc = "Bit 30 - B1246"]
317    #[inline(always)]
318    pub fn b1246(&self) -> B1246_R {
319        B1246_R::new(((self.bits >> 30) & 1) != 0)
320    }
321    #[doc = "Bit 31 - B1247"]
322    #[inline(always)]
323    pub fn b1247(&self) -> B1247_R {
324        B1247_R::new(((self.bits >> 31) & 1) != 0)
325    }
326}
327impl W {
328    #[doc = "Bit 0 - B1216"]
329    #[inline(always)]
330    pub fn b1216(&mut self) -> B1216_W<0> {
331        B1216_W::new(self)
332    }
333    #[doc = "Bit 1 - B1217"]
334    #[inline(always)]
335    pub fn b1217(&mut self) -> B1217_W<1> {
336        B1217_W::new(self)
337    }
338    #[doc = "Bit 2 - B1218"]
339    #[inline(always)]
340    pub fn b1218(&mut self) -> B1218_W<2> {
341        B1218_W::new(self)
342    }
343    #[doc = "Bit 3 - B1219"]
344    #[inline(always)]
345    pub fn b1219(&mut self) -> B1219_W<3> {
346        B1219_W::new(self)
347    }
348    #[doc = "Bit 4 - B1220"]
349    #[inline(always)]
350    pub fn b1220(&mut self) -> B1220_W<4> {
351        B1220_W::new(self)
352    }
353    #[doc = "Bit 5 - B1221"]
354    #[inline(always)]
355    pub fn b1221(&mut self) -> B1221_W<5> {
356        B1221_W::new(self)
357    }
358    #[doc = "Bit 6 - B1222"]
359    #[inline(always)]
360    pub fn b1222(&mut self) -> B1222_W<6> {
361        B1222_W::new(self)
362    }
363    #[doc = "Bit 7 - B1223"]
364    #[inline(always)]
365    pub fn b1223(&mut self) -> B1223_W<7> {
366        B1223_W::new(self)
367    }
368    #[doc = "Bit 8 - B1224"]
369    #[inline(always)]
370    pub fn b1224(&mut self) -> B1224_W<8> {
371        B1224_W::new(self)
372    }
373    #[doc = "Bit 9 - B1225"]
374    #[inline(always)]
375    pub fn b1225(&mut self) -> B1225_W<9> {
376        B1225_W::new(self)
377    }
378    #[doc = "Bit 10 - B1226"]
379    #[inline(always)]
380    pub fn b1226(&mut self) -> B1226_W<10> {
381        B1226_W::new(self)
382    }
383    #[doc = "Bit 11 - B1227"]
384    #[inline(always)]
385    pub fn b1227(&mut self) -> B1227_W<11> {
386        B1227_W::new(self)
387    }
388    #[doc = "Bit 12 - B1228"]
389    #[inline(always)]
390    pub fn b1228(&mut self) -> B1228_W<12> {
391        B1228_W::new(self)
392    }
393    #[doc = "Bit 13 - B1229"]
394    #[inline(always)]
395    pub fn b1229(&mut self) -> B1229_W<13> {
396        B1229_W::new(self)
397    }
398    #[doc = "Bit 14 - B1230"]
399    #[inline(always)]
400    pub fn b1230(&mut self) -> B1230_W<14> {
401        B1230_W::new(self)
402    }
403    #[doc = "Bit 15 - B1231"]
404    #[inline(always)]
405    pub fn b1231(&mut self) -> B1231_W<15> {
406        B1231_W::new(self)
407    }
408    #[doc = "Bit 16 - B1232"]
409    #[inline(always)]
410    pub fn b1232(&mut self) -> B1232_W<16> {
411        B1232_W::new(self)
412    }
413    #[doc = "Bit 17 - B1233"]
414    #[inline(always)]
415    pub fn b1233(&mut self) -> B1233_W<17> {
416        B1233_W::new(self)
417    }
418    #[doc = "Bit 18 - B1234"]
419    #[inline(always)]
420    pub fn b1234(&mut self) -> B1234_W<18> {
421        B1234_W::new(self)
422    }
423    #[doc = "Bit 19 - B1235"]
424    #[inline(always)]
425    pub fn b1235(&mut self) -> B1235_W<19> {
426        B1235_W::new(self)
427    }
428    #[doc = "Bit 20 - B1236"]
429    #[inline(always)]
430    pub fn b1236(&mut self) -> B1236_W<20> {
431        B1236_W::new(self)
432    }
433    #[doc = "Bit 21 - B1237"]
434    #[inline(always)]
435    pub fn b1237(&mut self) -> B1237_W<21> {
436        B1237_W::new(self)
437    }
438    #[doc = "Bit 22 - B1238"]
439    #[inline(always)]
440    pub fn b1238(&mut self) -> B1238_W<22> {
441        B1238_W::new(self)
442    }
443    #[doc = "Bit 23 - B1239"]
444    #[inline(always)]
445    pub fn b1239(&mut self) -> B1239_W<23> {
446        B1239_W::new(self)
447    }
448    #[doc = "Bit 24 - B1240"]
449    #[inline(always)]
450    pub fn b1240(&mut self) -> B1240_W<24> {
451        B1240_W::new(self)
452    }
453    #[doc = "Bit 25 - B1241"]
454    #[inline(always)]
455    pub fn b1241(&mut self) -> B1241_W<25> {
456        B1241_W::new(self)
457    }
458    #[doc = "Bit 26 - B1242"]
459    #[inline(always)]
460    pub fn b1242(&mut self) -> B1242_W<26> {
461        B1242_W::new(self)
462    }
463    #[doc = "Bit 27 - B1243"]
464    #[inline(always)]
465    pub fn b1243(&mut self) -> B1243_W<27> {
466        B1243_W::new(self)
467    }
468    #[doc = "Bit 28 - B1244"]
469    #[inline(always)]
470    pub fn b1244(&mut self) -> B1244_W<28> {
471        B1244_W::new(self)
472    }
473    #[doc = "Bit 29 - B1245"]
474    #[inline(always)]
475    pub fn b1245(&mut self) -> B1245_W<29> {
476        B1245_W::new(self)
477    }
478    #[doc = "Bit 30 - B1246"]
479    #[inline(always)]
480    pub fn b1246(&mut self) -> B1246_W<30> {
481        B1246_W::new(self)
482    }
483    #[doc = "Bit 31 - B1247"]
484    #[inline(always)]
485    pub fn b1247(&mut self) -> B1247_W<31> {
486        B1247_W::new(self)
487    }
488    #[doc = "Writes raw bits to the register."]
489    #[inline(always)]
490    pub unsafe fn bits(&mut self, bits: u32) -> &mut Self {
491        self.0.bits(bits);
492        self
493    }
494}
495#[doc = "MPCBBx vector register\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 [mpcbb2_vctr38](index.html) module"]
496pub struct MPCBB2_VCTR38_SPEC;
497impl crate::RegisterSpec for MPCBB2_VCTR38_SPEC {
498    type Ux = u32;
499}
500#[doc = "`read()` method returns [mpcbb2_vctr38::R](R) reader structure"]
501impl crate::Readable for MPCBB2_VCTR38_SPEC {
502    type Reader = R;
503}
504#[doc = "`write(|w| ..)` method takes [mpcbb2_vctr38::W](W) writer structure"]
505impl crate::Writable for MPCBB2_VCTR38_SPEC {
506    type Writer = W;
507}
508#[doc = "`reset()` method sets MPCBB2_VCTR38 to value 0"]
509impl crate::Resettable for MPCBB2_VCTR38_SPEC {
510    #[inline(always)]
511    fn reset_value() -> Self::Ux {
512        0
513    }
514}