1#[doc = "AND/OR/INVERT module"]
2#[repr(C)]
3pub struct RegisterBlock {
4#[doc = "Boolean Function Term 0 and 1 Configuration Register for EVENTn"]
5pub BFCRT010: crate::RWRegister<u16>,
6#[doc = "Boolean Function Term 2 and 3 Configuration Register for EVENTn"]
7pub BFCRT230: crate::RWRegister<u16>,
8#[doc = "Boolean Function Term 0 and 1 Configuration Register for EVENTn"]
9pub BFCRT011: crate::RWRegister<u16>,
10#[doc = "Boolean Function Term 2 and 3 Configuration Register for EVENTn"]
11pub BFCRT231: crate::RWRegister<u16>,
12#[doc = "Boolean Function Term 0 and 1 Configuration Register for EVENTn"]
13pub BFCRT012: crate::RWRegister<u16>,
14#[doc = "Boolean Function Term 2 and 3 Configuration Register for EVENTn"]
15pub BFCRT232: crate::RWRegister<u16>,
16#[doc = "Boolean Function Term 0 and 1 Configuration Register for EVENTn"]
17pub BFCRT013: crate::RWRegister<u16>,
18#[doc = "Boolean Function Term 2 and 3 Configuration Register for EVENTn"]
19pub BFCRT233: crate::RWRegister<u16>,
20}
21#[doc = "Boolean Function Term 0 and 1 Configuration Register for EVENTn"]
22pub mod BFCRT010 {
23#[doc = "Product term 1, D input configuration"]
24pub mod PT1_DC {
25pub const offset: u16 = 0;
26pub const mask: u16 = 0x03 << offset;
27pub mod R {}
28pub mod W {}
29pub mod RW {
30#[doc = "Force the D input in this product term to a logical zero"]
31pub const PT1_DC_0: u16 = 0;
32#[doc = "Pass the D input in this product term"]
33pub const PT1_DC_1: u16 = 0x01;
34#[doc = "Complement the D input in this product term"]
35pub const PT1_DC_2: u16 = 0x02;
36#[doc = "Force the D input in this product term to a logical one"]
37pub const PT1_DC_3: u16 = 0x03;
38 }
39 }
40#[doc = "Product term 1, C input configuration"]
41pub mod PT1_CC {
42pub const offset: u16 = 2;
43pub const mask: u16 = 0x03 << offset;
44pub mod R {}
45pub mod W {}
46pub mod RW {
47#[doc = "Force the C input in this product term to a logical zero"]
48pub const PT1_CC_0: u16 = 0;
49#[doc = "Pass the C input in this product term"]
50pub const PT1_CC_1: u16 = 0x01;
51#[doc = "Complement the C input in this product term"]
52pub const PT1_CC_2: u16 = 0x02;
53#[doc = "Force the C input in this product term to a logical one"]
54pub const PT1_CC_3: u16 = 0x03;
55 }
56 }
57#[doc = "Product term 1, B input configuration"]
58pub mod PT1_BC {
59pub const offset: u16 = 4;
60pub const mask: u16 = 0x03 << offset;
61pub mod R {}
62pub mod W {}
63pub mod RW {
64#[doc = "Force the B input in this product term to a logical zero"]
65pub const PT1_BC_0: u16 = 0;
66#[doc = "Pass the B input in this product term"]
67pub const PT1_BC_1: u16 = 0x01;
68#[doc = "Complement the B input in this product term"]
69pub const PT1_BC_2: u16 = 0x02;
70#[doc = "Force the B input in this product term to a logical one"]
71pub const PT1_BC_3: u16 = 0x03;
72 }
73 }
74#[doc = "Product term 1, A input configuration"]
75pub mod PT1_AC {
76pub const offset: u16 = 6;
77pub const mask: u16 = 0x03 << offset;
78pub mod R {}
79pub mod W {}
80pub mod RW {
81#[doc = "Force the A input in this product term to a logical zero"]
82pub const PT1_AC_0: u16 = 0;
83#[doc = "Pass the A input in this product term"]
84pub const PT1_AC_1: u16 = 0x01;
85#[doc = "Complement the A input in this product term"]
86pub const PT1_AC_2: u16 = 0x02;
87#[doc = "Force the A input in this product term to a logical one"]
88pub const PT1_AC_3: u16 = 0x03;
89 }
90 }
91#[doc = "Product term 0, D input configuration"]
92pub mod PT0_DC {
93pub const offset: u16 = 8;
94pub const mask: u16 = 0x03 << offset;
95pub mod R {}
96pub mod W {}
97pub mod RW {
98#[doc = "Force the D input in this product term to a logical zero"]
99pub const PT0_DC_0: u16 = 0;
100#[doc = "Pass the D input in this product term"]
101pub const PT0_DC_1: u16 = 0x01;
102#[doc = "Complement the D input in this product term"]
103pub const PT0_DC_2: u16 = 0x02;
104#[doc = "Force the D input in this product term to a logical one"]
105pub const PT0_DC_3: u16 = 0x03;
106 }
107 }
108#[doc = "Product term 0, C input configuration"]
109pub mod PT0_CC {
110pub const offset: u16 = 10;
111pub const mask: u16 = 0x03 << offset;
112pub mod R {}
113pub mod W {}
114pub mod RW {
115#[doc = "Force the C input in this product term to a logical zero"]
116pub const PT0_CC_0: u16 = 0;
117#[doc = "Pass the C input in this product term"]
118pub const PT0_CC_1: u16 = 0x01;
119#[doc = "Complement the C input in this product term"]
120pub const PT0_CC_2: u16 = 0x02;
121#[doc = "Force the C input in this product term to a logical one"]
122pub const PT0_CC_3: u16 = 0x03;
123 }
124 }
125#[doc = "Product term 0, B input configuration"]
126pub mod PT0_BC {
127pub const offset: u16 = 12;
128pub const mask: u16 = 0x03 << offset;
129pub mod R {}
130pub mod W {}
131pub mod RW {
132#[doc = "Force the B input in this product term to a logical zero"]
133pub const PT0_BC_0: u16 = 0;
134#[doc = "Pass the B input in this product term"]
135pub const PT0_BC_1: u16 = 0x01;
136#[doc = "Complement the B input in this product term"]
137pub const PT0_BC_2: u16 = 0x02;
138#[doc = "Force the B input in this product term to a logical one"]
139pub const PT0_BC_3: u16 = 0x03;
140 }
141 }
142#[doc = "Product term 0, A input configuration"]
143pub mod PT0_AC {
144pub const offset: u16 = 14;
145pub const mask: u16 = 0x03 << offset;
146pub mod R {}
147pub mod W {}
148pub mod RW {
149#[doc = "Force the A input in this product term to a logical zero"]
150pub const PT0_AC_0: u16 = 0;
151#[doc = "Pass the A input in this product term"]
152pub const PT0_AC_1: u16 = 0x01;
153#[doc = "Complement the A input in this product term"]
154pub const PT0_AC_2: u16 = 0x02;
155#[doc = "Force the A input in this product term to a logical one"]
156pub const PT0_AC_3: u16 = 0x03;
157 }
158 }
159}
160#[doc = "Boolean Function Term 2 and 3 Configuration Register for EVENTn"]
161pub mod BFCRT230 {
162#[doc = "Product term 3, D input configuration"]
163pub mod PT3_DC {
164pub const offset: u16 = 0;
165pub const mask: u16 = 0x03 << offset;
166pub mod R {}
167pub mod W {}
168pub mod RW {
169#[doc = "Force the D input in this product term to a logical zero"]
170pub const PT3_DC_0: u16 = 0;
171#[doc = "Pass the D input in this product term"]
172pub const PT3_DC_1: u16 = 0x01;
173#[doc = "Complement the D input in this product term"]
174pub const PT3_DC_2: u16 = 0x02;
175#[doc = "Force the D input in this product term to a logical one"]
176pub const PT3_DC_3: u16 = 0x03;
177 }
178 }
179#[doc = "Product term 3, C input configuration"]
180pub mod PT3_CC {
181pub const offset: u16 = 2;
182pub const mask: u16 = 0x03 << offset;
183pub mod R {}
184pub mod W {}
185pub mod RW {
186#[doc = "Force the C input in this product term to a logical zero"]
187pub const PT3_CC_0: u16 = 0;
188#[doc = "Pass the C input in this product term"]
189pub const PT3_CC_1: u16 = 0x01;
190#[doc = "Complement the C input in this product term"]
191pub const PT3_CC_2: u16 = 0x02;
192#[doc = "Force the C input in this product term to a logical one"]
193pub const PT3_CC_3: u16 = 0x03;
194 }
195 }
196#[doc = "Product term 3, B input configuration"]
197pub mod PT3_BC {
198pub const offset: u16 = 4;
199pub const mask: u16 = 0x03 << offset;
200pub mod R {}
201pub mod W {}
202pub mod RW {
203#[doc = "Force the B input in this product term to a logical zero"]
204pub const PT3_BC_0: u16 = 0;
205#[doc = "Pass the B input in this product term"]
206pub const PT3_BC_1: u16 = 0x01;
207#[doc = "Complement the B input in this product term"]
208pub const PT3_BC_2: u16 = 0x02;
209#[doc = "Force the B input in this product term to a logical one"]
210pub const PT3_BC_3: u16 = 0x03;
211 }
212 }
213#[doc = "Product term 3, A input configuration"]
214pub mod PT3_AC {
215pub const offset: u16 = 6;
216pub const mask: u16 = 0x03 << offset;
217pub mod R {}
218pub mod W {}
219pub mod RW {
220#[doc = "Force the A input in this product term to a logical zero"]
221pub const PT3_AC_0: u16 = 0;
222#[doc = "Pass the A input in this product term"]
223pub const PT3_AC_1: u16 = 0x01;
224#[doc = "Complement the A input in this product term"]
225pub const PT3_AC_2: u16 = 0x02;
226#[doc = "Force the A input in this product term to a logical one"]
227pub const PT3_AC_3: u16 = 0x03;
228 }
229 }
230#[doc = "Product term 2, D input configuration"]
231pub mod PT2_DC {
232pub const offset: u16 = 8;
233pub const mask: u16 = 0x03 << offset;
234pub mod R {}
235pub mod W {}
236pub mod RW {
237#[doc = "Force the D input in this product term to a logical zero"]
238pub const PT2_DC_0: u16 = 0;
239#[doc = "Pass the D input in this product term"]
240pub const PT2_DC_1: u16 = 0x01;
241#[doc = "Complement the D input in this product term"]
242pub const PT2_DC_2: u16 = 0x02;
243#[doc = "Force the D input in this product term to a logical one"]
244pub const PT2_DC_3: u16 = 0x03;
245 }
246 }
247#[doc = "Product term 2, C input configuration"]
248pub mod PT2_CC {
249pub const offset: u16 = 10;
250pub const mask: u16 = 0x03 << offset;
251pub mod R {}
252pub mod W {}
253pub mod RW {
254#[doc = "Force the C input in this product term to a logical zero"]
255pub const PT2_CC_0: u16 = 0;
256#[doc = "Pass the C input in this product term"]
257pub const PT2_CC_1: u16 = 0x01;
258#[doc = "Complement the C input in this product term"]
259pub const PT2_CC_2: u16 = 0x02;
260#[doc = "Force the C input in this product term to a logical one"]
261pub const PT2_CC_3: u16 = 0x03;
262 }
263 }
264#[doc = "Product term 2, B input configuration"]
265pub mod PT2_BC {
266pub const offset: u16 = 12;
267pub const mask: u16 = 0x03 << offset;
268pub mod R {}
269pub mod W {}
270pub mod RW {
271#[doc = "Force the B input in this product term to a logical zero"]
272pub const PT2_BC_0: u16 = 0;
273#[doc = "Pass the B input in this product term"]
274pub const PT2_BC_1: u16 = 0x01;
275#[doc = "Complement the B input in this product term"]
276pub const PT2_BC_2: u16 = 0x02;
277#[doc = "Force the B input in this product term to a logical one"]
278pub const PT2_BC_3: u16 = 0x03;
279 }
280 }
281#[doc = "Product term 2, A input configuration"]
282pub mod PT2_AC {
283pub const offset: u16 = 14;
284pub const mask: u16 = 0x03 << offset;
285pub mod R {}
286pub mod W {}
287pub mod RW {
288#[doc = "Force the A input in this product term to a logical zero"]
289pub const PT2_AC_0: u16 = 0;
290#[doc = "Pass the A input in this product term"]
291pub const PT2_AC_1: u16 = 0x01;
292#[doc = "Complement the A input in this product term"]
293pub const PT2_AC_2: u16 = 0x02;
294#[doc = "Force the A input in this product term to a logical one"]
295pub const PT2_AC_3: u16 = 0x03;
296 }
297 }
298}
299#[doc = "Boolean Function Term 0 and 1 Configuration Register for EVENTn"]
300pub mod BFCRT011 {
301#[doc = "Product term 1, D input configuration"]
302pub mod PT1_DC {
303pub const offset: u16 = 0;
304pub const mask: u16 = 0x03 << offset;
305pub mod R {}
306pub mod W {}
307pub mod RW {
308#[doc = "Force the D input in this product term to a logical zero"]
309pub const PT1_DC_0: u16 = 0;
310#[doc = "Pass the D input in this product term"]
311pub const PT1_DC_1: u16 = 0x01;
312#[doc = "Complement the D input in this product term"]
313pub const PT1_DC_2: u16 = 0x02;
314#[doc = "Force the D input in this product term to a logical one"]
315pub const PT1_DC_3: u16 = 0x03;
316 }
317 }
318#[doc = "Product term 1, C input configuration"]
319pub mod PT1_CC {
320pub const offset: u16 = 2;
321pub const mask: u16 = 0x03 << offset;
322pub mod R {}
323pub mod W {}
324pub mod RW {
325#[doc = "Force the C input in this product term to a logical zero"]
326pub const PT1_CC_0: u16 = 0;
327#[doc = "Pass the C input in this product term"]
328pub const PT1_CC_1: u16 = 0x01;
329#[doc = "Complement the C input in this product term"]
330pub const PT1_CC_2: u16 = 0x02;
331#[doc = "Force the C input in this product term to a logical one"]
332pub const PT1_CC_3: u16 = 0x03;
333 }
334 }
335#[doc = "Product term 1, B input configuration"]
336pub mod PT1_BC {
337pub const offset: u16 = 4;
338pub const mask: u16 = 0x03 << offset;
339pub mod R {}
340pub mod W {}
341pub mod RW {
342#[doc = "Force the B input in this product term to a logical zero"]
343pub const PT1_BC_0: u16 = 0;
344#[doc = "Pass the B input in this product term"]
345pub const PT1_BC_1: u16 = 0x01;
346#[doc = "Complement the B input in this product term"]
347pub const PT1_BC_2: u16 = 0x02;
348#[doc = "Force the B input in this product term to a logical one"]
349pub const PT1_BC_3: u16 = 0x03;
350 }
351 }
352#[doc = "Product term 1, A input configuration"]
353pub mod PT1_AC {
354pub const offset: u16 = 6;
355pub const mask: u16 = 0x03 << offset;
356pub mod R {}
357pub mod W {}
358pub mod RW {
359#[doc = "Force the A input in this product term to a logical zero"]
360pub const PT1_AC_0: u16 = 0;
361#[doc = "Pass the A input in this product term"]
362pub const PT1_AC_1: u16 = 0x01;
363#[doc = "Complement the A input in this product term"]
364pub const PT1_AC_2: u16 = 0x02;
365#[doc = "Force the A input in this product term to a logical one"]
366pub const PT1_AC_3: u16 = 0x03;
367 }
368 }
369#[doc = "Product term 0, D input configuration"]
370pub mod PT0_DC {
371pub const offset: u16 = 8;
372pub const mask: u16 = 0x03 << offset;
373pub mod R {}
374pub mod W {}
375pub mod RW {
376#[doc = "Force the D input in this product term to a logical zero"]
377pub const PT0_DC_0: u16 = 0;
378#[doc = "Pass the D input in this product term"]
379pub const PT0_DC_1: u16 = 0x01;
380#[doc = "Complement the D input in this product term"]
381pub const PT0_DC_2: u16 = 0x02;
382#[doc = "Force the D input in this product term to a logical one"]
383pub const PT0_DC_3: u16 = 0x03;
384 }
385 }
386#[doc = "Product term 0, C input configuration"]
387pub mod PT0_CC {
388pub const offset: u16 = 10;
389pub const mask: u16 = 0x03 << offset;
390pub mod R {}
391pub mod W {}
392pub mod RW {
393#[doc = "Force the C input in this product term to a logical zero"]
394pub const PT0_CC_0: u16 = 0;
395#[doc = "Pass the C input in this product term"]
396pub const PT0_CC_1: u16 = 0x01;
397#[doc = "Complement the C input in this product term"]
398pub const PT0_CC_2: u16 = 0x02;
399#[doc = "Force the C input in this product term to a logical one"]
400pub const PT0_CC_3: u16 = 0x03;
401 }
402 }
403#[doc = "Product term 0, B input configuration"]
404pub mod PT0_BC {
405pub const offset: u16 = 12;
406pub const mask: u16 = 0x03 << offset;
407pub mod R {}
408pub mod W {}
409pub mod RW {
410#[doc = "Force the B input in this product term to a logical zero"]
411pub const PT0_BC_0: u16 = 0;
412#[doc = "Pass the B input in this product term"]
413pub const PT0_BC_1: u16 = 0x01;
414#[doc = "Complement the B input in this product term"]
415pub const PT0_BC_2: u16 = 0x02;
416#[doc = "Force the B input in this product term to a logical one"]
417pub const PT0_BC_3: u16 = 0x03;
418 }
419 }
420#[doc = "Product term 0, A input configuration"]
421pub mod PT0_AC {
422pub const offset: u16 = 14;
423pub const mask: u16 = 0x03 << offset;
424pub mod R {}
425pub mod W {}
426pub mod RW {
427#[doc = "Force the A input in this product term to a logical zero"]
428pub const PT0_AC_0: u16 = 0;
429#[doc = "Pass the A input in this product term"]
430pub const PT0_AC_1: u16 = 0x01;
431#[doc = "Complement the A input in this product term"]
432pub const PT0_AC_2: u16 = 0x02;
433#[doc = "Force the A input in this product term to a logical one"]
434pub const PT0_AC_3: u16 = 0x03;
435 }
436 }
437}
438#[doc = "Boolean Function Term 2 and 3 Configuration Register for EVENTn"]
439pub mod BFCRT231 {
440#[doc = "Product term 3, D input configuration"]
441pub mod PT3_DC {
442pub const offset: u16 = 0;
443pub const mask: u16 = 0x03 << offset;
444pub mod R {}
445pub mod W {}
446pub mod RW {
447#[doc = "Force the D input in this product term to a logical zero"]
448pub const PT3_DC_0: u16 = 0;
449#[doc = "Pass the D input in this product term"]
450pub const PT3_DC_1: u16 = 0x01;
451#[doc = "Complement the D input in this product term"]
452pub const PT3_DC_2: u16 = 0x02;
453#[doc = "Force the D input in this product term to a logical one"]
454pub const PT3_DC_3: u16 = 0x03;
455 }
456 }
457#[doc = "Product term 3, C input configuration"]
458pub mod PT3_CC {
459pub const offset: u16 = 2;
460pub const mask: u16 = 0x03 << offset;
461pub mod R {}
462pub mod W {}
463pub mod RW {
464#[doc = "Force the C input in this product term to a logical zero"]
465pub const PT3_CC_0: u16 = 0;
466#[doc = "Pass the C input in this product term"]
467pub const PT3_CC_1: u16 = 0x01;
468#[doc = "Complement the C input in this product term"]
469pub const PT3_CC_2: u16 = 0x02;
470#[doc = "Force the C input in this product term to a logical one"]
471pub const PT3_CC_3: u16 = 0x03;
472 }
473 }
474#[doc = "Product term 3, B input configuration"]
475pub mod PT3_BC {
476pub const offset: u16 = 4;
477pub const mask: u16 = 0x03 << offset;
478pub mod R {}
479pub mod W {}
480pub mod RW {
481#[doc = "Force the B input in this product term to a logical zero"]
482pub const PT3_BC_0: u16 = 0;
483#[doc = "Pass the B input in this product term"]
484pub const PT3_BC_1: u16 = 0x01;
485#[doc = "Complement the B input in this product term"]
486pub const PT3_BC_2: u16 = 0x02;
487#[doc = "Force the B input in this product term to a logical one"]
488pub const PT3_BC_3: u16 = 0x03;
489 }
490 }
491#[doc = "Product term 3, A input configuration"]
492pub mod PT3_AC {
493pub const offset: u16 = 6;
494pub const mask: u16 = 0x03 << offset;
495pub mod R {}
496pub mod W {}
497pub mod RW {
498#[doc = "Force the A input in this product term to a logical zero"]
499pub const PT3_AC_0: u16 = 0;
500#[doc = "Pass the A input in this product term"]
501pub const PT3_AC_1: u16 = 0x01;
502#[doc = "Complement the A input in this product term"]
503pub const PT3_AC_2: u16 = 0x02;
504#[doc = "Force the A input in this product term to a logical one"]
505pub const PT3_AC_3: u16 = 0x03;
506 }
507 }
508#[doc = "Product term 2, D input configuration"]
509pub mod PT2_DC {
510pub const offset: u16 = 8;
511pub const mask: u16 = 0x03 << offset;
512pub mod R {}
513pub mod W {}
514pub mod RW {
515#[doc = "Force the D input in this product term to a logical zero"]
516pub const PT2_DC_0: u16 = 0;
517#[doc = "Pass the D input in this product term"]
518pub const PT2_DC_1: u16 = 0x01;
519#[doc = "Complement the D input in this product term"]
520pub const PT2_DC_2: u16 = 0x02;
521#[doc = "Force the D input in this product term to a logical one"]
522pub const PT2_DC_3: u16 = 0x03;
523 }
524 }
525#[doc = "Product term 2, C input configuration"]
526pub mod PT2_CC {
527pub const offset: u16 = 10;
528pub const mask: u16 = 0x03 << offset;
529pub mod R {}
530pub mod W {}
531pub mod RW {
532#[doc = "Force the C input in this product term to a logical zero"]
533pub const PT2_CC_0: u16 = 0;
534#[doc = "Pass the C input in this product term"]
535pub const PT2_CC_1: u16 = 0x01;
536#[doc = "Complement the C input in this product term"]
537pub const PT2_CC_2: u16 = 0x02;
538#[doc = "Force the C input in this product term to a logical one"]
539pub const PT2_CC_3: u16 = 0x03;
540 }
541 }
542#[doc = "Product term 2, B input configuration"]
543pub mod PT2_BC {
544pub const offset: u16 = 12;
545pub const mask: u16 = 0x03 << offset;
546pub mod R {}
547pub mod W {}
548pub mod RW {
549#[doc = "Force the B input in this product term to a logical zero"]
550pub const PT2_BC_0: u16 = 0;
551#[doc = "Pass the B input in this product term"]
552pub const PT2_BC_1: u16 = 0x01;
553#[doc = "Complement the B input in this product term"]
554pub const PT2_BC_2: u16 = 0x02;
555#[doc = "Force the B input in this product term to a logical one"]
556pub const PT2_BC_3: u16 = 0x03;
557 }
558 }
559#[doc = "Product term 2, A input configuration"]
560pub mod PT2_AC {
561pub const offset: u16 = 14;
562pub const mask: u16 = 0x03 << offset;
563pub mod R {}
564pub mod W {}
565pub mod RW {
566#[doc = "Force the A input in this product term to a logical zero"]
567pub const PT2_AC_0: u16 = 0;
568#[doc = "Pass the A input in this product term"]
569pub const PT2_AC_1: u16 = 0x01;
570#[doc = "Complement the A input in this product term"]
571pub const PT2_AC_2: u16 = 0x02;
572#[doc = "Force the A input in this product term to a logical one"]
573pub const PT2_AC_3: u16 = 0x03;
574 }
575 }
576}
577#[doc = "Boolean Function Term 0 and 1 Configuration Register for EVENTn"]
578pub mod BFCRT012 {
579#[doc = "Product term 1, D input configuration"]
580pub mod PT1_DC {
581pub const offset: u16 = 0;
582pub const mask: u16 = 0x03 << offset;
583pub mod R {}
584pub mod W {}
585pub mod RW {
586#[doc = "Force the D input in this product term to a logical zero"]
587pub const PT1_DC_0: u16 = 0;
588#[doc = "Pass the D input in this product term"]
589pub const PT1_DC_1: u16 = 0x01;
590#[doc = "Complement the D input in this product term"]
591pub const PT1_DC_2: u16 = 0x02;
592#[doc = "Force the D input in this product term to a logical one"]
593pub const PT1_DC_3: u16 = 0x03;
594 }
595 }
596#[doc = "Product term 1, C input configuration"]
597pub mod PT1_CC {
598pub const offset: u16 = 2;
599pub const mask: u16 = 0x03 << offset;
600pub mod R {}
601pub mod W {}
602pub mod RW {
603#[doc = "Force the C input in this product term to a logical zero"]
604pub const PT1_CC_0: u16 = 0;
605#[doc = "Pass the C input in this product term"]
606pub const PT1_CC_1: u16 = 0x01;
607#[doc = "Complement the C input in this product term"]
608pub const PT1_CC_2: u16 = 0x02;
609#[doc = "Force the C input in this product term to a logical one"]
610pub const PT1_CC_3: u16 = 0x03;
611 }
612 }
613#[doc = "Product term 1, B input configuration"]
614pub mod PT1_BC {
615pub const offset: u16 = 4;
616pub const mask: u16 = 0x03 << offset;
617pub mod R {}
618pub mod W {}
619pub mod RW {
620#[doc = "Force the B input in this product term to a logical zero"]
621pub const PT1_BC_0: u16 = 0;
622#[doc = "Pass the B input in this product term"]
623pub const PT1_BC_1: u16 = 0x01;
624#[doc = "Complement the B input in this product term"]
625pub const PT1_BC_2: u16 = 0x02;
626#[doc = "Force the B input in this product term to a logical one"]
627pub const PT1_BC_3: u16 = 0x03;
628 }
629 }
630#[doc = "Product term 1, A input configuration"]
631pub mod PT1_AC {
632pub const offset: u16 = 6;
633pub const mask: u16 = 0x03 << offset;
634pub mod R {}
635pub mod W {}
636pub mod RW {
637#[doc = "Force the A input in this product term to a logical zero"]
638pub const PT1_AC_0: u16 = 0;
639#[doc = "Pass the A input in this product term"]
640pub const PT1_AC_1: u16 = 0x01;
641#[doc = "Complement the A input in this product term"]
642pub const PT1_AC_2: u16 = 0x02;
643#[doc = "Force the A input in this product term to a logical one"]
644pub const PT1_AC_3: u16 = 0x03;
645 }
646 }
647#[doc = "Product term 0, D input configuration"]
648pub mod PT0_DC {
649pub const offset: u16 = 8;
650pub const mask: u16 = 0x03 << offset;
651pub mod R {}
652pub mod W {}
653pub mod RW {
654#[doc = "Force the D input in this product term to a logical zero"]
655pub const PT0_DC_0: u16 = 0;
656#[doc = "Pass the D input in this product term"]
657pub const PT0_DC_1: u16 = 0x01;
658#[doc = "Complement the D input in this product term"]
659pub const PT0_DC_2: u16 = 0x02;
660#[doc = "Force the D input in this product term to a logical one"]
661pub const PT0_DC_3: u16 = 0x03;
662 }
663 }
664#[doc = "Product term 0, C input configuration"]
665pub mod PT0_CC {
666pub const offset: u16 = 10;
667pub const mask: u16 = 0x03 << offset;
668pub mod R {}
669pub mod W {}
670pub mod RW {
671#[doc = "Force the C input in this product term to a logical zero"]
672pub const PT0_CC_0: u16 = 0;
673#[doc = "Pass the C input in this product term"]
674pub const PT0_CC_1: u16 = 0x01;
675#[doc = "Complement the C input in this product term"]
676pub const PT0_CC_2: u16 = 0x02;
677#[doc = "Force the C input in this product term to a logical one"]
678pub const PT0_CC_3: u16 = 0x03;
679 }
680 }
681#[doc = "Product term 0, B input configuration"]
682pub mod PT0_BC {
683pub const offset: u16 = 12;
684pub const mask: u16 = 0x03 << offset;
685pub mod R {}
686pub mod W {}
687pub mod RW {
688#[doc = "Force the B input in this product term to a logical zero"]
689pub const PT0_BC_0: u16 = 0;
690#[doc = "Pass the B input in this product term"]
691pub const PT0_BC_1: u16 = 0x01;
692#[doc = "Complement the B input in this product term"]
693pub const PT0_BC_2: u16 = 0x02;
694#[doc = "Force the B input in this product term to a logical one"]
695pub const PT0_BC_3: u16 = 0x03;
696 }
697 }
698#[doc = "Product term 0, A input configuration"]
699pub mod PT0_AC {
700pub const offset: u16 = 14;
701pub const mask: u16 = 0x03 << offset;
702pub mod R {}
703pub mod W {}
704pub mod RW {
705#[doc = "Force the A input in this product term to a logical zero"]
706pub const PT0_AC_0: u16 = 0;
707#[doc = "Pass the A input in this product term"]
708pub const PT0_AC_1: u16 = 0x01;
709#[doc = "Complement the A input in this product term"]
710pub const PT0_AC_2: u16 = 0x02;
711#[doc = "Force the A input in this product term to a logical one"]
712pub const PT0_AC_3: u16 = 0x03;
713 }
714 }
715}
716#[doc = "Boolean Function Term 2 and 3 Configuration Register for EVENTn"]
717pub mod BFCRT232 {
718#[doc = "Product term 3, D input configuration"]
719pub mod PT3_DC {
720pub const offset: u16 = 0;
721pub const mask: u16 = 0x03 << offset;
722pub mod R {}
723pub mod W {}
724pub mod RW {
725#[doc = "Force the D input in this product term to a logical zero"]
726pub const PT3_DC_0: u16 = 0;
727#[doc = "Pass the D input in this product term"]
728pub const PT3_DC_1: u16 = 0x01;
729#[doc = "Complement the D input in this product term"]
730pub const PT3_DC_2: u16 = 0x02;
731#[doc = "Force the D input in this product term to a logical one"]
732pub const PT3_DC_3: u16 = 0x03;
733 }
734 }
735#[doc = "Product term 3, C input configuration"]
736pub mod PT3_CC {
737pub const offset: u16 = 2;
738pub const mask: u16 = 0x03 << offset;
739pub mod R {}
740pub mod W {}
741pub mod RW {
742#[doc = "Force the C input in this product term to a logical zero"]
743pub const PT3_CC_0: u16 = 0;
744#[doc = "Pass the C input in this product term"]
745pub const PT3_CC_1: u16 = 0x01;
746#[doc = "Complement the C input in this product term"]
747pub const PT3_CC_2: u16 = 0x02;
748#[doc = "Force the C input in this product term to a logical one"]
749pub const PT3_CC_3: u16 = 0x03;
750 }
751 }
752#[doc = "Product term 3, B input configuration"]
753pub mod PT3_BC {
754pub const offset: u16 = 4;
755pub const mask: u16 = 0x03 << offset;
756pub mod R {}
757pub mod W {}
758pub mod RW {
759#[doc = "Force the B input in this product term to a logical zero"]
760pub const PT3_BC_0: u16 = 0;
761#[doc = "Pass the B input in this product term"]
762pub const PT3_BC_1: u16 = 0x01;
763#[doc = "Complement the B input in this product term"]
764pub const PT3_BC_2: u16 = 0x02;
765#[doc = "Force the B input in this product term to a logical one"]
766pub const PT3_BC_3: u16 = 0x03;
767 }
768 }
769#[doc = "Product term 3, A input configuration"]
770pub mod PT3_AC {
771pub const offset: u16 = 6;
772pub const mask: u16 = 0x03 << offset;
773pub mod R {}
774pub mod W {}
775pub mod RW {
776#[doc = "Force the A input in this product term to a logical zero"]
777pub const PT3_AC_0: u16 = 0;
778#[doc = "Pass the A input in this product term"]
779pub const PT3_AC_1: u16 = 0x01;
780#[doc = "Complement the A input in this product term"]
781pub const PT3_AC_2: u16 = 0x02;
782#[doc = "Force the A input in this product term to a logical one"]
783pub const PT3_AC_3: u16 = 0x03;
784 }
785 }
786#[doc = "Product term 2, D input configuration"]
787pub mod PT2_DC {
788pub const offset: u16 = 8;
789pub const mask: u16 = 0x03 << offset;
790pub mod R {}
791pub mod W {}
792pub mod RW {
793#[doc = "Force the D input in this product term to a logical zero"]
794pub const PT2_DC_0: u16 = 0;
795#[doc = "Pass the D input in this product term"]
796pub const PT2_DC_1: u16 = 0x01;
797#[doc = "Complement the D input in this product term"]
798pub const PT2_DC_2: u16 = 0x02;
799#[doc = "Force the D input in this product term to a logical one"]
800pub const PT2_DC_3: u16 = 0x03;
801 }
802 }
803#[doc = "Product term 2, C input configuration"]
804pub mod PT2_CC {
805pub const offset: u16 = 10;
806pub const mask: u16 = 0x03 << offset;
807pub mod R {}
808pub mod W {}
809pub mod RW {
810#[doc = "Force the C input in this product term to a logical zero"]
811pub const PT2_CC_0: u16 = 0;
812#[doc = "Pass the C input in this product term"]
813pub const PT2_CC_1: u16 = 0x01;
814#[doc = "Complement the C input in this product term"]
815pub const PT2_CC_2: u16 = 0x02;
816#[doc = "Force the C input in this product term to a logical one"]
817pub const PT2_CC_3: u16 = 0x03;
818 }
819 }
820#[doc = "Product term 2, B input configuration"]
821pub mod PT2_BC {
822pub const offset: u16 = 12;
823pub const mask: u16 = 0x03 << offset;
824pub mod R {}
825pub mod W {}
826pub mod RW {
827#[doc = "Force the B input in this product term to a logical zero"]
828pub const PT2_BC_0: u16 = 0;
829#[doc = "Pass the B input in this product term"]
830pub const PT2_BC_1: u16 = 0x01;
831#[doc = "Complement the B input in this product term"]
832pub const PT2_BC_2: u16 = 0x02;
833#[doc = "Force the B input in this product term to a logical one"]
834pub const PT2_BC_3: u16 = 0x03;
835 }
836 }
837#[doc = "Product term 2, A input configuration"]
838pub mod PT2_AC {
839pub const offset: u16 = 14;
840pub const mask: u16 = 0x03 << offset;
841pub mod R {}
842pub mod W {}
843pub mod RW {
844#[doc = "Force the A input in this product term to a logical zero"]
845pub const PT2_AC_0: u16 = 0;
846#[doc = "Pass the A input in this product term"]
847pub const PT2_AC_1: u16 = 0x01;
848#[doc = "Complement the A input in this product term"]
849pub const PT2_AC_2: u16 = 0x02;
850#[doc = "Force the A input in this product term to a logical one"]
851pub const PT2_AC_3: u16 = 0x03;
852 }
853 }
854}
855#[doc = "Boolean Function Term 0 and 1 Configuration Register for EVENTn"]
856pub mod BFCRT013 {
857#[doc = "Product term 1, D input configuration"]
858pub mod PT1_DC {
859pub const offset: u16 = 0;
860pub const mask: u16 = 0x03 << offset;
861pub mod R {}
862pub mod W {}
863pub mod RW {
864#[doc = "Force the D input in this product term to a logical zero"]
865pub const PT1_DC_0: u16 = 0;
866#[doc = "Pass the D input in this product term"]
867pub const PT1_DC_1: u16 = 0x01;
868#[doc = "Complement the D input in this product term"]
869pub const PT1_DC_2: u16 = 0x02;
870#[doc = "Force the D input in this product term to a logical one"]
871pub const PT1_DC_3: u16 = 0x03;
872 }
873 }
874#[doc = "Product term 1, C input configuration"]
875pub mod PT1_CC {
876pub const offset: u16 = 2;
877pub const mask: u16 = 0x03 << offset;
878pub mod R {}
879pub mod W {}
880pub mod RW {
881#[doc = "Force the C input in this product term to a logical zero"]
882pub const PT1_CC_0: u16 = 0;
883#[doc = "Pass the C input in this product term"]
884pub const PT1_CC_1: u16 = 0x01;
885#[doc = "Complement the C input in this product term"]
886pub const PT1_CC_2: u16 = 0x02;
887#[doc = "Force the C input in this product term to a logical one"]
888pub const PT1_CC_3: u16 = 0x03;
889 }
890 }
891#[doc = "Product term 1, B input configuration"]
892pub mod PT1_BC {
893pub const offset: u16 = 4;
894pub const mask: u16 = 0x03 << offset;
895pub mod R {}
896pub mod W {}
897pub mod RW {
898#[doc = "Force the B input in this product term to a logical zero"]
899pub const PT1_BC_0: u16 = 0;
900#[doc = "Pass the B input in this product term"]
901pub const PT1_BC_1: u16 = 0x01;
902#[doc = "Complement the B input in this product term"]
903pub const PT1_BC_2: u16 = 0x02;
904#[doc = "Force the B input in this product term to a logical one"]
905pub const PT1_BC_3: u16 = 0x03;
906 }
907 }
908#[doc = "Product term 1, A input configuration"]
909pub mod PT1_AC {
910pub const offset: u16 = 6;
911pub const mask: u16 = 0x03 << offset;
912pub mod R {}
913pub mod W {}
914pub mod RW {
915#[doc = "Force the A input in this product term to a logical zero"]
916pub const PT1_AC_0: u16 = 0;
917#[doc = "Pass the A input in this product term"]
918pub const PT1_AC_1: u16 = 0x01;
919#[doc = "Complement the A input in this product term"]
920pub const PT1_AC_2: u16 = 0x02;
921#[doc = "Force the A input in this product term to a logical one"]
922pub const PT1_AC_3: u16 = 0x03;
923 }
924 }
925#[doc = "Product term 0, D input configuration"]
926pub mod PT0_DC {
927pub const offset: u16 = 8;
928pub const mask: u16 = 0x03 << offset;
929pub mod R {}
930pub mod W {}
931pub mod RW {
932#[doc = "Force the D input in this product term to a logical zero"]
933pub const PT0_DC_0: u16 = 0;
934#[doc = "Pass the D input in this product term"]
935pub const PT0_DC_1: u16 = 0x01;
936#[doc = "Complement the D input in this product term"]
937pub const PT0_DC_2: u16 = 0x02;
938#[doc = "Force the D input in this product term to a logical one"]
939pub const PT0_DC_3: u16 = 0x03;
940 }
941 }
942#[doc = "Product term 0, C input configuration"]
943pub mod PT0_CC {
944pub const offset: u16 = 10;
945pub const mask: u16 = 0x03 << offset;
946pub mod R {}
947pub mod W {}
948pub mod RW {
949#[doc = "Force the C input in this product term to a logical zero"]
950pub const PT0_CC_0: u16 = 0;
951#[doc = "Pass the C input in this product term"]
952pub const PT0_CC_1: u16 = 0x01;
953#[doc = "Complement the C input in this product term"]
954pub const PT0_CC_2: u16 = 0x02;
955#[doc = "Force the C input in this product term to a logical one"]
956pub const PT0_CC_3: u16 = 0x03;
957 }
958 }
959#[doc = "Product term 0, B input configuration"]
960pub mod PT0_BC {
961pub const offset: u16 = 12;
962pub const mask: u16 = 0x03 << offset;
963pub mod R {}
964pub mod W {}
965pub mod RW {
966#[doc = "Force the B input in this product term to a logical zero"]
967pub const PT0_BC_0: u16 = 0;
968#[doc = "Pass the B input in this product term"]
969pub const PT0_BC_1: u16 = 0x01;
970#[doc = "Complement the B input in this product term"]
971pub const PT0_BC_2: u16 = 0x02;
972#[doc = "Force the B input in this product term to a logical one"]
973pub const PT0_BC_3: u16 = 0x03;
974 }
975 }
976#[doc = "Product term 0, A input configuration"]
977pub mod PT0_AC {
978pub const offset: u16 = 14;
979pub const mask: u16 = 0x03 << offset;
980pub mod R {}
981pub mod W {}
982pub mod RW {
983#[doc = "Force the A input in this product term to a logical zero"]
984pub const PT0_AC_0: u16 = 0;
985#[doc = "Pass the A input in this product term"]
986pub const PT0_AC_1: u16 = 0x01;
987#[doc = "Complement the A input in this product term"]
988pub const PT0_AC_2: u16 = 0x02;
989#[doc = "Force the A input in this product term to a logical one"]
990pub const PT0_AC_3: u16 = 0x03;
991 }
992 }
993}
994#[doc = "Boolean Function Term 2 and 3 Configuration Register for EVENTn"]
995pub mod BFCRT233 {
996#[doc = "Product term 3, D input configuration"]
997pub mod PT3_DC {
998pub const offset: u16 = 0;
999pub const mask: u16 = 0x03 << offset;
1000pub mod R {}
1001pub mod W {}
1002pub mod RW {
1003#[doc = "Force the D input in this product term to a logical zero"]
1004pub const PT3_DC_0: u16 = 0;
1005#[doc = "Pass the D input in this product term"]
1006pub const PT3_DC_1: u16 = 0x01;
1007#[doc = "Complement the D input in this product term"]
1008pub const PT3_DC_2: u16 = 0x02;
1009#[doc = "Force the D input in this product term to a logical one"]
1010pub const PT3_DC_3: u16 = 0x03;
1011 }
1012 }
1013#[doc = "Product term 3, C input configuration"]
1014pub mod PT3_CC {
1015pub const offset: u16 = 2;
1016pub const mask: u16 = 0x03 << offset;
1017pub mod R {}
1018pub mod W {}
1019pub mod RW {
1020#[doc = "Force the C input in this product term to a logical zero"]
1021pub const PT3_CC_0: u16 = 0;
1022#[doc = "Pass the C input in this product term"]
1023pub const PT3_CC_1: u16 = 0x01;
1024#[doc = "Complement the C input in this product term"]
1025pub const PT3_CC_2: u16 = 0x02;
1026#[doc = "Force the C input in this product term to a logical one"]
1027pub const PT3_CC_3: u16 = 0x03;
1028 }
1029 }
1030#[doc = "Product term 3, B input configuration"]
1031pub mod PT3_BC {
1032pub const offset: u16 = 4;
1033pub const mask: u16 = 0x03 << offset;
1034pub mod R {}
1035pub mod W {}
1036pub mod RW {
1037#[doc = "Force the B input in this product term to a logical zero"]
1038pub const PT3_BC_0: u16 = 0;
1039#[doc = "Pass the B input in this product term"]
1040pub const PT3_BC_1: u16 = 0x01;
1041#[doc = "Complement the B input in this product term"]
1042pub const PT3_BC_2: u16 = 0x02;
1043#[doc = "Force the B input in this product term to a logical one"]
1044pub const PT3_BC_3: u16 = 0x03;
1045 }
1046 }
1047#[doc = "Product term 3, A input configuration"]
1048pub mod PT3_AC {
1049pub const offset: u16 = 6;
1050pub const mask: u16 = 0x03 << offset;
1051pub mod R {}
1052pub mod W {}
1053pub mod RW {
1054#[doc = "Force the A input in this product term to a logical zero"]
1055pub const PT3_AC_0: u16 = 0;
1056#[doc = "Pass the A input in this product term"]
1057pub const PT3_AC_1: u16 = 0x01;
1058#[doc = "Complement the A input in this product term"]
1059pub const PT3_AC_2: u16 = 0x02;
1060#[doc = "Force the A input in this product term to a logical one"]
1061pub const PT3_AC_3: u16 = 0x03;
1062 }
1063 }
1064#[doc = "Product term 2, D input configuration"]
1065pub mod PT2_DC {
1066pub const offset: u16 = 8;
1067pub const mask: u16 = 0x03 << offset;
1068pub mod R {}
1069pub mod W {}
1070pub mod RW {
1071#[doc = "Force the D input in this product term to a logical zero"]
1072pub const PT2_DC_0: u16 = 0;
1073#[doc = "Pass the D input in this product term"]
1074pub const PT2_DC_1: u16 = 0x01;
1075#[doc = "Complement the D input in this product term"]
1076pub const PT2_DC_2: u16 = 0x02;
1077#[doc = "Force the D input in this product term to a logical one"]
1078pub const PT2_DC_3: u16 = 0x03;
1079 }
1080 }
1081#[doc = "Product term 2, C input configuration"]
1082pub mod PT2_CC {
1083pub const offset: u16 = 10;
1084pub const mask: u16 = 0x03 << offset;
1085pub mod R {}
1086pub mod W {}
1087pub mod RW {
1088#[doc = "Force the C input in this product term to a logical zero"]
1089pub const PT2_CC_0: u16 = 0;
1090#[doc = "Pass the C input in this product term"]
1091pub const PT2_CC_1: u16 = 0x01;
1092#[doc = "Complement the C input in this product term"]
1093pub const PT2_CC_2: u16 = 0x02;
1094#[doc = "Force the C input in this product term to a logical one"]
1095pub const PT2_CC_3: u16 = 0x03;
1096 }
1097 }
1098#[doc = "Product term 2, B input configuration"]
1099pub mod PT2_BC {
1100pub const offset: u16 = 12;
1101pub const mask: u16 = 0x03 << offset;
1102pub mod R {}
1103pub mod W {}
1104pub mod RW {
1105#[doc = "Force the B input in this product term to a logical zero"]
1106pub const PT2_BC_0: u16 = 0;
1107#[doc = "Pass the B input in this product term"]
1108pub const PT2_BC_1: u16 = 0x01;
1109#[doc = "Complement the B input in this product term"]
1110pub const PT2_BC_2: u16 = 0x02;
1111#[doc = "Force the B input in this product term to a logical one"]
1112pub const PT2_BC_3: u16 = 0x03;
1113 }
1114 }
1115#[doc = "Product term 2, A input configuration"]
1116pub mod PT2_AC {
1117pub const offset: u16 = 14;
1118pub const mask: u16 = 0x03 << offset;
1119pub mod R {}
1120pub mod W {}
1121pub mod RW {
1122#[doc = "Force the A input in this product term to a logical zero"]
1123pub const PT2_AC_0: u16 = 0;
1124#[doc = "Pass the A input in this product term"]
1125pub const PT2_AC_1: u16 = 0x01;
1126#[doc = "Complement the A input in this product term"]
1127pub const PT2_AC_2: u16 = 0x02;
1128#[doc = "Force the A input in this product term to a logical one"]
1129pub const PT2_AC_3: u16 = 0x03;
1130 }
1131 }
1132}