imxrt_ral/blocks/imxrt1011/
aoi.rs

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