1#[doc = "Register `SCHMITT` reader"]
2pub struct R(crate::R<SCHMITT_SPEC>);
3impl core::ops::Deref for R {
4 type Target = crate::R<SCHMITT_SPEC>;
5 #[inline(always)]
6 fn deref(&self) -> &Self::Target {
7 &self.0
8 }
9}
10impl From<crate::R<SCHMITT_SPEC>> for R {
11 #[inline(always)]
12 fn from(reader: crate::R<SCHMITT_SPEC>) -> Self {
13 R(reader)
14 }
15}
16#[doc = "Register `SCHMITT` writer"]
17pub struct W(crate::W<SCHMITT_SPEC>);
18impl core::ops::Deref for W {
19 type Target = crate::W<SCHMITT_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<SCHMITT_SPEC>> for W {
32 #[inline(always)]
33 fn from(writer: crate::W<SCHMITT_SPEC>) -> Self {
34 W(writer)
35 }
36}
37#[doc = "Field `SCHMITT0` reader - Schmitt Trigger Control"]
38pub type SCHMITT0_R = crate::BitReader<bool>;
39#[doc = "Field `SCHMITT0` writer - Schmitt Trigger Control"]
40pub type SCHMITT0_W<'a, const O: u8> = crate::BitWriter<'a, u32, SCHMITT_SPEC, bool, O>;
41#[doc = "Field `SCHMITT1` reader - Schmitt Trigger Control"]
42pub type SCHMITT1_R = crate::BitReader<bool>;
43#[doc = "Field `SCHMITT1` writer - Schmitt Trigger Control"]
44pub type SCHMITT1_W<'a, const O: u8> = crate::BitWriter<'a, u32, SCHMITT_SPEC, bool, O>;
45#[doc = "Field `SCHMITT2` reader - Schmitt Trigger Control"]
46pub type SCHMITT2_R = crate::BitReader<bool>;
47#[doc = "Field `SCHMITT2` writer - Schmitt Trigger Control"]
48pub type SCHMITT2_W<'a, const O: u8> = crate::BitWriter<'a, u32, SCHMITT_SPEC, bool, O>;
49#[doc = "Field `SCHMITT3` reader - Schmitt Trigger Control"]
50pub type SCHMITT3_R = crate::BitReader<bool>;
51#[doc = "Field `SCHMITT3` writer - Schmitt Trigger Control"]
52pub type SCHMITT3_W<'a, const O: u8> = crate::BitWriter<'a, u32, SCHMITT_SPEC, bool, O>;
53#[doc = "Field `SCHMITT4` reader - Schmitt Trigger Control"]
54pub type SCHMITT4_R = crate::BitReader<bool>;
55#[doc = "Field `SCHMITT4` writer - Schmitt Trigger Control"]
56pub type SCHMITT4_W<'a, const O: u8> = crate::BitWriter<'a, u32, SCHMITT_SPEC, bool, O>;
57#[doc = "Field `SCHMITT5` reader - Schmitt Trigger Control"]
58pub type SCHMITT5_R = crate::BitReader<bool>;
59#[doc = "Field `SCHMITT5` writer - Schmitt Trigger Control"]
60pub type SCHMITT5_W<'a, const O: u8> = crate::BitWriter<'a, u32, SCHMITT_SPEC, bool, O>;
61#[doc = "Field `SCHMITT6` reader - Schmitt Trigger Control"]
62pub type SCHMITT6_R = crate::BitReader<bool>;
63#[doc = "Field `SCHMITT6` writer - Schmitt Trigger Control"]
64pub type SCHMITT6_W<'a, const O: u8> = crate::BitWriter<'a, u32, SCHMITT_SPEC, bool, O>;
65#[doc = "Field `SCHMITT7` reader - Schmitt Trigger Control"]
66pub type SCHMITT7_R = crate::BitReader<bool>;
67#[doc = "Field `SCHMITT7` writer - Schmitt Trigger Control"]
68pub type SCHMITT7_W<'a, const O: u8> = crate::BitWriter<'a, u32, SCHMITT_SPEC, bool, O>;
69#[doc = "Field `SCHMITT8` reader - Schmitt Trigger Control"]
70pub type SCHMITT8_R = crate::BitReader<bool>;
71#[doc = "Field `SCHMITT8` writer - Schmitt Trigger Control"]
72pub type SCHMITT8_W<'a, const O: u8> = crate::BitWriter<'a, u32, SCHMITT_SPEC, bool, O>;
73#[doc = "Field `SCHMITT9` reader - Schmitt Trigger Control"]
74pub type SCHMITT9_R = crate::BitReader<bool>;
75#[doc = "Field `SCHMITT9` writer - Schmitt Trigger Control"]
76pub type SCHMITT9_W<'a, const O: u8> = crate::BitWriter<'a, u32, SCHMITT_SPEC, bool, O>;
77#[doc = "Field `SCHMITT10` reader - Schmitt Trigger Control"]
78pub type SCHMITT10_R = crate::BitReader<bool>;
79#[doc = "Field `SCHMITT10` writer - Schmitt Trigger Control"]
80pub type SCHMITT10_W<'a, const O: u8> = crate::BitWriter<'a, u32, SCHMITT_SPEC, bool, O>;
81#[doc = "Field `SCHMITT11` reader - Schmitt Trigger Control"]
82pub type SCHMITT11_R = crate::BitReader<bool>;
83#[doc = "Field `SCHMITT11` writer - Schmitt Trigger Control"]
84pub type SCHMITT11_W<'a, const O: u8> = crate::BitWriter<'a, u32, SCHMITT_SPEC, bool, O>;
85#[doc = "Field `SCHMITT12` reader - Schmitt Trigger Control"]
86pub type SCHMITT12_R = crate::BitReader<bool>;
87#[doc = "Field `SCHMITT12` writer - Schmitt Trigger Control"]
88pub type SCHMITT12_W<'a, const O: u8> = crate::BitWriter<'a, u32, SCHMITT_SPEC, bool, O>;
89#[doc = "Field `SCHMITT13` reader - Schmitt Trigger Control"]
90pub type SCHMITT13_R = crate::BitReader<bool>;
91#[doc = "Field `SCHMITT13` writer - Schmitt Trigger Control"]
92pub type SCHMITT13_W<'a, const O: u8> = crate::BitWriter<'a, u32, SCHMITT_SPEC, bool, O>;
93#[doc = "Field `SCHMITT14` reader - Schmitt Trigger Control"]
94pub type SCHMITT14_R = crate::BitReader<bool>;
95#[doc = "Field `SCHMITT14` writer - Schmitt Trigger Control"]
96pub type SCHMITT14_W<'a, const O: u8> = crate::BitWriter<'a, u32, SCHMITT_SPEC, bool, O>;
97#[doc = "Field `SCHMITT15` reader - Schmitt Trigger Control"]
98pub type SCHMITT15_R = crate::BitReader<bool>;
99#[doc = "Field `SCHMITT15` writer - Schmitt Trigger Control"]
100pub type SCHMITT15_W<'a, const O: u8> = crate::BitWriter<'a, u32, SCHMITT_SPEC, bool, O>;
101#[doc = "Field `SCHMITT16` reader - Schmitt Trigger Control"]
102pub type SCHMITT16_R = crate::BitReader<bool>;
103#[doc = "Field `SCHMITT16` writer - Schmitt Trigger Control"]
104pub type SCHMITT16_W<'a, const O: u8> = crate::BitWriter<'a, u32, SCHMITT_SPEC, bool, O>;
105#[doc = "Field `SCHMITT17` reader - Schmitt Trigger Control"]
106pub type SCHMITT17_R = crate::BitReader<bool>;
107#[doc = "Field `SCHMITT17` writer - Schmitt Trigger Control"]
108pub type SCHMITT17_W<'a, const O: u8> = crate::BitWriter<'a, u32, SCHMITT_SPEC, bool, O>;
109#[doc = "Field `SCHMITT18` reader - Schmitt Trigger Control"]
110pub type SCHMITT18_R = crate::BitReader<bool>;
111#[doc = "Field `SCHMITT18` writer - Schmitt Trigger Control"]
112pub type SCHMITT18_W<'a, const O: u8> = crate::BitWriter<'a, u32, SCHMITT_SPEC, bool, O>;
113#[doc = "Field `SCHMITT19` reader - Schmitt Trigger Control"]
114pub type SCHMITT19_R = crate::BitReader<bool>;
115#[doc = "Field `SCHMITT19` writer - Schmitt Trigger Control"]
116pub type SCHMITT19_W<'a, const O: u8> = crate::BitWriter<'a, u32, SCHMITT_SPEC, bool, O>;
117#[doc = "Field `SCHMITT20` reader - Schmitt Trigger Control"]
118pub type SCHMITT20_R = crate::BitReader<bool>;
119#[doc = "Field `SCHMITT20` writer - Schmitt Trigger Control"]
120pub type SCHMITT20_W<'a, const O: u8> = crate::BitWriter<'a, u32, SCHMITT_SPEC, bool, O>;
121#[doc = "Field `SCHMITT21` reader - Schmitt Trigger Control"]
122pub type SCHMITT21_R = crate::BitReader<bool>;
123#[doc = "Field `SCHMITT21` writer - Schmitt Trigger Control"]
124pub type SCHMITT21_W<'a, const O: u8> = crate::BitWriter<'a, u32, SCHMITT_SPEC, bool, O>;
125#[doc = "Field `SCHMITT22` reader - Schmitt Trigger Control"]
126pub type SCHMITT22_R = crate::BitReader<bool>;
127#[doc = "Field `SCHMITT22` writer - Schmitt Trigger Control"]
128pub type SCHMITT22_W<'a, const O: u8> = crate::BitWriter<'a, u32, SCHMITT_SPEC, bool, O>;
129#[doc = "Field `SCHMITT23` reader - Schmitt Trigger Control"]
130pub type SCHMITT23_R = crate::BitReader<bool>;
131#[doc = "Field `SCHMITT23` writer - Schmitt Trigger Control"]
132pub type SCHMITT23_W<'a, const O: u8> = crate::BitWriter<'a, u32, SCHMITT_SPEC, bool, O>;
133#[doc = "Field `SCHMITT24` reader - Schmitt Trigger Control"]
134pub type SCHMITT24_R = crate::BitReader<bool>;
135#[doc = "Field `SCHMITT24` writer - Schmitt Trigger Control"]
136pub type SCHMITT24_W<'a, const O: u8> = crate::BitWriter<'a, u32, SCHMITT_SPEC, bool, O>;
137#[doc = "Field `SCHMITT25` reader - Schmitt Trigger Control"]
138pub type SCHMITT25_R = crate::BitReader<bool>;
139#[doc = "Field `SCHMITT25` writer - Schmitt Trigger Control"]
140pub type SCHMITT25_W<'a, const O: u8> = crate::BitWriter<'a, u32, SCHMITT_SPEC, bool, O>;
141#[doc = "Field `SCHMITT26` reader - Schmitt Trigger Control"]
142pub type SCHMITT26_R = crate::BitReader<bool>;
143#[doc = "Field `SCHMITT26` writer - Schmitt Trigger Control"]
144pub type SCHMITT26_W<'a, const O: u8> = crate::BitWriter<'a, u32, SCHMITT_SPEC, bool, O>;
145#[doc = "Field `SCHMITT27` reader - Schmitt Trigger Control"]
146pub type SCHMITT27_R = crate::BitReader<bool>;
147#[doc = "Field `SCHMITT27` writer - Schmitt Trigger Control"]
148pub type SCHMITT27_W<'a, const O: u8> = crate::BitWriter<'a, u32, SCHMITT_SPEC, bool, O>;
149#[doc = "Field `SCHMITT28` reader - Schmitt Trigger Control"]
150pub type SCHMITT28_R = crate::BitReader<bool>;
151#[doc = "Field `SCHMITT28` writer - Schmitt Trigger Control"]
152pub type SCHMITT28_W<'a, const O: u8> = crate::BitWriter<'a, u32, SCHMITT_SPEC, bool, O>;
153#[doc = "Field `SCHMITT29` reader - Schmitt Trigger Control"]
154pub type SCHMITT29_R = crate::BitReader<bool>;
155#[doc = "Field `SCHMITT29` writer - Schmitt Trigger Control"]
156pub type SCHMITT29_W<'a, const O: u8> = crate::BitWriter<'a, u32, SCHMITT_SPEC, bool, O>;
157#[doc = "Field `SCHMITT30` reader - Schmitt Trigger Control"]
158pub type SCHMITT30_R = crate::BitReader<bool>;
159#[doc = "Field `SCHMITT30` writer - Schmitt Trigger Control"]
160pub type SCHMITT30_W<'a, const O: u8> = crate::BitWriter<'a, u32, SCHMITT_SPEC, bool, O>;
161#[doc = "Field `SCHMITT31` reader - Schmitt Trigger Control"]
162pub type SCHMITT31_R = crate::BitReader<bool>;
163#[doc = "Field `SCHMITT31` writer - Schmitt Trigger Control"]
164pub type SCHMITT31_W<'a, const O: u8> = crate::BitWriter<'a, u32, SCHMITT_SPEC, bool, O>;
165impl R {
166 #[doc = "Bit 0 - Schmitt Trigger Control"]
167 #[inline(always)]
168 pub fn schmitt0(&self) -> SCHMITT0_R {
169 SCHMITT0_R::new((self.bits & 1) != 0)
170 }
171 #[doc = "Bit 1 - Schmitt Trigger Control"]
172 #[inline(always)]
173 pub fn schmitt1(&self) -> SCHMITT1_R {
174 SCHMITT1_R::new(((self.bits >> 1) & 1) != 0)
175 }
176 #[doc = "Bit 2 - Schmitt Trigger Control"]
177 #[inline(always)]
178 pub fn schmitt2(&self) -> SCHMITT2_R {
179 SCHMITT2_R::new(((self.bits >> 2) & 1) != 0)
180 }
181 #[doc = "Bit 3 - Schmitt Trigger Control"]
182 #[inline(always)]
183 pub fn schmitt3(&self) -> SCHMITT3_R {
184 SCHMITT3_R::new(((self.bits >> 3) & 1) != 0)
185 }
186 #[doc = "Bit 4 - Schmitt Trigger Control"]
187 #[inline(always)]
188 pub fn schmitt4(&self) -> SCHMITT4_R {
189 SCHMITT4_R::new(((self.bits >> 4) & 1) != 0)
190 }
191 #[doc = "Bit 5 - Schmitt Trigger Control"]
192 #[inline(always)]
193 pub fn schmitt5(&self) -> SCHMITT5_R {
194 SCHMITT5_R::new(((self.bits >> 5) & 1) != 0)
195 }
196 #[doc = "Bit 6 - Schmitt Trigger Control"]
197 #[inline(always)]
198 pub fn schmitt6(&self) -> SCHMITT6_R {
199 SCHMITT6_R::new(((self.bits >> 6) & 1) != 0)
200 }
201 #[doc = "Bit 7 - Schmitt Trigger Control"]
202 #[inline(always)]
203 pub fn schmitt7(&self) -> SCHMITT7_R {
204 SCHMITT7_R::new(((self.bits >> 7) & 1) != 0)
205 }
206 #[doc = "Bit 8 - Schmitt Trigger Control"]
207 #[inline(always)]
208 pub fn schmitt8(&self) -> SCHMITT8_R {
209 SCHMITT8_R::new(((self.bits >> 8) & 1) != 0)
210 }
211 #[doc = "Bit 9 - Schmitt Trigger Control"]
212 #[inline(always)]
213 pub fn schmitt9(&self) -> SCHMITT9_R {
214 SCHMITT9_R::new(((self.bits >> 9) & 1) != 0)
215 }
216 #[doc = "Bit 10 - Schmitt Trigger Control"]
217 #[inline(always)]
218 pub fn schmitt10(&self) -> SCHMITT10_R {
219 SCHMITT10_R::new(((self.bits >> 10) & 1) != 0)
220 }
221 #[doc = "Bit 11 - Schmitt Trigger Control"]
222 #[inline(always)]
223 pub fn schmitt11(&self) -> SCHMITT11_R {
224 SCHMITT11_R::new(((self.bits >> 11) & 1) != 0)
225 }
226 #[doc = "Bit 12 - Schmitt Trigger Control"]
227 #[inline(always)]
228 pub fn schmitt12(&self) -> SCHMITT12_R {
229 SCHMITT12_R::new(((self.bits >> 12) & 1) != 0)
230 }
231 #[doc = "Bit 13 - Schmitt Trigger Control"]
232 #[inline(always)]
233 pub fn schmitt13(&self) -> SCHMITT13_R {
234 SCHMITT13_R::new(((self.bits >> 13) & 1) != 0)
235 }
236 #[doc = "Bit 14 - Schmitt Trigger Control"]
237 #[inline(always)]
238 pub fn schmitt14(&self) -> SCHMITT14_R {
239 SCHMITT14_R::new(((self.bits >> 14) & 1) != 0)
240 }
241 #[doc = "Bit 15 - Schmitt Trigger Control"]
242 #[inline(always)]
243 pub fn schmitt15(&self) -> SCHMITT15_R {
244 SCHMITT15_R::new(((self.bits >> 15) & 1) != 0)
245 }
246 #[doc = "Bit 16 - Schmitt Trigger Control"]
247 #[inline(always)]
248 pub fn schmitt16(&self) -> SCHMITT16_R {
249 SCHMITT16_R::new(((self.bits >> 16) & 1) != 0)
250 }
251 #[doc = "Bit 17 - Schmitt Trigger Control"]
252 #[inline(always)]
253 pub fn schmitt17(&self) -> SCHMITT17_R {
254 SCHMITT17_R::new(((self.bits >> 17) & 1) != 0)
255 }
256 #[doc = "Bit 18 - Schmitt Trigger Control"]
257 #[inline(always)]
258 pub fn schmitt18(&self) -> SCHMITT18_R {
259 SCHMITT18_R::new(((self.bits >> 18) & 1) != 0)
260 }
261 #[doc = "Bit 19 - Schmitt Trigger Control"]
262 #[inline(always)]
263 pub fn schmitt19(&self) -> SCHMITT19_R {
264 SCHMITT19_R::new(((self.bits >> 19) & 1) != 0)
265 }
266 #[doc = "Bit 20 - Schmitt Trigger Control"]
267 #[inline(always)]
268 pub fn schmitt20(&self) -> SCHMITT20_R {
269 SCHMITT20_R::new(((self.bits >> 20) & 1) != 0)
270 }
271 #[doc = "Bit 21 - Schmitt Trigger Control"]
272 #[inline(always)]
273 pub fn schmitt21(&self) -> SCHMITT21_R {
274 SCHMITT21_R::new(((self.bits >> 21) & 1) != 0)
275 }
276 #[doc = "Bit 22 - Schmitt Trigger Control"]
277 #[inline(always)]
278 pub fn schmitt22(&self) -> SCHMITT22_R {
279 SCHMITT22_R::new(((self.bits >> 22) & 1) != 0)
280 }
281 #[doc = "Bit 23 - Schmitt Trigger Control"]
282 #[inline(always)]
283 pub fn schmitt23(&self) -> SCHMITT23_R {
284 SCHMITT23_R::new(((self.bits >> 23) & 1) != 0)
285 }
286 #[doc = "Bit 24 - Schmitt Trigger Control"]
287 #[inline(always)]
288 pub fn schmitt24(&self) -> SCHMITT24_R {
289 SCHMITT24_R::new(((self.bits >> 24) & 1) != 0)
290 }
291 #[doc = "Bit 25 - Schmitt Trigger Control"]
292 #[inline(always)]
293 pub fn schmitt25(&self) -> SCHMITT25_R {
294 SCHMITT25_R::new(((self.bits >> 25) & 1) != 0)
295 }
296 #[doc = "Bit 26 - Schmitt Trigger Control"]
297 #[inline(always)]
298 pub fn schmitt26(&self) -> SCHMITT26_R {
299 SCHMITT26_R::new(((self.bits >> 26) & 1) != 0)
300 }
301 #[doc = "Bit 27 - Schmitt Trigger Control"]
302 #[inline(always)]
303 pub fn schmitt27(&self) -> SCHMITT27_R {
304 SCHMITT27_R::new(((self.bits >> 27) & 1) != 0)
305 }
306 #[doc = "Bit 28 - Schmitt Trigger Control"]
307 #[inline(always)]
308 pub fn schmitt28(&self) -> SCHMITT28_R {
309 SCHMITT28_R::new(((self.bits >> 28) & 1) != 0)
310 }
311 #[doc = "Bit 29 - Schmitt Trigger Control"]
312 #[inline(always)]
313 pub fn schmitt29(&self) -> SCHMITT29_R {
314 SCHMITT29_R::new(((self.bits >> 29) & 1) != 0)
315 }
316 #[doc = "Bit 30 - Schmitt Trigger Control"]
317 #[inline(always)]
318 pub fn schmitt30(&self) -> SCHMITT30_R {
319 SCHMITT30_R::new(((self.bits >> 30) & 1) != 0)
320 }
321 #[doc = "Bit 31 - Schmitt Trigger Control"]
322 #[inline(always)]
323 pub fn schmitt31(&self) -> SCHMITT31_R {
324 SCHMITT31_R::new(((self.bits >> 31) & 1) != 0)
325 }
326}
327impl W {
328 #[doc = "Bit 0 - Schmitt Trigger Control"]
329 #[inline(always)]
330 #[must_use]
331 pub fn schmitt0(&mut self) -> SCHMITT0_W<0> {
332 SCHMITT0_W::new(self)
333 }
334 #[doc = "Bit 1 - Schmitt Trigger Control"]
335 #[inline(always)]
336 #[must_use]
337 pub fn schmitt1(&mut self) -> SCHMITT1_W<1> {
338 SCHMITT1_W::new(self)
339 }
340 #[doc = "Bit 2 - Schmitt Trigger Control"]
341 #[inline(always)]
342 #[must_use]
343 pub fn schmitt2(&mut self) -> SCHMITT2_W<2> {
344 SCHMITT2_W::new(self)
345 }
346 #[doc = "Bit 3 - Schmitt Trigger Control"]
347 #[inline(always)]
348 #[must_use]
349 pub fn schmitt3(&mut self) -> SCHMITT3_W<3> {
350 SCHMITT3_W::new(self)
351 }
352 #[doc = "Bit 4 - Schmitt Trigger Control"]
353 #[inline(always)]
354 #[must_use]
355 pub fn schmitt4(&mut self) -> SCHMITT4_W<4> {
356 SCHMITT4_W::new(self)
357 }
358 #[doc = "Bit 5 - Schmitt Trigger Control"]
359 #[inline(always)]
360 #[must_use]
361 pub fn schmitt5(&mut self) -> SCHMITT5_W<5> {
362 SCHMITT5_W::new(self)
363 }
364 #[doc = "Bit 6 - Schmitt Trigger Control"]
365 #[inline(always)]
366 #[must_use]
367 pub fn schmitt6(&mut self) -> SCHMITT6_W<6> {
368 SCHMITT6_W::new(self)
369 }
370 #[doc = "Bit 7 - Schmitt Trigger Control"]
371 #[inline(always)]
372 #[must_use]
373 pub fn schmitt7(&mut self) -> SCHMITT7_W<7> {
374 SCHMITT7_W::new(self)
375 }
376 #[doc = "Bit 8 - Schmitt Trigger Control"]
377 #[inline(always)]
378 #[must_use]
379 pub fn schmitt8(&mut self) -> SCHMITT8_W<8> {
380 SCHMITT8_W::new(self)
381 }
382 #[doc = "Bit 9 - Schmitt Trigger Control"]
383 #[inline(always)]
384 #[must_use]
385 pub fn schmitt9(&mut self) -> SCHMITT9_W<9> {
386 SCHMITT9_W::new(self)
387 }
388 #[doc = "Bit 10 - Schmitt Trigger Control"]
389 #[inline(always)]
390 #[must_use]
391 pub fn schmitt10(&mut self) -> SCHMITT10_W<10> {
392 SCHMITT10_W::new(self)
393 }
394 #[doc = "Bit 11 - Schmitt Trigger Control"]
395 #[inline(always)]
396 #[must_use]
397 pub fn schmitt11(&mut self) -> SCHMITT11_W<11> {
398 SCHMITT11_W::new(self)
399 }
400 #[doc = "Bit 12 - Schmitt Trigger Control"]
401 #[inline(always)]
402 #[must_use]
403 pub fn schmitt12(&mut self) -> SCHMITT12_W<12> {
404 SCHMITT12_W::new(self)
405 }
406 #[doc = "Bit 13 - Schmitt Trigger Control"]
407 #[inline(always)]
408 #[must_use]
409 pub fn schmitt13(&mut self) -> SCHMITT13_W<13> {
410 SCHMITT13_W::new(self)
411 }
412 #[doc = "Bit 14 - Schmitt Trigger Control"]
413 #[inline(always)]
414 #[must_use]
415 pub fn schmitt14(&mut self) -> SCHMITT14_W<14> {
416 SCHMITT14_W::new(self)
417 }
418 #[doc = "Bit 15 - Schmitt Trigger Control"]
419 #[inline(always)]
420 #[must_use]
421 pub fn schmitt15(&mut self) -> SCHMITT15_W<15> {
422 SCHMITT15_W::new(self)
423 }
424 #[doc = "Bit 16 - Schmitt Trigger Control"]
425 #[inline(always)]
426 #[must_use]
427 pub fn schmitt16(&mut self) -> SCHMITT16_W<16> {
428 SCHMITT16_W::new(self)
429 }
430 #[doc = "Bit 17 - Schmitt Trigger Control"]
431 #[inline(always)]
432 #[must_use]
433 pub fn schmitt17(&mut self) -> SCHMITT17_W<17> {
434 SCHMITT17_W::new(self)
435 }
436 #[doc = "Bit 18 - Schmitt Trigger Control"]
437 #[inline(always)]
438 #[must_use]
439 pub fn schmitt18(&mut self) -> SCHMITT18_W<18> {
440 SCHMITT18_W::new(self)
441 }
442 #[doc = "Bit 19 - Schmitt Trigger Control"]
443 #[inline(always)]
444 #[must_use]
445 pub fn schmitt19(&mut self) -> SCHMITT19_W<19> {
446 SCHMITT19_W::new(self)
447 }
448 #[doc = "Bit 20 - Schmitt Trigger Control"]
449 #[inline(always)]
450 #[must_use]
451 pub fn schmitt20(&mut self) -> SCHMITT20_W<20> {
452 SCHMITT20_W::new(self)
453 }
454 #[doc = "Bit 21 - Schmitt Trigger Control"]
455 #[inline(always)]
456 #[must_use]
457 pub fn schmitt21(&mut self) -> SCHMITT21_W<21> {
458 SCHMITT21_W::new(self)
459 }
460 #[doc = "Bit 22 - Schmitt Trigger Control"]
461 #[inline(always)]
462 #[must_use]
463 pub fn schmitt22(&mut self) -> SCHMITT22_W<22> {
464 SCHMITT22_W::new(self)
465 }
466 #[doc = "Bit 23 - Schmitt Trigger Control"]
467 #[inline(always)]
468 #[must_use]
469 pub fn schmitt23(&mut self) -> SCHMITT23_W<23> {
470 SCHMITT23_W::new(self)
471 }
472 #[doc = "Bit 24 - Schmitt Trigger Control"]
473 #[inline(always)]
474 #[must_use]
475 pub fn schmitt24(&mut self) -> SCHMITT24_W<24> {
476 SCHMITT24_W::new(self)
477 }
478 #[doc = "Bit 25 - Schmitt Trigger Control"]
479 #[inline(always)]
480 #[must_use]
481 pub fn schmitt25(&mut self) -> SCHMITT25_W<25> {
482 SCHMITT25_W::new(self)
483 }
484 #[doc = "Bit 26 - Schmitt Trigger Control"]
485 #[inline(always)]
486 #[must_use]
487 pub fn schmitt26(&mut self) -> SCHMITT26_W<26> {
488 SCHMITT26_W::new(self)
489 }
490 #[doc = "Bit 27 - Schmitt Trigger Control"]
491 #[inline(always)]
492 #[must_use]
493 pub fn schmitt27(&mut self) -> SCHMITT27_W<27> {
494 SCHMITT27_W::new(self)
495 }
496 #[doc = "Bit 28 - Schmitt Trigger Control"]
497 #[inline(always)]
498 #[must_use]
499 pub fn schmitt28(&mut self) -> SCHMITT28_W<28> {
500 SCHMITT28_W::new(self)
501 }
502 #[doc = "Bit 29 - Schmitt Trigger Control"]
503 #[inline(always)]
504 #[must_use]
505 pub fn schmitt29(&mut self) -> SCHMITT29_W<29> {
506 SCHMITT29_W::new(self)
507 }
508 #[doc = "Bit 30 - Schmitt Trigger Control"]
509 #[inline(always)]
510 #[must_use]
511 pub fn schmitt30(&mut self) -> SCHMITT30_W<30> {
512 SCHMITT30_W::new(self)
513 }
514 #[doc = "Bit 31 - Schmitt Trigger Control"]
515 #[inline(always)]
516 #[must_use]
517 pub fn schmitt31(&mut self) -> SCHMITT31_W<31> {
518 SCHMITT31_W::new(self)
519 }
520 #[doc = "Writes raw bits to the register."]
521 #[inline(always)]
522 pub unsafe fn bits(&mut self, bits: u32) -> &mut Self {
523 self.0.bits(bits);
524 self
525 }
526}
527#[doc = "Schmitt Trigger 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 [schmitt](index.html) module"]
528pub struct SCHMITT_SPEC;
529impl crate::RegisterSpec for SCHMITT_SPEC {
530 type Ux = u32;
531}
532#[doc = "`read()` method returns [schmitt::R](R) reader structure"]
533impl crate::Readable for SCHMITT_SPEC {
534 type Reader = R;
535}
536#[doc = "`write(|w| ..)` method takes [schmitt::W](W) writer structure"]
537impl crate::Writable for SCHMITT_SPEC {
538 type Writer = W;
539 const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
540 const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
541}
542#[doc = "`reset()` method sets SCHMITT to value 0"]
543impl crate::Resettable for SCHMITT_SPEC {
544 const RESET_VALUE: Self::Ux = 0;
545}