1#[doc = "Register `SWTRIGCTRL` reader"]
2pub type R = crate::R<SwtrigctrlSpec>;
3#[doc = "Register `SWTRIGCTRL` writer"]
4pub type W = crate::W<SwtrigctrlSpec>;
5#[doc = "Field `SWTRIG0` reader - Channel 0 Software Trigger"]
6pub type Swtrig0R = crate::BitReader;
7#[doc = "Field `SWTRIG0` writer - Channel 0 Software Trigger"]
8pub type Swtrig0W<'a, REG> = crate::BitWriter<'a, REG>;
9#[doc = "Field `SWTRIG1` reader - Channel 1 Software Trigger"]
10pub type Swtrig1R = crate::BitReader;
11#[doc = "Field `SWTRIG1` writer - Channel 1 Software Trigger"]
12pub type Swtrig1W<'a, REG> = crate::BitWriter<'a, REG>;
13#[doc = "Field `SWTRIG2` reader - Channel 2 Software Trigger"]
14pub type Swtrig2R = crate::BitReader;
15#[doc = "Field `SWTRIG2` writer - Channel 2 Software Trigger"]
16pub type Swtrig2W<'a, REG> = crate::BitWriter<'a, REG>;
17#[doc = "Field `SWTRIG3` reader - Channel 3 Software Trigger"]
18pub type Swtrig3R = crate::BitReader;
19#[doc = "Field `SWTRIG3` writer - Channel 3 Software Trigger"]
20pub type Swtrig3W<'a, REG> = crate::BitWriter<'a, REG>;
21#[doc = "Field `SWTRIG4` reader - Channel 4 Software Trigger"]
22pub type Swtrig4R = crate::BitReader;
23#[doc = "Field `SWTRIG4` writer - Channel 4 Software Trigger"]
24pub type Swtrig4W<'a, REG> = crate::BitWriter<'a, REG>;
25#[doc = "Field `SWTRIG5` reader - Channel 5 Software Trigger"]
26pub type Swtrig5R = crate::BitReader;
27#[doc = "Field `SWTRIG5` writer - Channel 5 Software Trigger"]
28pub type Swtrig5W<'a, REG> = crate::BitWriter<'a, REG>;
29#[doc = "Field `SWTRIG6` reader - Channel 6 Software Trigger"]
30pub type Swtrig6R = crate::BitReader;
31#[doc = "Field `SWTRIG6` writer - Channel 6 Software Trigger"]
32pub type Swtrig6W<'a, REG> = crate::BitWriter<'a, REG>;
33#[doc = "Field `SWTRIG7` reader - Channel 7 Software Trigger"]
34pub type Swtrig7R = crate::BitReader;
35#[doc = "Field `SWTRIG7` writer - Channel 7 Software Trigger"]
36pub type Swtrig7W<'a, REG> = crate::BitWriter<'a, REG>;
37#[doc = "Field `SWTRIG8` reader - Channel 8 Software Trigger"]
38pub type Swtrig8R = crate::BitReader;
39#[doc = "Field `SWTRIG8` writer - Channel 8 Software Trigger"]
40pub type Swtrig8W<'a, REG> = crate::BitWriter<'a, REG>;
41#[doc = "Field `SWTRIG9` reader - Channel 9 Software Trigger"]
42pub type Swtrig9R = crate::BitReader;
43#[doc = "Field `SWTRIG9` writer - Channel 9 Software Trigger"]
44pub type Swtrig9W<'a, REG> = crate::BitWriter<'a, REG>;
45#[doc = "Field `SWTRIG10` reader - Channel 10 Software Trigger"]
46pub type Swtrig10R = crate::BitReader;
47#[doc = "Field `SWTRIG10` writer - Channel 10 Software Trigger"]
48pub type Swtrig10W<'a, REG> = crate::BitWriter<'a, REG>;
49#[doc = "Field `SWTRIG11` reader - Channel 11 Software Trigger"]
50pub type Swtrig11R = crate::BitReader;
51#[doc = "Field `SWTRIG11` writer - Channel 11 Software Trigger"]
52pub type Swtrig11W<'a, REG> = crate::BitWriter<'a, REG>;
53#[doc = "Field `SWTRIG12` reader - Channel 12 Software Trigger"]
54pub type Swtrig12R = crate::BitReader;
55#[doc = "Field `SWTRIG12` writer - Channel 12 Software Trigger"]
56pub type Swtrig12W<'a, REG> = crate::BitWriter<'a, REG>;
57#[doc = "Field `SWTRIG13` reader - Channel 13 Software Trigger"]
58pub type Swtrig13R = crate::BitReader;
59#[doc = "Field `SWTRIG13` writer - Channel 13 Software Trigger"]
60pub type Swtrig13W<'a, REG> = crate::BitWriter<'a, REG>;
61#[doc = "Field `SWTRIG14` reader - Channel 14 Software Trigger"]
62pub type Swtrig14R = crate::BitReader;
63#[doc = "Field `SWTRIG14` writer - Channel 14 Software Trigger"]
64pub type Swtrig14W<'a, REG> = crate::BitWriter<'a, REG>;
65#[doc = "Field `SWTRIG15` reader - Channel 15 Software Trigger"]
66pub type Swtrig15R = crate::BitReader;
67#[doc = "Field `SWTRIG15` writer - Channel 15 Software Trigger"]
68pub type Swtrig15W<'a, REG> = crate::BitWriter<'a, REG>;
69#[doc = "Field `SWTRIG16` reader - Channel 16 Software Trigger"]
70pub type Swtrig16R = crate::BitReader;
71#[doc = "Field `SWTRIG16` writer - Channel 16 Software Trigger"]
72pub type Swtrig16W<'a, REG> = crate::BitWriter<'a, REG>;
73#[doc = "Field `SWTRIG17` reader - Channel 17 Software Trigger"]
74pub type Swtrig17R = crate::BitReader;
75#[doc = "Field `SWTRIG17` writer - Channel 17 Software Trigger"]
76pub type Swtrig17W<'a, REG> = crate::BitWriter<'a, REG>;
77#[doc = "Field `SWTRIG18` reader - Channel 18 Software Trigger"]
78pub type Swtrig18R = crate::BitReader;
79#[doc = "Field `SWTRIG18` writer - Channel 18 Software Trigger"]
80pub type Swtrig18W<'a, REG> = crate::BitWriter<'a, REG>;
81#[doc = "Field `SWTRIG19` reader - Channel 19 Software Trigger"]
82pub type Swtrig19R = crate::BitReader;
83#[doc = "Field `SWTRIG19` writer - Channel 19 Software Trigger"]
84pub type Swtrig19W<'a, REG> = crate::BitWriter<'a, REG>;
85#[doc = "Field `SWTRIG20` reader - Channel 20 Software Trigger"]
86pub type Swtrig20R = crate::BitReader;
87#[doc = "Field `SWTRIG20` writer - Channel 20 Software Trigger"]
88pub type Swtrig20W<'a, REG> = crate::BitWriter<'a, REG>;
89#[doc = "Field `SWTRIG21` reader - Channel 21 Software Trigger"]
90pub type Swtrig21R = crate::BitReader;
91#[doc = "Field `SWTRIG21` writer - Channel 21 Software Trigger"]
92pub type Swtrig21W<'a, REG> = crate::BitWriter<'a, REG>;
93#[doc = "Field `SWTRIG22` reader - Channel 22 Software Trigger"]
94pub type Swtrig22R = crate::BitReader;
95#[doc = "Field `SWTRIG22` writer - Channel 22 Software Trigger"]
96pub type Swtrig22W<'a, REG> = crate::BitWriter<'a, REG>;
97#[doc = "Field `SWTRIG23` reader - Channel 23 Software Trigger"]
98pub type Swtrig23R = crate::BitReader;
99#[doc = "Field `SWTRIG23` writer - Channel 23 Software Trigger"]
100pub type Swtrig23W<'a, REG> = crate::BitWriter<'a, REG>;
101#[doc = "Field `SWTRIG24` reader - Channel 24 Software Trigger"]
102pub type Swtrig24R = crate::BitReader;
103#[doc = "Field `SWTRIG24` writer - Channel 24 Software Trigger"]
104pub type Swtrig24W<'a, REG> = crate::BitWriter<'a, REG>;
105#[doc = "Field `SWTRIG25` reader - Channel 25 Software Trigger"]
106pub type Swtrig25R = crate::BitReader;
107#[doc = "Field `SWTRIG25` writer - Channel 25 Software Trigger"]
108pub type Swtrig25W<'a, REG> = crate::BitWriter<'a, REG>;
109#[doc = "Field `SWTRIG26` reader - Channel 26 Software Trigger"]
110pub type Swtrig26R = crate::BitReader;
111#[doc = "Field `SWTRIG26` writer - Channel 26 Software Trigger"]
112pub type Swtrig26W<'a, REG> = crate::BitWriter<'a, REG>;
113#[doc = "Field `SWTRIG27` reader - Channel 27 Software Trigger"]
114pub type Swtrig27R = crate::BitReader;
115#[doc = "Field `SWTRIG27` writer - Channel 27 Software Trigger"]
116pub type Swtrig27W<'a, REG> = crate::BitWriter<'a, REG>;
117#[doc = "Field `SWTRIG28` reader - Channel 28 Software Trigger"]
118pub type Swtrig28R = crate::BitReader;
119#[doc = "Field `SWTRIG28` writer - Channel 28 Software Trigger"]
120pub type Swtrig28W<'a, REG> = crate::BitWriter<'a, REG>;
121#[doc = "Field `SWTRIG29` reader - Channel 29 Software Trigger"]
122pub type Swtrig29R = crate::BitReader;
123#[doc = "Field `SWTRIG29` writer - Channel 29 Software Trigger"]
124pub type Swtrig29W<'a, REG> = crate::BitWriter<'a, REG>;
125#[doc = "Field `SWTRIG30` reader - Channel 30 Software Trigger"]
126pub type Swtrig30R = crate::BitReader;
127#[doc = "Field `SWTRIG30` writer - Channel 30 Software Trigger"]
128pub type Swtrig30W<'a, REG> = crate::BitWriter<'a, REG>;
129#[doc = "Field `SWTRIG31` reader - Channel 31 Software Trigger"]
130pub type Swtrig31R = crate::BitReader;
131#[doc = "Field `SWTRIG31` writer - Channel 31 Software Trigger"]
132pub type Swtrig31W<'a, REG> = crate::BitWriter<'a, REG>;
133impl R {
134 #[doc = "Bit 0 - Channel 0 Software Trigger"]
135 #[inline(always)]
136 pub fn swtrig0(&self) -> Swtrig0R {
137 Swtrig0R::new((self.bits & 1) != 0)
138 }
139 #[doc = "Bit 1 - Channel 1 Software Trigger"]
140 #[inline(always)]
141 pub fn swtrig1(&self) -> Swtrig1R {
142 Swtrig1R::new(((self.bits >> 1) & 1) != 0)
143 }
144 #[doc = "Bit 2 - Channel 2 Software Trigger"]
145 #[inline(always)]
146 pub fn swtrig2(&self) -> Swtrig2R {
147 Swtrig2R::new(((self.bits >> 2) & 1) != 0)
148 }
149 #[doc = "Bit 3 - Channel 3 Software Trigger"]
150 #[inline(always)]
151 pub fn swtrig3(&self) -> Swtrig3R {
152 Swtrig3R::new(((self.bits >> 3) & 1) != 0)
153 }
154 #[doc = "Bit 4 - Channel 4 Software Trigger"]
155 #[inline(always)]
156 pub fn swtrig4(&self) -> Swtrig4R {
157 Swtrig4R::new(((self.bits >> 4) & 1) != 0)
158 }
159 #[doc = "Bit 5 - Channel 5 Software Trigger"]
160 #[inline(always)]
161 pub fn swtrig5(&self) -> Swtrig5R {
162 Swtrig5R::new(((self.bits >> 5) & 1) != 0)
163 }
164 #[doc = "Bit 6 - Channel 6 Software Trigger"]
165 #[inline(always)]
166 pub fn swtrig6(&self) -> Swtrig6R {
167 Swtrig6R::new(((self.bits >> 6) & 1) != 0)
168 }
169 #[doc = "Bit 7 - Channel 7 Software Trigger"]
170 #[inline(always)]
171 pub fn swtrig7(&self) -> Swtrig7R {
172 Swtrig7R::new(((self.bits >> 7) & 1) != 0)
173 }
174 #[doc = "Bit 8 - Channel 8 Software Trigger"]
175 #[inline(always)]
176 pub fn swtrig8(&self) -> Swtrig8R {
177 Swtrig8R::new(((self.bits >> 8) & 1) != 0)
178 }
179 #[doc = "Bit 9 - Channel 9 Software Trigger"]
180 #[inline(always)]
181 pub fn swtrig9(&self) -> Swtrig9R {
182 Swtrig9R::new(((self.bits >> 9) & 1) != 0)
183 }
184 #[doc = "Bit 10 - Channel 10 Software Trigger"]
185 #[inline(always)]
186 pub fn swtrig10(&self) -> Swtrig10R {
187 Swtrig10R::new(((self.bits >> 10) & 1) != 0)
188 }
189 #[doc = "Bit 11 - Channel 11 Software Trigger"]
190 #[inline(always)]
191 pub fn swtrig11(&self) -> Swtrig11R {
192 Swtrig11R::new(((self.bits >> 11) & 1) != 0)
193 }
194 #[doc = "Bit 12 - Channel 12 Software Trigger"]
195 #[inline(always)]
196 pub fn swtrig12(&self) -> Swtrig12R {
197 Swtrig12R::new(((self.bits >> 12) & 1) != 0)
198 }
199 #[doc = "Bit 13 - Channel 13 Software Trigger"]
200 #[inline(always)]
201 pub fn swtrig13(&self) -> Swtrig13R {
202 Swtrig13R::new(((self.bits >> 13) & 1) != 0)
203 }
204 #[doc = "Bit 14 - Channel 14 Software Trigger"]
205 #[inline(always)]
206 pub fn swtrig14(&self) -> Swtrig14R {
207 Swtrig14R::new(((self.bits >> 14) & 1) != 0)
208 }
209 #[doc = "Bit 15 - Channel 15 Software Trigger"]
210 #[inline(always)]
211 pub fn swtrig15(&self) -> Swtrig15R {
212 Swtrig15R::new(((self.bits >> 15) & 1) != 0)
213 }
214 #[doc = "Bit 16 - Channel 16 Software Trigger"]
215 #[inline(always)]
216 pub fn swtrig16(&self) -> Swtrig16R {
217 Swtrig16R::new(((self.bits >> 16) & 1) != 0)
218 }
219 #[doc = "Bit 17 - Channel 17 Software Trigger"]
220 #[inline(always)]
221 pub fn swtrig17(&self) -> Swtrig17R {
222 Swtrig17R::new(((self.bits >> 17) & 1) != 0)
223 }
224 #[doc = "Bit 18 - Channel 18 Software Trigger"]
225 #[inline(always)]
226 pub fn swtrig18(&self) -> Swtrig18R {
227 Swtrig18R::new(((self.bits >> 18) & 1) != 0)
228 }
229 #[doc = "Bit 19 - Channel 19 Software Trigger"]
230 #[inline(always)]
231 pub fn swtrig19(&self) -> Swtrig19R {
232 Swtrig19R::new(((self.bits >> 19) & 1) != 0)
233 }
234 #[doc = "Bit 20 - Channel 20 Software Trigger"]
235 #[inline(always)]
236 pub fn swtrig20(&self) -> Swtrig20R {
237 Swtrig20R::new(((self.bits >> 20) & 1) != 0)
238 }
239 #[doc = "Bit 21 - Channel 21 Software Trigger"]
240 #[inline(always)]
241 pub fn swtrig21(&self) -> Swtrig21R {
242 Swtrig21R::new(((self.bits >> 21) & 1) != 0)
243 }
244 #[doc = "Bit 22 - Channel 22 Software Trigger"]
245 #[inline(always)]
246 pub fn swtrig22(&self) -> Swtrig22R {
247 Swtrig22R::new(((self.bits >> 22) & 1) != 0)
248 }
249 #[doc = "Bit 23 - Channel 23 Software Trigger"]
250 #[inline(always)]
251 pub fn swtrig23(&self) -> Swtrig23R {
252 Swtrig23R::new(((self.bits >> 23) & 1) != 0)
253 }
254 #[doc = "Bit 24 - Channel 24 Software Trigger"]
255 #[inline(always)]
256 pub fn swtrig24(&self) -> Swtrig24R {
257 Swtrig24R::new(((self.bits >> 24) & 1) != 0)
258 }
259 #[doc = "Bit 25 - Channel 25 Software Trigger"]
260 #[inline(always)]
261 pub fn swtrig25(&self) -> Swtrig25R {
262 Swtrig25R::new(((self.bits >> 25) & 1) != 0)
263 }
264 #[doc = "Bit 26 - Channel 26 Software Trigger"]
265 #[inline(always)]
266 pub fn swtrig26(&self) -> Swtrig26R {
267 Swtrig26R::new(((self.bits >> 26) & 1) != 0)
268 }
269 #[doc = "Bit 27 - Channel 27 Software Trigger"]
270 #[inline(always)]
271 pub fn swtrig27(&self) -> Swtrig27R {
272 Swtrig27R::new(((self.bits >> 27) & 1) != 0)
273 }
274 #[doc = "Bit 28 - Channel 28 Software Trigger"]
275 #[inline(always)]
276 pub fn swtrig28(&self) -> Swtrig28R {
277 Swtrig28R::new(((self.bits >> 28) & 1) != 0)
278 }
279 #[doc = "Bit 29 - Channel 29 Software Trigger"]
280 #[inline(always)]
281 pub fn swtrig29(&self) -> Swtrig29R {
282 Swtrig29R::new(((self.bits >> 29) & 1) != 0)
283 }
284 #[doc = "Bit 30 - Channel 30 Software Trigger"]
285 #[inline(always)]
286 pub fn swtrig30(&self) -> Swtrig30R {
287 Swtrig30R::new(((self.bits >> 30) & 1) != 0)
288 }
289 #[doc = "Bit 31 - Channel 31 Software Trigger"]
290 #[inline(always)]
291 pub fn swtrig31(&self) -> Swtrig31R {
292 Swtrig31R::new(((self.bits >> 31) & 1) != 0)
293 }
294}
295impl W {
296 #[doc = "Bit 0 - Channel 0 Software Trigger"]
297 #[inline(always)]
298 #[must_use]
299 pub fn swtrig0(&mut self) -> Swtrig0W<SwtrigctrlSpec> {
300 Swtrig0W::new(self, 0)
301 }
302 #[doc = "Bit 1 - Channel 1 Software Trigger"]
303 #[inline(always)]
304 #[must_use]
305 pub fn swtrig1(&mut self) -> Swtrig1W<SwtrigctrlSpec> {
306 Swtrig1W::new(self, 1)
307 }
308 #[doc = "Bit 2 - Channel 2 Software Trigger"]
309 #[inline(always)]
310 #[must_use]
311 pub fn swtrig2(&mut self) -> Swtrig2W<SwtrigctrlSpec> {
312 Swtrig2W::new(self, 2)
313 }
314 #[doc = "Bit 3 - Channel 3 Software Trigger"]
315 #[inline(always)]
316 #[must_use]
317 pub fn swtrig3(&mut self) -> Swtrig3W<SwtrigctrlSpec> {
318 Swtrig3W::new(self, 3)
319 }
320 #[doc = "Bit 4 - Channel 4 Software Trigger"]
321 #[inline(always)]
322 #[must_use]
323 pub fn swtrig4(&mut self) -> Swtrig4W<SwtrigctrlSpec> {
324 Swtrig4W::new(self, 4)
325 }
326 #[doc = "Bit 5 - Channel 5 Software Trigger"]
327 #[inline(always)]
328 #[must_use]
329 pub fn swtrig5(&mut self) -> Swtrig5W<SwtrigctrlSpec> {
330 Swtrig5W::new(self, 5)
331 }
332 #[doc = "Bit 6 - Channel 6 Software Trigger"]
333 #[inline(always)]
334 #[must_use]
335 pub fn swtrig6(&mut self) -> Swtrig6W<SwtrigctrlSpec> {
336 Swtrig6W::new(self, 6)
337 }
338 #[doc = "Bit 7 - Channel 7 Software Trigger"]
339 #[inline(always)]
340 #[must_use]
341 pub fn swtrig7(&mut self) -> Swtrig7W<SwtrigctrlSpec> {
342 Swtrig7W::new(self, 7)
343 }
344 #[doc = "Bit 8 - Channel 8 Software Trigger"]
345 #[inline(always)]
346 #[must_use]
347 pub fn swtrig8(&mut self) -> Swtrig8W<SwtrigctrlSpec> {
348 Swtrig8W::new(self, 8)
349 }
350 #[doc = "Bit 9 - Channel 9 Software Trigger"]
351 #[inline(always)]
352 #[must_use]
353 pub fn swtrig9(&mut self) -> Swtrig9W<SwtrigctrlSpec> {
354 Swtrig9W::new(self, 9)
355 }
356 #[doc = "Bit 10 - Channel 10 Software Trigger"]
357 #[inline(always)]
358 #[must_use]
359 pub fn swtrig10(&mut self) -> Swtrig10W<SwtrigctrlSpec> {
360 Swtrig10W::new(self, 10)
361 }
362 #[doc = "Bit 11 - Channel 11 Software Trigger"]
363 #[inline(always)]
364 #[must_use]
365 pub fn swtrig11(&mut self) -> Swtrig11W<SwtrigctrlSpec> {
366 Swtrig11W::new(self, 11)
367 }
368 #[doc = "Bit 12 - Channel 12 Software Trigger"]
369 #[inline(always)]
370 #[must_use]
371 pub fn swtrig12(&mut self) -> Swtrig12W<SwtrigctrlSpec> {
372 Swtrig12W::new(self, 12)
373 }
374 #[doc = "Bit 13 - Channel 13 Software Trigger"]
375 #[inline(always)]
376 #[must_use]
377 pub fn swtrig13(&mut self) -> Swtrig13W<SwtrigctrlSpec> {
378 Swtrig13W::new(self, 13)
379 }
380 #[doc = "Bit 14 - Channel 14 Software Trigger"]
381 #[inline(always)]
382 #[must_use]
383 pub fn swtrig14(&mut self) -> Swtrig14W<SwtrigctrlSpec> {
384 Swtrig14W::new(self, 14)
385 }
386 #[doc = "Bit 15 - Channel 15 Software Trigger"]
387 #[inline(always)]
388 #[must_use]
389 pub fn swtrig15(&mut self) -> Swtrig15W<SwtrigctrlSpec> {
390 Swtrig15W::new(self, 15)
391 }
392 #[doc = "Bit 16 - Channel 16 Software Trigger"]
393 #[inline(always)]
394 #[must_use]
395 pub fn swtrig16(&mut self) -> Swtrig16W<SwtrigctrlSpec> {
396 Swtrig16W::new(self, 16)
397 }
398 #[doc = "Bit 17 - Channel 17 Software Trigger"]
399 #[inline(always)]
400 #[must_use]
401 pub fn swtrig17(&mut self) -> Swtrig17W<SwtrigctrlSpec> {
402 Swtrig17W::new(self, 17)
403 }
404 #[doc = "Bit 18 - Channel 18 Software Trigger"]
405 #[inline(always)]
406 #[must_use]
407 pub fn swtrig18(&mut self) -> Swtrig18W<SwtrigctrlSpec> {
408 Swtrig18W::new(self, 18)
409 }
410 #[doc = "Bit 19 - Channel 19 Software Trigger"]
411 #[inline(always)]
412 #[must_use]
413 pub fn swtrig19(&mut self) -> Swtrig19W<SwtrigctrlSpec> {
414 Swtrig19W::new(self, 19)
415 }
416 #[doc = "Bit 20 - Channel 20 Software Trigger"]
417 #[inline(always)]
418 #[must_use]
419 pub fn swtrig20(&mut self) -> Swtrig20W<SwtrigctrlSpec> {
420 Swtrig20W::new(self, 20)
421 }
422 #[doc = "Bit 21 - Channel 21 Software Trigger"]
423 #[inline(always)]
424 #[must_use]
425 pub fn swtrig21(&mut self) -> Swtrig21W<SwtrigctrlSpec> {
426 Swtrig21W::new(self, 21)
427 }
428 #[doc = "Bit 22 - Channel 22 Software Trigger"]
429 #[inline(always)]
430 #[must_use]
431 pub fn swtrig22(&mut self) -> Swtrig22W<SwtrigctrlSpec> {
432 Swtrig22W::new(self, 22)
433 }
434 #[doc = "Bit 23 - Channel 23 Software Trigger"]
435 #[inline(always)]
436 #[must_use]
437 pub fn swtrig23(&mut self) -> Swtrig23W<SwtrigctrlSpec> {
438 Swtrig23W::new(self, 23)
439 }
440 #[doc = "Bit 24 - Channel 24 Software Trigger"]
441 #[inline(always)]
442 #[must_use]
443 pub fn swtrig24(&mut self) -> Swtrig24W<SwtrigctrlSpec> {
444 Swtrig24W::new(self, 24)
445 }
446 #[doc = "Bit 25 - Channel 25 Software Trigger"]
447 #[inline(always)]
448 #[must_use]
449 pub fn swtrig25(&mut self) -> Swtrig25W<SwtrigctrlSpec> {
450 Swtrig25W::new(self, 25)
451 }
452 #[doc = "Bit 26 - Channel 26 Software Trigger"]
453 #[inline(always)]
454 #[must_use]
455 pub fn swtrig26(&mut self) -> Swtrig26W<SwtrigctrlSpec> {
456 Swtrig26W::new(self, 26)
457 }
458 #[doc = "Bit 27 - Channel 27 Software Trigger"]
459 #[inline(always)]
460 #[must_use]
461 pub fn swtrig27(&mut self) -> Swtrig27W<SwtrigctrlSpec> {
462 Swtrig27W::new(self, 27)
463 }
464 #[doc = "Bit 28 - Channel 28 Software Trigger"]
465 #[inline(always)]
466 #[must_use]
467 pub fn swtrig28(&mut self) -> Swtrig28W<SwtrigctrlSpec> {
468 Swtrig28W::new(self, 28)
469 }
470 #[doc = "Bit 29 - Channel 29 Software Trigger"]
471 #[inline(always)]
472 #[must_use]
473 pub fn swtrig29(&mut self) -> Swtrig29W<SwtrigctrlSpec> {
474 Swtrig29W::new(self, 29)
475 }
476 #[doc = "Bit 30 - Channel 30 Software Trigger"]
477 #[inline(always)]
478 #[must_use]
479 pub fn swtrig30(&mut self) -> Swtrig30W<SwtrigctrlSpec> {
480 Swtrig30W::new(self, 30)
481 }
482 #[doc = "Bit 31 - Channel 31 Software Trigger"]
483 #[inline(always)]
484 #[must_use]
485 pub fn swtrig31(&mut self) -> Swtrig31W<SwtrigctrlSpec> {
486 Swtrig31W::new(self, 31)
487 }
488}
489#[doc = "Software Trigger Control\n\nYou can [`read`](crate::Reg::read) this register and get [`swtrigctrl::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`swtrigctrl::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
490pub struct SwtrigctrlSpec;
491impl crate::RegisterSpec for SwtrigctrlSpec {
492 type Ux = u32;
493}
494#[doc = "`read()` method returns [`swtrigctrl::R`](R) reader structure"]
495impl crate::Readable for SwtrigctrlSpec {}
496#[doc = "`write(|w| ..)` method takes [`swtrigctrl::W`](W) writer structure"]
497impl crate::Writable for SwtrigctrlSpec {
498 type Safety = crate::Unsafe;
499 const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
500 const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
501}
502#[doc = "`reset()` method sets SWTRIGCTRL to value 0"]
503impl crate::Resettable for SwtrigctrlSpec {
504 const RESET_VALUE: u32 = 0;
505}