Infineon MOTIX™ MCU TLE988x/9x Device Family SDK
adc2.h
Go to the documentation of this file.
1 /*
2  ***********************************************************************************************************************
3  *
4  * Copyright (c) Infineon Technologies AG
5  * All rights reserved.
6  *
7  * Redistribution and use in source and binary forms, with or without modification,are permitted provided that the
8  * following conditions are met:
9  *
10  * Redistributions of source code must retain the above copyright notice, this list of conditions and the following
11  * disclaimer.
12  *
13  * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
14  * following disclaimer in the documentation and/or other materials provided with the distribution.
15  *
16  * Neither the name of the copyright holders nor the names of its contributors may be used to endorse or promote
17  * products derived from this software without specific prior written permission.
18  *
19  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
20  * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21  * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
22  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
23  * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
24  * WHETHER IN CONTRACT, STRICT LIABILITY,OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
25  * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26  *
27  **********************************************************************************************************************/
43 /*******************************************************************************
44 ** Author(s) Identity **
45 ********************************************************************************
46 ** **
47 ** Initials Name **
48 ** ---------------------------------------------------------------------------**
49 ** JO Julia Ott **
50 ** BG Blandine Guillot **
51 ** DM Daniel Mysliwitz **
52 *******************************************************************************/
53 
54 /*******************************************************************************
55 ** Revision Control History **
56 ********************************************************************************
57 ** V0.1.0: 2019-10-28, DM: Initial version **
58 ** V0.2.0: 2020-04-28, BG: Updated revision history format **
59 ** V0.3.0: 2020-09-04, BG: Added first functions **
60 ** V0.3.1: 2020-10-02, BG: Removed ADC2_setEndOfConvFailIntSts **
61 ** V0.3.2: 2020-10-06, BG: EP-492: Removed MISRA 2012 errors **
62 ** V0.3.3: 2020-10-16, JO: EP-523: Updated parameter names **
63 ** V0.3.4: 2020-10-23, BG: EP-539: Considered the enable checkbox in CW in **
64 ** the initialization function **
65 ** V0.3.5: 2020-10-23, BG: Corrected check of return value in **
66 ** ADC2_getChResult_mV and ADC2_getChFiltResult_mV **
67 ** V0.3.6: 2020-10-27, BG: EP-560: Enabled VAREF in the initialization **
68 ** EP-560: Renamed split compare low/up bits **
69 ** V0.3.7: 2020-11-04, JO: EP-556: Removed functions that are related to **
70 ** ADC EOC Fail Interrupt **
71 ** V0.3.8: 2020-11-11, BG: EP-581: Declared variable i outside of for loop **
72 ** V0.3.9: 2020-11-12, JO: EP-590: Removed \param none and \return none to **
73 ** avoid doxygen warning **
74 ** Added end of group for doxygen **
75 ** V0.4.0: 2020-11-16, BG: EP-597: Corrected reference voltage value **
76 ** EP-597: Removed enabling of VAREF since VREF1V2 **
77 ** is used as reference voltage for ADC2 **
78 ** V0.4.1: 2020-11-18, DM: EP-579: Filtout value fixed for postprocessing **
79 ** V0.4.2: 2020-11-20, BG: EP-610: Corrected MISRA 2012 errors **
80 ** The following rules are globally deactivated: **
81 ** - Info 774: Boolean within 'if' always evaluates **
82 ** to False/True **
83 ** V0.4.3: 2020-12-03, JO: EP-610: Fixed ARMCC v6 compiler warnings **
84 ** V0.4.4: 2020-12-18, BG: EP-652: Corrected name of error code variable **
85 ** V0.4.5: 2021-01-07, BG: EP-668: Corrected attenuator order in **
86 ** cu16_ADC2_analogInput_Att **
87 ** V0.4.6: 2021-02-10, JO: EP-696: Changed from anonymous to named typedefs **
88 ** to prevent MISRA warning **
89 ** V0.4.7: 2021-04-06, BG: EP-760: Replaced if instructions to check if the **
90 ** module is enabled with preprocessor directives to**
91 ** avoid compiler warnings **
92 ** V0.4.8: 2021-04-23, JO: EP-778: Corrected functions ADC2_startSequence, **
93 ** ADC2_getEndOfConvSts, ADC2_getSeqResult, **
94 ** ADC2_getSeqResult_mV **
95 ** V0.4.9: 2021-04-29, BG: EP-778: Corrected the number of seq. channels **
96 ** V0.5.0: 2021-07-07, NI: EP-773: Added missing else in param range check **
97 ** in ADC2_getChResult_mV, ADC2_getSeqResult, **
98 ** ADC2_getSeqResult_mV **
99 ** V0.5.1: 2021-07-08, JO: EP-873: Replaced __NOP by CMSIS_NOP **
100 ** V0.5.2: 2021-08-06, BG: EP-695: Removed the check of the VALID bit in **
101 ** ADC2_getChResult() **
102 ** Updated documentation for ADC2_getChResult() and **
103 ** ADC2_getChResult_mV() **
104 ** V0.5.3: 2021-11-12, JO: EP-937: Updated copyright and branding **
105 ** V0.5.4: 2021-12-13, BG: EP-980: Removed initialization of **
106 ** written-protected registers in ADC2_init() **
107 ** V0.5.5: 2022-04-25, JO: EP-1139: corrected MISRA violations **
108 ** V0.5.6: 2022-06-23, JO: EP-1150: Removed ARMCC V6.18 warnings **
109 ** V0.5.7: 2022-08-29, JO: EP-1244: Removed sequence running check from **
110 ** ADC2_startSequence **
111 *******************************************************************************/
112 
113 #ifndef _ADC2_H
114 #define _ADC2_H
115 
116 /*******************************************************************************
117 ** Includes **
118 *******************************************************************************/
119 
120 #include "types.h"
121 #include "tle989x.h"
122 #include "tle_variants.h"
123 #include "adc2_defines.h"
124 
125 /*******************************************************************************
126 ** Global Constant Declarations **
127 *******************************************************************************/
128 
129 /*******************************************************************************
130 ** Global Macro Declarations **
131 *******************************************************************************/
132 
134 #define ADC2_DCH_CNT (15u)
135 
137 #define ADC2_AI_CNT (15u)
138 
140 #define ADC2_FILT_CNT (8u)
141 
143 #define ADC2_SEQ_CNT (4u)
144 
146 #define ADC2_SLOT_CNT (4u)
147 
149 #define ADC2_FILT_CH_DIS (4u)
150 
152 #define ADC2_ALL_DCH_MSK (0xfffffu)
153 
155 #define ADC2_ALL_SQSTS_MSK (0xfffu)
156 
158 #define ADC2_ALL_FILTSTS_MSK (0xfu)
159 
161 #define ADC2_ALL_CMPSTS_MSK (0xff00ffu)
162 
164 #define ADC2_VAREF_mV (1211u)
165 
167 #define ADC2_MAX_RESOLUTION (0xfffu)
168 
170 #define ADC2_ATT_TYPE0 (12u)
171 
173 #define ADC2_ATT_TYPE1 (10u)
174 
176 #define ADC2_ATT_TYPE2 (6u)
177 
179 #define ADC2_ATT_TYPE3 (38u)
180 
182 #define ADC2_ATT_TYPE4 (58u)
183 
185 #define ADC2_ATT_DENOM (256u)
186 
188 #define ADC2_DCH0 (0u)
190 #define ADC2_DCH1 (1u)
192 #define ADC2_DCH2 (2u)
194 #define ADC2_DCH3 (3u)
196 #define ADC2_DCH4 (4u)
198 #define ADC2_DCH5 (5u)
200 #define ADC2_DCH6 (6u)
202 #define ADC2_DCH7 (7u)
204 #define ADC2_DCH8 (8u)
206 #define ADC2_DCH9 (9u)
208 #define ADC2_DCH10 (10u)
210 #define ADC2_DCH11 (11u)
212 #define ADC2_DCH12 (12u)
214 #define ADC2_DCH13 (13u)
216 #define ADC2_DCH14 (14u)
217 
219 #define ADC2_SEQ0 (0u)
221 #define ADC2_SEQ1 (1u)
223 #define ADC2_SEQ2 (2u)
225 #define ADC2_SEQ3 (3u)
226 
228 #define ADC2_SEQ_SLOT0 (0u)
230 #define ADC2_SEQ_SLOT1 (1u)
232 #define ADC2_SEQ_SLOT2 (2u)
234 #define ADC2_SEQ_SLOT3 (3u)
235 
237 #define ADC2_SW_TRIGGER (0u)
238 
239 /*******************************************************************************
240 ** Global Type Declarations **
241 *******************************************************************************/
242 
243 #if defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
244  #pragma clang diagnostic push
245  #pragma clang diagnostic ignored "-Wpadded"
246 #endif
247 
248 typedef union ADC2_CHCFGx
249 {
250  uint32_t reg;
252  struct
253  {
254  uint32_t : 8;
255  uint32_t CHREP : 4;
256  uint32_t : 4;
257  uint32_t FILSEL : 3;
258  uint32_t CMPSEL : 3;
259  uint32_t CLASSEL : 2;
260  } bit;
262 
263 typedef union ADC2_SQCFGx
264 {
265  uint32_t reg;
267  struct
268  {
269  uint32_t SLOTS : 3;
270  uint32_t : 1;
271  uint32_t SQREP : 2;
272  uint32_t : 2;
273  uint32_t TRGSEL : 2;
274  uint32_t : 4;
275  uint32_t TRGSW : 1;
276  } bit;
278 
279 typedef union ADC2_CONVCFGx
280 {
281  uint32_t reg;
283  struct
284  {
285  uint32_t : 1;
286  uint32_t STC : 4;
287  } bit;
289 
290 typedef union ADC2_CMPCFGx
291 {
292  uint32_t reg;
294  struct
295  {
296  uint32_t LOWER : 8;
297  uint32_t INP_SEL : 1;
298  uint32_t : 3;
299  uint32_t HYST_LO : 2;
300  uint32_t : 2;
301  uint32_t UPPER : 8;
302  uint32_t BLANK_TIME : 3;
303  uint32_t RST_BLANK_TIME : 1;
304  uint32_t HYST_UP : 2;
305  uint32_t MODE : 2;
306  } bit;
308 
309 typedef union ADC2_SQSLOTx
310 {
311  uint32_t reg;
313  struct
314  {
315  uint32_t CHSEL0 : 4;
316  uint32_t : 4;
317  uint32_t CHSEL1 : 4;
318  uint32_t : 4;
319  uint32_t CHSEL2 : 4;
320  uint32_t : 4;
321  uint32_t CHSEL3 : 4;
322  } bit;
324 
325 #if defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
326  #pragma clang diagnostic pop
327 #endif
328 
329 /*******************************************************************************
330 ** Global Function Declarations **
331 *******************************************************************************/
332 
333 sint8 ADC2_init(void);
334 sint8 ADC2_getChResult(uint16 *u16p_digValue, uint8 u8_channel);
335 sint8 ADC2_getChResult_mV(uint16 *u16p_digValue_mV, uint8 u8_channel);
336 sint8 ADC2_getChFiltResult(uint16 *u16p_filtDigValue, uint8 u8_channel);
337 sint8 ADC2_getChFiltResult_mV(uint16 *u16p_filtDigValue_mV, uint8 u8_channel);
338 sint8 ADC2_getSeqResult(uint16 *u16p_DigValue, uint8 u8_seqIdx, uint8 u8_slotIdx);
339 sint8 ADC2_getSeqResult_mV(uint16 *u16p_digValue_mV, uint8 u8_seqIdx, uint8 u8_slotIdx);
340 sint8 ADC2_startSequence(uint8 u8_seqIdx);
341 uint8 ADC2_getEndOfConvSts(uint8 u8_seqIdx, uint8 u8_slotIdx);
342 INLINE void ADC2_enPower(void);
343 INLINE void ADC2_disPower(void);
344 INLINE void ADC2_enSuspend(void);
345 INLINE void ADC2_disSuspend(void);
346 INLINE void ADC2_setSuspendMode(uint8 u8_susMode);
351 INLINE void ADC2_setSeq1Slot0(uint8 u8_value);
359 INLINE void ADC2_clrSeq0IntSts(void);
360 INLINE void ADC2_clrSeq1IntSts(void);
361 INLINE void ADC2_clrSeq2IntSts(void);
362 INLINE void ADC2_clrSeq3IntSts(void);
429 INLINE void ADC2_clrFilt0Sts(void);
430 INLINE void ADC2_clrFilt1Sts(void);
431 INLINE void ADC2_clrFilt2Sts(void);
432 INLINE void ADC2_clrFilt3Sts(void);
433 INLINE void ADC2_clrFilt4Sts(void);
434 INLINE void ADC2_clrFilt5Sts(void);
435 INLINE void ADC2_clrFilt6Sts(void);
436 INLINE void ADC2_clrFilt7Sts(void);
507 INLINE void ADC2_clrCmp0UpIntSts(void);
508 INLINE void ADC2_clrCmp1UpIntSts(void);
509 INLINE void ADC2_clrCmp2UpIntSts(void);
510 INLINE void ADC2_clrCmp3UpIntSts(void);
511 INLINE void ADC2_clrCmp4UpIntSts(void);
512 INLINE void ADC2_clrCmp5UpIntSts(void);
513 INLINE void ADC2_clrCmp6UpIntSts(void);
514 INLINE void ADC2_clrCmp7UpIntSts(void);
515 INLINE void ADC2_clrCmp0UpThSts(void);
516 INLINE void ADC2_clrCmp1UpThSts(void);
517 INLINE void ADC2_clrCmp2UpThSts(void);
518 INLINE void ADC2_clrCmp3UpThSts(void);
519 INLINE void ADC2_clrCmp4UpThSts(void);
520 INLINE void ADC2_clrCmp5UpThSts(void);
521 INLINE void ADC2_clrCmp6UpThSts(void);
522 INLINE void ADC2_clrCmp7UpThSts(void);
523 INLINE void ADC2_clrCmp0LoIntSts(void);
524 INLINE void ADC2_clrCmp1LoIntSts(void);
525 INLINE void ADC2_clrCmp2LoIntSts(void);
526 INLINE void ADC2_clrCmp3LoIntSts(void);
527 INLINE void ADC2_clrCmp4LoIntSts(void);
528 INLINE void ADC2_clrCmp5LoIntSts(void);
529 INLINE void ADC2_clrCmp6LoIntSts(void);
530 INLINE void ADC2_clrCmp7LoIntSts(void);
531 INLINE void ADC2_clrCmp0LoThSts(void);
532 INLINE void ADC2_clrCmp1LoThSts(void);
533 INLINE void ADC2_clrCmp2LoThSts(void);
534 INLINE void ADC2_clrCmp3LoThSts(void);
535 INLINE void ADC2_clrCmp4LoThSts(void);
536 INLINE void ADC2_clrCmp5LoThSts(void);
537 INLINE void ADC2_clrCmp6LoThSts(void);
538 INLINE void ADC2_clrCmp7LoThSts(void);
539 INLINE void ADC2_enCmp0UpInt(void);
540 INLINE void ADC2_disCmp0UpInt(void);
541 INLINE void ADC2_enCmp1UpInt(void);
542 INLINE void ADC2_disCmp1UpInt(void);
543 INLINE void ADC2_enCmp2UpInt(void);
544 INLINE void ADC2_disCmp2UpInt(void);
545 INLINE void ADC2_enCmp3UpInt(void);
546 INLINE void ADC2_disCmp3UpInt(void);
547 INLINE void ADC2_enCmp4UpInt(void);
548 INLINE void ADC2_disCmp4UpInt(void);
549 INLINE void ADC2_enCmp5UpInt(void);
550 INLINE void ADC2_disCmp5UpInt(void);
551 INLINE void ADC2_enCmp6UpInt(void);
552 INLINE void ADC2_disCmp6UpInt(void);
553 INLINE void ADC2_enCmp7UpInt(void);
554 INLINE void ADC2_disCmp7UpInt(void);
555 INLINE void ADC2_enCmp0LoInt(void);
556 INLINE void ADC2_disCmp0LoInt(void);
557 INLINE void ADC2_enCmp1LoInt(void);
558 INLINE void ADC2_disCmp1LoInt(void);
559 INLINE void ADC2_enCmp2LoInt(void);
560 INLINE void ADC2_disCmp2LoInt(void);
561 INLINE void ADC2_enCmp3LoInt(void);
562 INLINE void ADC2_disCmp3LoInt(void);
563 INLINE void ADC2_enCmp4LoInt(void);
564 INLINE void ADC2_disCmp4LoInt(void);
565 INLINE void ADC2_enCmp5LoInt(void);
566 INLINE void ADC2_disCmp5LoInt(void);
567 INLINE void ADC2_enCmp6LoInt(void);
568 INLINE void ADC2_disCmp6LoInt(void);
569 INLINE void ADC2_enCmp7LoInt(void);
570 INLINE void ADC2_disCmp7LoInt(void);
571 INLINE void ADC2_enSeq0Int(void);
572 INLINE void ADC2_disSeq0Int(void);
573 INLINE void ADC2_enSeq1Int(void);
574 INLINE void ADC2_disSeq1Int(void);
575 INLINE void ADC2_enSeq2Int(void);
576 INLINE void ADC2_disSeq2Int(void);
577 INLINE void ADC2_enSeq3Int(void);
578 INLINE void ADC2_disSeq3Int(void);
579 INLINE void ADC2_enCh0Int(void);
580 INLINE void ADC2_disCh0Int(void);
581 INLINE void ADC2_enCh1Int(void);
582 INLINE void ADC2_disCh1Int(void);
583 INLINE void ADC2_enCh2Int(void);
584 INLINE void ADC2_disCh2Int(void);
585 INLINE void ADC2_enCh3Int(void);
586 INLINE void ADC2_disCh3Int(void);
587 INLINE void ADC2_enCh4Int(void);
588 INLINE void ADC2_disCh4Int(void);
589 INLINE void ADC2_enCh5Int(void);
590 INLINE void ADC2_disCh5Int(void);
591 INLINE void ADC2_enCh6Int(void);
592 INLINE void ADC2_disCh6Int(void);
593 INLINE void ADC2_enCh7Int(void);
594 INLINE void ADC2_disCh7Int(void);
595 INLINE void ADC2_enCh8Int(void);
596 INLINE void ADC2_disCh8Int(void);
597 INLINE void ADC2_enCh9Int(void);
598 INLINE void ADC2_disCh9Int(void);
599 INLINE void ADC2_enCh10Int(void);
600 INLINE void ADC2_disCh10Int(void);
601 INLINE void ADC2_enCh11Int(void);
602 INLINE void ADC2_disCh11Int(void);
603 INLINE void ADC2_enCh12Int(void);
604 INLINE void ADC2_disCh12Int(void);
605 INLINE void ADC2_enCh13Int(void);
606 INLINE void ADC2_disCh13Int(void);
607 INLINE void ADC2_enCh14Int(void);
608 INLINE void ADC2_disCh14Int(void);
609 
610 /*******************************************************************************
611 ** Deprecated Function Declarations **
612 *******************************************************************************/
613 
617 void ADC2_setCh0IntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
618 
622 void ADC2_setCh1IntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
623 
627 void ADC2_setCh2IntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
628 
632 void ADC2_setCh3IntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
633 
637 void ADC2_setCh4IntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
638 
642 void ADC2_setCh5IntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
643 
647 void ADC2_setCh6IntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
648 
652 void ADC2_setCh7IntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
653 
657 void ADC2_setCh8IntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
658 
662 void ADC2_setCh9IntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
663 
667 void ADC2_setCh10IntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
668 
672 void ADC2_setCh11IntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
673 
677 void ADC2_setCh12IntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
678 
682 void ADC2_setCh13IntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
683 
687 void ADC2_setCh14IntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
688 
692 void ADC2_setCmp0LoIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
693 
697 void ADC2_setCmp1LoIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
698 
702 void ADC2_setCmp2LoIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
703 
707 void ADC2_setCmp3LoIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
708 
712 void ADC2_setCmp4LoIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
713 
717 void ADC2_setCmp5LoIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
718 
722 void ADC2_setCmp6LoIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
723 
727 void ADC2_setCmp7LoIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
728 
732 void ADC2_setCmp0UpIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
733 
737 void ADC2_setCmp1UpIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
738 
742 void ADC2_setCmp2UpIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
743 
747 void ADC2_setCmp3UpIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
748 
752 void ADC2_setCmp4UpIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
753 
757 void ADC2_setCmp5UpIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
758 
762 void ADC2_setCmp6UpIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
763 
767 void ADC2_setCmp7UpIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
768 
772 void ADC2_setSeq0IntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
773 
777 void ADC2_setSeq1IntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
778 
782 void ADC2_setSeq2IntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
783 
787 void ADC2_setSeq3IntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
788 
789 /*******************************************************************************
790 ** Global Inline Function Definitions **
791 *******************************************************************************/
792 
796 {
797  ADC2->GLOBCONF.bit.EN = 1u;
798 }
799 
803 {
804  ADC2->GLOBCONF.bit.EN = 0u;
805 }
806 
810 {
811  ADC2->SUSCTR.bit.SUSEN = 1u;
812 }
813 
817 {
818  ADC2->SUSCTR.bit.SUSEN = 0u;
819 }
820 
826 {
827  ADC2->SUSCTR.bit.SUSMOD = u8_susMode;
828 }
829 
835 {
836  return (uint8)ADC2->SUSCTR.bit.SUSMOD;
837 }
838 
844 {
845  return (uint8)ADC2->SUSSTAT.bit.STAT;
846 }
847 
853 {
854  ADC2->SQCFG0.reg = (uint32)e_value.reg;
855 }
856 
862 {
863  ADC2->SQCFG1.reg = (uint32)e_value.reg;
864 }
865 
871 {
872  ADC2->SQSLOT1.bit.CHSEL0 = e_value;
873 }
874 
880 {
881  ADC2->SQCFG2.reg = (uint32)e_value.reg;
882 }
883 
889 {
890  ADC2->SQCFG3.reg = (uint32)e_value.reg;
891 }
892 
898 {
899  return (uint8)ADC2->SQSTAT.bit.SQ0;
900 }
901 
907 {
908  return (uint8)ADC2->SQSTAT.bit.SQ1;
909 }
910 
916 {
917  return (uint8)ADC2->SQSTAT.bit.SQ2;
918 }
919 
925 {
926  return (uint8)ADC2->SQSTAT.bit.SQ3;
927 }
928 
934 {
935  return (uint8)ADC2->SQSTAT.bit.SQNUM;
936 }
937 
941 {
942  ADC2->SQSTATCLR.bit.SQ0CLR = 1u;
943 }
944 
948 {
949  ADC2->SQSTATCLR.bit.SQ1CLR = 1u;
950 }
951 
955 {
956  ADC2->SQSTATCLR.bit.SQ2CLR = 1u;
957 }
958 
962 {
963  ADC2->SQSTATCLR.bit.SQ3CLR = 1u;
964 }
965 
971 {
972  ADC2->CHCFG0.reg = (uint32)e_value.reg;
973 }
974 
980 {
981  ADC2->CHCFG1.reg = (uint32)e_value.reg;
982 }
983 
989 {
990  ADC2->CHCFG2.reg = (uint32)e_value.reg;
991 }
992 
998 {
999  ADC2->CHCFG3.reg = (uint32)e_value.reg;
1000 }
1001 
1007 {
1008  ADC2->CHCFG4.reg = (uint32)e_value.reg;
1009 }
1010 
1016 {
1017  ADC2->CHCFG5.reg = (uint32)e_value.reg;
1018 }
1019 
1025 {
1026  ADC2->CHCFG6.reg = (uint32)e_value.reg;
1027 }
1028 
1034 {
1035  ADC2->CHCFG7.reg = (uint32)e_value.reg;
1036 }
1037 
1043 {
1044  ADC2->CHCFG8.reg = (uint32)e_value.reg;
1045 }
1046 
1052 {
1053  ADC2->CHCFG9.reg = (uint32)e_value.reg;
1054 }
1055 
1061 {
1062  ADC2->CHCFG10.reg = (uint32)e_value.reg;
1063 }
1064 
1070 {
1071  ADC2->CHCFG11.reg = (uint32)e_value.reg;
1072 }
1073 
1079 {
1080  ADC2->CHCFG12.reg = (uint32)e_value.reg;
1081 }
1082 
1088 {
1089  ADC2->CHCFG13.reg = (uint32)e_value.reg;
1090 }
1091 
1097 {
1098  ADC2->CHCFG14.reg = (uint32)e_value.reg;
1099 }
1100 
1106 {
1107  return (uint8)ADC2->CHSTAT.bit.CH0;
1108 }
1109 
1115 {
1116  return (uint8)ADC2->CHSTAT.bit.CH1;
1117 }
1118 
1124 {
1125  return (uint8)ADC2->CHSTAT.bit.CH2;
1126 }
1127 
1133 {
1134  return (uint8)ADC2->CHSTAT.bit.CH3;
1135 }
1136 
1142 {
1143  return (uint8)ADC2->CHSTAT.bit.CH4;
1144 }
1145 
1151 {
1152  return (uint8)ADC2->CHSTAT.bit.CH5;
1153 }
1154 
1160 {
1161  return (uint8)ADC2->CHSTAT.bit.CH6;
1162 }
1163 
1169 {
1170  return (uint8)ADC2->CHSTAT.bit.CH7;
1171 }
1172 
1178 {
1179  return (uint8)ADC2->CHSTAT.bit.CH8;
1180 }
1181 
1187 {
1188  return (uint8)ADC2->CHSTAT.bit.CH9;
1189 }
1190 
1196 {
1197  return (uint8)ADC2->CHSTAT.bit.CH10;
1198 }
1199 
1205 {
1206  return (uint8)ADC2->CHSTAT.bit.CH11;
1207 }
1208 
1214 {
1215  return (uint8)ADC2->CHSTAT.bit.CH12;
1216 }
1217 
1223 {
1224  return (uint8)ADC2->CHSTAT.bit.CH13;
1225 }
1226 
1232 {
1233  return (uint8)ADC2->CHSTAT.bit.CH14;
1234 }
1235 
1241 {
1242  return (uint8)ADC2->CHSTAT.bit.CHNUM;
1243 }
1244 
1248 {
1249  ADC2->CHSTATCLR.bit.CH0CLR = 1u;
1250 }
1251 
1255 {
1256  ADC2->CHSTATCLR.bit.CH1CLR = 1u;
1257 }
1258 
1262 {
1263  ADC2->CHSTATCLR.bit.CH2CLR = 1u;
1264 }
1265 
1269 {
1270  ADC2->CHSTATCLR.bit.CH3CLR = 1u;
1271 }
1272 
1276 {
1277  ADC2->CHSTATCLR.bit.CH4CLR = 1u;
1278 }
1279 
1283 {
1284  ADC2->CHSTATCLR.bit.CH5CLR = 1u;
1285 }
1286 
1290 {
1291  ADC2->CHSTATCLR.bit.CH6CLR = 1u;
1292 }
1293 
1297 {
1298  ADC2->CHSTATCLR.bit.CH7CLR = 1u;
1299 }
1300 
1304 {
1305  ADC2->CHSTATCLR.bit.CH8CLR = 1u;
1306 }
1307 
1311 {
1312  ADC2->CHSTATCLR.bit.CH9CLR = 1u;
1313 }
1314 
1318 {
1319  ADC2->CHSTATCLR.bit.CH10CLR = 1u;
1320 }
1321 
1325 {
1326  ADC2->CHSTATCLR.bit.CH11CLR = 1u;
1327 }
1328 
1332 {
1333  ADC2->CHSTATCLR.bit.CH12CLR = 1u;
1334 }
1335 
1339 {
1340  ADC2->CHSTATCLR.bit.CH13CLR = 1u;
1341 }
1342 
1346 {
1347  ADC2->CHSTATCLR.bit.CH14CLR = 1u;
1348 }
1349 
1355 {
1356  ADC2->CONVCFG0.reg = (uint32)e_value.reg;
1357 }
1358 
1364 {
1365  ADC2->CONVCFG1.reg = (uint32)e_value.reg;
1366 }
1367 
1373 {
1374  ADC2->CONVCFG2.reg = (uint32)e_value.reg;
1375 }
1376 
1382 {
1383  ADC2->CONVCFG3.reg = (uint32)e_value.reg;
1384 }
1385 
1391 {
1392  return (uint16)ADC2->FIL0.bit.FILRESULT;
1393 }
1394 
1400 {
1401  return (uint16)ADC2->FIL1.bit.FILRESULT;
1402 }
1403 
1409 {
1410  return (uint16)ADC2->FIL2.bit.FILRESULT;
1411 }
1412 
1418 {
1419  return (uint16)ADC2->FIL3.bit.FILRESULT;
1420 }
1421 
1427 {
1428  return (uint16)ADC2->FIL4.bit.FILRESULT;
1429 }
1430 
1436 {
1437  return (uint16)ADC2->FIL5.bit.FILRESULT;
1438 }
1439 
1445 {
1446  return (uint16)ADC2->FIL6.bit.FILRESULT;
1447 }
1448 
1454 {
1455  return (uint16)ADC2->FIL7.bit.FILRESULT;
1456 }
1457 
1463 {
1464  return (uint8)ADC2->FILSTAT.bit.FIL0;
1465 }
1466 
1472 {
1473  return (uint8)ADC2->FILSTAT.bit.FIL1;
1474 }
1475 
1481 {
1482  return (uint8)ADC2->FILSTAT.bit.FIL2;
1483 }
1484 
1490 {
1491  return (uint8)ADC2->FILSTAT.bit.FIL3;
1492 }
1493 
1499 {
1500  return (uint8)ADC2->FILSTAT.bit.FIL4;
1501 }
1502 
1508 {
1509  return (uint8)ADC2->FILSTAT.bit.FIL5;
1510 }
1511 
1517 {
1518  return (uint8)ADC2->FILSTAT.bit.FIL6;
1519 }
1520 
1526 {
1527  return (uint8)ADC2->FILSTAT.bit.FIL7;
1528 }
1529 
1533 {
1534  ADC2->FILSTATCLR.bit.FIL0CLR = 1u;
1535 }
1536 
1540 {
1541  ADC2->FILSTATCLR.bit.FIL1CLR = 1u;
1542 }
1543 
1547 {
1548  ADC2->FILSTATCLR.bit.FIL2CLR = 1u;
1549 }
1550 
1554 {
1555  ADC2->FILSTATCLR.bit.FIL3CLR = 1u;
1556 }
1557 
1561 {
1562  ADC2->FILSTATCLR.bit.FIL4CLR = 1u;
1563 }
1564 
1568 {
1569  ADC2->FILSTATCLR.bit.FIL5CLR = 1u;
1570 }
1571 
1575 {
1576  ADC2->FILSTATCLR.bit.FIL6CLR = 1u;
1577 }
1578 
1582 {
1583  ADC2->FILSTATCLR.bit.FIL7CLR = 1u;
1584 }
1585 
1591 {
1592  return (uint16)ADC2->RES0.bit.RESULT;
1593 }
1594 
1600 {
1601  return (uint8)ADC2->RES0.bit.VALID;
1602 }
1603 
1609 {
1610  return (uint16)ADC2->RES1.bit.RESULT;
1611 }
1612 
1618 {
1619  return (uint8)ADC2->RES1.bit.VALID;
1620 }
1621 
1627 {
1628  return (uint16)ADC2->RES2.bit.RESULT;
1629 }
1630 
1636 {
1637  return (uint8)ADC2->RES2.bit.VALID;
1638 }
1639 
1645 {
1646  return (uint16)ADC2->RES3.bit.RESULT;
1647 }
1648 
1654 {
1655  return (uint8)ADC2->RES3.bit.VALID;
1656 }
1657 
1663 {
1664  return (uint16)ADC2->RES4.bit.RESULT;
1665 }
1666 
1672 {
1673  return (uint8)ADC2->RES4.bit.VALID;
1674 }
1675 
1681 {
1682  return (uint16)ADC2->RES5.bit.RESULT;
1683 }
1684 
1690 {
1691  return (uint8)ADC2->RES5.bit.VALID;
1692 }
1693 
1699 {
1700  return (uint16)ADC2->RES6.bit.RESULT;
1701 }
1702 
1708 {
1709  return (uint8)ADC2->RES6.bit.VALID;
1710 }
1711 
1717 {
1718  return (uint16)ADC2->RES7.bit.RESULT;
1719 }
1720 
1726 {
1727  return (uint8)ADC2->RES7.bit.VALID;
1728 }
1729 
1735 {
1736  return (uint16)ADC2->RES8.bit.RESULT;
1737 }
1738 
1744 {
1745  return (uint8)ADC2->RES8.bit.VALID;
1746 }
1747 
1753 {
1754  return (uint16)ADC2->RES9.bit.RESULT;
1755 }
1756 
1762 {
1763  return (uint8)ADC2->RES9.bit.VALID;
1764 }
1765 
1771 {
1772  return (uint16)ADC2->RES10.bit.RESULT;
1773 }
1774 
1780 {
1781  return (uint8)ADC2->RES10.bit.VALID;
1782 }
1783 
1789 {
1790  return (uint16)ADC2->RES11.bit.RESULT;
1791 }
1792 
1798 {
1799  return (uint8)ADC2->RES11.bit.VALID;
1800 }
1801 
1807 {
1808  return (uint16)ADC2->RES12.bit.RESULT;
1809 }
1810 
1816 {
1817  return (uint8)ADC2->RES12.bit.VALID;
1818 }
1819 
1825 {
1826  return (uint16)ADC2->RES13.bit.RESULT;
1827 }
1828 
1834 {
1835  return (uint8)ADC2->RES13.bit.VALID;
1836 }
1837 
1843 {
1844  return (uint16)ADC2->RES14.bit.RESULT;
1845 }
1846 
1852 {
1853  return (uint8)ADC2->RES14.bit.VALID;
1854 }
1855 
1861 {
1862  ADC2->CMPCFG0.reg = (uint32)e_value.reg;
1863 }
1864 
1870 {
1871  ADC2->CMPCFG1.reg = (uint32)e_value.reg;
1872 }
1873 
1879 {
1880  ADC2->CMPCFG2.reg = (uint32)e_value.reg;
1881 }
1882 
1888 {
1889  ADC2->CMPCFG3.reg = (uint32)e_value.reg;
1890 }
1891 
1897 {
1898  ADC2->CMPCFG4.reg = (uint32)e_value.reg;
1899 }
1900 
1906 {
1907  ADC2->CMPCFG5.reg = (uint32)e_value.reg;
1908 }
1909 
1915 {
1916  ADC2->CMPCFG6.reg = (uint32)e_value.reg;
1917 }
1918 
1924 {
1925  ADC2->CMPCFG7.reg = (uint32)e_value.reg;
1926 }
1927 
1933 {
1934  return (uint8)ADC2->CMPSTAT.bit.CMP_UP0_IS;
1935 }
1936 
1942 {
1943  return (uint8)ADC2->CMPSTAT.bit.CMP_UP1_IS;
1944 }
1945 
1951 {
1952  return (uint8)ADC2->CMPSTAT.bit.CMP_UP2_IS;
1953 }
1954 
1960 {
1961  return (uint8)ADC2->CMPSTAT.bit.CMP_UP3_IS;
1962 }
1963 
1969 {
1970  return (uint8)ADC2->CMPSTAT.bit.CMP_UP4_IS;
1971 }
1972 
1978 {
1979  return (uint8)ADC2->CMPSTAT.bit.CMP_UP5_IS;
1980 }
1981 
1987 {
1988  return (uint8)ADC2->CMPSTAT.bit.CMP_UP6_IS;
1989 }
1990 
1996 {
1997  return (uint8)ADC2->CMPSTAT.bit.CMP_UP7_IS;
1998 }
1999 
2005 {
2006  return (uint8)ADC2->CMPSTAT.bit.CMP_UP0_STS;
2007 }
2008 
2014 {
2015  return (uint8)ADC2->CMPSTAT.bit.CMP_UP1_STS;
2016 }
2017 
2023 {
2024  return (uint8)ADC2->CMPSTAT.bit.CMP_UP2_STS;
2025 }
2026 
2032 {
2033  return (uint8)ADC2->CMPSTAT.bit.CMP_UP3_STS;
2034 }
2035 
2041 {
2042  return (uint8)ADC2->CMPSTAT.bit.CMP_UP4_STS;
2043 }
2044 
2050 {
2051  return (uint8)ADC2->CMPSTAT.bit.CMP_UP5_STS;
2052 }
2053 
2059 {
2060  return (uint8)ADC2->CMPSTAT.bit.CMP_UP6_STS;
2061 }
2062 
2068 {
2069  return (uint8)ADC2->CMPSTAT.bit.CMP_UP7_STS;
2070 }
2071 
2077 {
2078  return (uint8)ADC2->CMPSTAT.bit.CMP_LO0_IS;
2079 }
2080 
2086 {
2087  return (uint8)ADC2->CMPSTAT.bit.CMP_LO1_IS;
2088 }
2089 
2095 {
2096  return (uint8)ADC2->CMPSTAT.bit.CMP_LO2_IS;
2097 }
2098 
2104 {
2105  return (uint8)ADC2->CMPSTAT.bit.CMP_LO3_IS;
2106 }
2107 
2113 {
2114  return (uint8)ADC2->CMPSTAT.bit.CMP_LO4_IS;
2115 }
2116 
2122 {
2123  return (uint8)ADC2->CMPSTAT.bit.CMP_LO5_IS;
2124 }
2125 
2131 {
2132  return (uint8)ADC2->CMPSTAT.bit.CMP_LO6_IS;
2133 }
2134 
2140 {
2141  return (uint8)ADC2->CMPSTAT.bit.CMP_LO7_IS;
2142 }
2143 
2149 {
2150  return (uint8)ADC2->CMPSTAT.bit.CMP_LO0_STS;
2151 }
2152 
2158 {
2159  return (uint8)ADC2->CMPSTAT.bit.CMP_LO1_STS;
2160 }
2161 
2167 {
2168  return (uint8)ADC2->CMPSTAT.bit.CMP_LO2_STS;
2169 }
2170 
2176 {
2177  return (uint8)ADC2->CMPSTAT.bit.CMP_LO3_STS;
2178 }
2179 
2185 {
2186  return (uint8)ADC2->CMPSTAT.bit.CMP_LO4_STS;
2187 }
2188 
2194 {
2195  return (uint8)ADC2->CMPSTAT.bit.CMP_LO5_STS;
2196 }
2197 
2203 {
2204  return (uint8)ADC2->CMPSTAT.bit.CMP_LO6_STS;
2205 }
2206 
2212 {
2213  return (uint8)ADC2->CMPSTAT.bit.CMP_LO7_STS;
2214 }
2215 
2219 {
2220  ADC2->CMPSTATCLR.bit.CMP_UP0_ISCLR = 1u;
2221 }
2222 
2226 {
2227  ADC2->CMPSTATCLR.bit.CMP_UP1_ISCLR = 1u;
2228 }
2229 
2233 {
2234  ADC2->CMPSTATCLR.bit.CMP_UP2_ISCLR = 1u;
2235 }
2236 
2240 {
2241  ADC2->CMPSTATCLR.bit.CMP_UP3_ISCLR = 1u;
2242 }
2243 
2247 {
2248  ADC2->CMPSTATCLR.bit.CMP_UP4_ISCLR = 1u;
2249 }
2250 
2254 {
2255  ADC2->CMPSTATCLR.bit.CMP_UP5_ISCLR = 1u;
2256 }
2257 
2261 {
2262  ADC2->CMPSTATCLR.bit.CMP_UP6_ISCLR = 1u;
2263 }
2264 
2268 {
2269  ADC2->CMPSTATCLR.bit.CMP_UP7_ISCLR = 1u;
2270 }
2271 
2275 {
2276  ADC2->CMPSTATCLR.bit.CMP_UP0_STSCLR = 1u;
2277 }
2278 
2282 {
2283  ADC2->CMPSTATCLR.bit.CMP_UP1_STSCLR = 1u;
2284 }
2285 
2289 {
2290  ADC2->CMPSTATCLR.bit.CMP_UP2_STSCLR = 1u;
2291 }
2292 
2296 {
2297  ADC2->CMPSTATCLR.bit.CMP_UP3_STSCLR = 1u;
2298 }
2299 
2303 {
2304  ADC2->CMPSTATCLR.bit.CMP_UP4_STSCLR = 1u;
2305 }
2306 
2310 {
2311  ADC2->CMPSTATCLR.bit.CMP_UP5_STSCLR = 1u;
2312 }
2313 
2317 {
2318  ADC2->CMPSTATCLR.bit.CMP_UP6_STSCLR = 1u;
2319 }
2320 
2324 {
2325  ADC2->CMPSTATCLR.bit.CMP_UP7_STSCLR = 1u;
2326 }
2327 
2331 {
2332  ADC2->CMPSTATCLR.bit.CMP_LO0_ISCLR = 1u;
2333 }
2334 
2338 {
2339  ADC2->CMPSTATCLR.bit.CMP_LO1_ISCLR = 1u;
2340 }
2341 
2345 {
2346  ADC2->CMPSTATCLR.bit.CMP_LO2_ISCLR = 1u;
2347 }
2348 
2352 {
2353  ADC2->CMPSTATCLR.bit.CMP_LO3_ISCLR = 1u;
2354 }
2355 
2359 {
2360  ADC2->CMPSTATCLR.bit.CMP_LO4_ISCLR = 1u;
2361 }
2362 
2366 {
2367  ADC2->CMPSTATCLR.bit.CMP_LO5_ISCLR = 1u;
2368 }
2369 
2373 {
2374  ADC2->CMPSTATCLR.bit.CMP_LO6_ISCLR = 1u;
2375 }
2376 
2380 {
2381  ADC2->CMPSTATCLR.bit.CMP_LO7_ISCLR = 1u;
2382 }
2383 
2387 {
2388  ADC2->CMPSTATCLR.bit.CMP_LO0_STSCLR = 1u;
2389 }
2390 
2394 {
2395  ADC2->CMPSTATCLR.bit.CMP_LO1_STSCLR = 1u;
2396 }
2397 
2401 {
2402  ADC2->CMPSTATCLR.bit.CMP_LO2_STSCLR = 1u;
2403 }
2404 
2408 {
2409  ADC2->CMPSTATCLR.bit.CMP_LO3_STSCLR = 1u;
2410 }
2411 
2415 {
2416  ADC2->CMPSTATCLR.bit.CMP_LO4_STSCLR = 1u;
2417 }
2418 
2422 {
2423  ADC2->CMPSTATCLR.bit.CMP_LO5_STSCLR = 1u;
2424 }
2425 
2429 {
2430  ADC2->CMPSTATCLR.bit.CMP_LO6_STSCLR = 1u;
2431 }
2432 
2436 {
2437  ADC2->CMPSTATCLR.bit.CMP_LO7_STSCLR = 1u;
2438 }
2439 
2443 {
2444  ADC2->IEN1.bit.IEN_UP0 = 1u;
2445 }
2446 
2450 {
2451  ADC2->IEN1.bit.IEN_UP0 = 0u;
2452 }
2453 
2457 {
2458  ADC2->IEN1.bit.IEN_UP1 = 1u;
2459 }
2460 
2464 {
2465  ADC2->IEN1.bit.IEN_UP1 = 0u;
2466 }
2467 
2471 {
2472  ADC2->IEN1.bit.IEN_UP2 = 1u;
2473 }
2474 
2478 {
2479  ADC2->IEN1.bit.IEN_UP2 = 0u;
2480 }
2481 
2485 {
2486  ADC2->IEN1.bit.IEN_UP3 = 1u;
2487 }
2488 
2492 {
2493  ADC2->IEN1.bit.IEN_UP3 = 0u;
2494 }
2495 
2499 {
2500  ADC2->IEN1.bit.IEN_UP4 = 1u;
2501 }
2502 
2506 {
2507  ADC2->IEN1.bit.IEN_UP4 = 0u;
2508 }
2509 
2513 {
2514  ADC2->IEN1.bit.IEN_UP5 = 1u;
2515 }
2516 
2520 {
2521  ADC2->IEN1.bit.IEN_UP5 = 0u;
2522 }
2523 
2527 {
2528  ADC2->IEN1.bit.IEN_UP6 = 1u;
2529 }
2530 
2534 {
2535  ADC2->IEN1.bit.IEN_UP6 = 0u;
2536 }
2537 
2541 {
2542  ADC2->IEN1.bit.IEN_UP7 = 1u;
2543 }
2544 
2548 {
2549  ADC2->IEN1.bit.IEN_UP7 = 0u;
2550 }
2551 
2555 {
2556  ADC2->IEN1.bit.IEN_LO0 = 1u;
2557 }
2558 
2562 {
2563  ADC2->IEN1.bit.IEN_LO0 = 0u;
2564 }
2565 
2569 {
2570  ADC2->IEN1.bit.IEN_LO1 = 1u;
2571 }
2572 
2576 {
2577  ADC2->IEN1.bit.IEN_LO1 = 0u;
2578 }
2579 
2583 {
2584  ADC2->IEN1.bit.IEN_LO2 = 1u;
2585 }
2586 
2590 {
2591  ADC2->IEN1.bit.IEN_LO2 = 0u;
2592 }
2593 
2597 {
2598  ADC2->IEN1.bit.IEN_LO3 = 1u;
2599 }
2600 
2604 {
2605  ADC2->IEN1.bit.IEN_LO3 = 0u;
2606 }
2607 
2611 {
2612  ADC2->IEN1.bit.IEN_LO4 = 1u;
2613 }
2614 
2618 {
2619  ADC2->IEN1.bit.IEN_LO4 = 0u;
2620 }
2621 
2625 {
2626  ADC2->IEN1.bit.IEN_LO5 = 1u;
2627 }
2628 
2632 {
2633  ADC2->IEN1.bit.IEN_LO5 = 0u;
2634 }
2635 
2639 {
2640  ADC2->IEN1.bit.IEN_LO6 = 1u;
2641 }
2642 
2646 {
2647  ADC2->IEN1.bit.IEN_LO6 = 0u;
2648 }
2649 
2653 {
2654  ADC2->IEN1.bit.IEN_LO7 = 1u;
2655 }
2656 
2660 {
2661  ADC2->IEN1.bit.IEN_LO7 = 0u;
2662 }
2663 
2667 {
2668  ADC2->IEN1.bit.IEN_SQ0 = 1u;
2669 }
2670 
2674 {
2675  ADC2->IEN1.bit.IEN_SQ0 = 0u;
2676 }
2677 
2681 {
2682  ADC2->IEN1.bit.IEN_SQ1 = 1u;
2683 }
2684 
2688 {
2689  ADC2->IEN1.bit.IEN_SQ1 = 0u;
2690 }
2691 
2695 {
2696  ADC2->IEN1.bit.IEN_SQ2 = 1u;
2697 }
2698 
2702 {
2703  ADC2->IEN1.bit.IEN_SQ2 = 0u;
2704 }
2705 
2709 {
2710  ADC2->IEN1.bit.IEN_SQ3 = 1u;
2711 }
2712 
2716 {
2717  ADC2->IEN1.bit.IEN_SQ3 = 0u;
2718 }
2719 
2723 {
2724  ADC2->IEN0.bit.IEN_CH0 = 1u;
2725 }
2726 
2730 {
2731  ADC2->IEN0.bit.IEN_CH0 = 0u;
2732 }
2733 
2737 {
2738  ADC2->IEN0.bit.IEN_CH1 = 1u;
2739 }
2740 
2744 {
2745  ADC2->IEN0.bit.IEN_CH1 = 0u;
2746 }
2747 
2751 {
2752  ADC2->IEN0.bit.IEN_CH2 = 1u;
2753 }
2754 
2758 {
2759  ADC2->IEN0.bit.IEN_CH2 = 0u;
2760 }
2761 
2765 {
2766  ADC2->IEN0.bit.IEN_CH3 = 1u;
2767 }
2768 
2772 {
2773  ADC2->IEN0.bit.IEN_CH3 = 0u;
2774 }
2775 
2779 {
2780  ADC2->IEN0.bit.IEN_CH4 = 1u;
2781 }
2782 
2786 {
2787  ADC2->IEN0.bit.IEN_CH4 = 0u;
2788 }
2789 
2793 {
2794  ADC2->IEN0.bit.IEN_CH5 = 1u;
2795 }
2796 
2800 {
2801  ADC2->IEN0.bit.IEN_CH5 = 0u;
2802 }
2803 
2807 {
2808  ADC2->IEN0.bit.IEN_CH6 = 1u;
2809 }
2810 
2814 {
2815  ADC2->IEN0.bit.IEN_CH6 = 0u;
2816 }
2817 
2821 {
2822  ADC2->IEN0.bit.IEN_CH7 = 1u;
2823 }
2824 
2828 {
2829  ADC2->IEN0.bit.IEN_CH7 = 0u;
2830 }
2831 
2835 {
2836  ADC2->IEN0.bit.IEN_CH8 = 1u;
2837 }
2838 
2842 {
2843  ADC2->IEN0.bit.IEN_CH8 = 0u;
2844 }
2845 
2849 {
2850  ADC2->IEN0.bit.IEN_CH9 = 1u;
2851 }
2852 
2856 {
2857  ADC2->IEN0.bit.IEN_CH9 = 0u;
2858 }
2859 
2863 {
2864  ADC2->IEN0.bit.IEN_CH10 = 1u;
2865 }
2866 
2870 {
2871  ADC2->IEN0.bit.IEN_CH10 = 0u;
2872 }
2873 
2877 {
2878  ADC2->IEN0.bit.IEN_CH11 = 1u;
2879 }
2880 
2884 {
2885  ADC2->IEN0.bit.IEN_CH11 = 0u;
2886 }
2887 
2891 {
2892  ADC2->IEN0.bit.IEN_CH12 = 1u;
2893 }
2894 
2898 {
2899  ADC2->IEN0.bit.IEN_CH12 = 0u;
2900 }
2901 
2905 {
2906  ADC2->IEN0.bit.IEN_CH13 = 1u;
2907 }
2908 
2912 {
2913  ADC2->IEN0.bit.IEN_CH13 = 0u;
2914 }
2915 
2919 {
2920  ADC2->IEN0.bit.IEN_CH14 = 1u;
2921 }
2922 
2926 {
2927  ADC2->IEN0.bit.IEN_CH14 = 0u;
2928 }
2929 
2932 #endif /* _ADC2_H */
sint8 ADC2_getChResult(uint16 *u16p_digValue, uint8 u8_channel)
Get the 12-bit value of the ADC2 Result Register of the selected ADC2 channel and returns the validit...
Definition: adc2.c:187
sint8 ADC2_getChResult_mV(uint16 *u16p_digValue_mV, uint8 u8_channel)
Get the value of the ADC2 Result Register of the selected ADC2 channel in millivolt (mV) and returns ...
Definition: adc2.c:241
void ADC2_setCmp2UpIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Compare Up Interrupt Node Pointer.
INLINE void ADC2_setCh0Config(tADC2_CHCFGx e_value)
Set Channel 0 configuration.
Definition: adc2.h:970
INLINE void ADC2_clrCmp6UpThSts(void)
Clear Compare 6 Upper Threshold Status.
Definition: adc2.h:2316
INLINE void ADC2_disCh6Int(void)
Disable Channel 6 Interrupt.
Definition: adc2.h:2813
INLINE void ADC2_clrCmp2LoThSts(void)
Clear Compare 2 Lower Threshold Status.
Definition: adc2.h:2400
INLINE void ADC2_setCh1Config(tADC2_CHCFGx e_value)
Set Channel 1 configuration.
Definition: adc2.h:979
sint8 ADC2_startSequence(uint8 u8_seqIdx)
Start the conversion of a sequence by software.
Definition: adc2.c:608
INLINE void ADC2_clrCmp5UpThSts(void)
Clear Compare 5 Upper Threshold Status.
Definition: adc2.h:2309
INLINE void ADC2_clrCmp3UpThSts(void)
Clear Compare 3 Upper Threshold Status.
Definition: adc2.h:2295
INLINE void ADC2_disCmp2UpInt(void)
Disable Compare 2 Upper Threshold Interrupt.
Definition: adc2.h:2477
INLINE uint8 ADC2_getCh10ResultValidSts(void)
Get Channel 10 Result Valid Status.
Definition: adc2.h:1779
INLINE uint8 ADC2_getCh5EndOfConvSts(void)
Get Channel 5 End Of Conversion Status.
Definition: adc2.h:1150
sint8 ADC2_getSeqResult(uint16 *u16p_DigValue, uint8 u8_seqIdx, uint8 u8_slotIdx)
Get the 12-bit value of the ADC2 Result Register of the selected slot in the sequencer and returns th...
Definition: adc2.c:405
INLINE void ADC2_disSeq0Int(void)
Disable Sequence 0 Interrupt.
Definition: adc2.h:2673
INLINE void ADC2_setCh4Config(tADC2_CHCFGx e_value)
Set Channel 4 configuration.
Definition: adc2.h:1006
INLINE uint8 ADC2_getFilt5Sts(void)
Get Filter 5 Event Status.
Definition: adc2.h:1507
INLINE uint8 ADC2_getFilt7Sts(void)
Get Filter 7 Event Status.
Definition: adc2.h:1525
INLINE void ADC2_disCh7Int(void)
Disable Channel 7 Interrupt.
Definition: adc2.h:2827
INLINE void ADC2_clrCmp1UpThSts(void)
Clear Compare 1 Upper Threshold Status.
Definition: adc2.h:2281
INLINE uint8 ADC2_getCmp6UpIntSts(void)
Get Compare 6 Upper Threshold Interrupt Status.
Definition: adc2.h:1986
INLINE void ADC2_enCmp4UpInt(void)
Enable Compare 4 Upper Threshold Interrupt.
Definition: adc2.h:2498
INLINE void ADC2_clrCh4EndOfConvSts(void)
Clear Channel 4 End Of Conversion Status.
Definition: adc2.h:1275
INLINE void ADC2_clrCmp3LoIntSts(void)
Clear Compare 3 Lower Threshold Interrupt Status.
Definition: adc2.h:2351
INLINE uint8 ADC2_getCmp7LoThSts(void)
Get Compare 7 Lower Threshold Status.
Definition: adc2.h:2211
INLINE void ADC2_disCh11Int(void)
Disable Channel 11 Interrupt.
Definition: adc2.h:2883
INLINE void ADC2_enCh1Int(void)
Enable Channel 1 Interrupt.
Definition: adc2.h:2736
INLINE void ADC2_setCh12Config(tADC2_CHCFGx e_value)
Set Channel 12 configuration.
Definition: adc2.h:1078
INLINE uint16 ADC2_getCh10Result(void)
Get Channel 10 Result Value.
Definition: adc2.h:1770
INLINE uint8 ADC2_getCh2ResultValidSts(void)
Get Channel 2 Result Valid Status.
Definition: adc2.h:1635
INLINE void ADC2_clrFilt0Sts(void)
Clear Filter 0 Event Status.
Definition: adc2.h:1532
INLINE void ADC2_enCh7Int(void)
Enable Channel 7 Interrupt.
Definition: adc2.h:2820
INLINE void ADC2_enCh8Int(void)
Enable Channel 8 Interrupt.
Definition: adc2.h:2834
INLINE void ADC2_enCh2Int(void)
Enable Channel 2 Interrupt.
Definition: adc2.h:2750
INLINE uint16 ADC2_getCh12Result(void)
Get Channel 12 Result Value.
Definition: adc2.h:1806
INLINE void ADC2_clrCmp4LoThSts(void)
Clear Compare 4 Lower Threshold Status.
Definition: adc2.h:2414
INLINE uint8 ADC2_getCh12ResultValidSts(void)
Get Channel 12 Result Valid Status.
Definition: adc2.h:1815
INLINE void ADC2_clrCmp4LoIntSts(void)
Clear Compare 4 Lower Threshold Interrupt Status.
Definition: adc2.h:2358
INLINE void ADC2_clrFilt3Sts(void)
Clear Filter 3 Event Status.
Definition: adc2.h:1553
INLINE void ADC2_setCh2Config(tADC2_CHCFGx e_value)
Set Channel 2 configuration.
Definition: adc2.h:988
INLINE uint16 ADC2_getCh5Result(void)
Get Channel 5 Result Value.
Definition: adc2.h:1680
INLINE void ADC2_clrSeq1IntSts(void)
Clear Sequence 1 Interrupt Status.
Definition: adc2.h:947
INLINE uint8 ADC2_getCh7EndOfConvSts(void)
Get Channel 7 End Of Conversion Status.
Definition: adc2.h:1168
INLINE void ADC2_clrSeq3IntSts(void)
Clear Sequence 3 Interrupt Status.
Definition: adc2.h:961
INLINE uint8 ADC2_getCmp5LoThSts(void)
Get Compare 5 Lower Threshold Status.
Definition: adc2.h:2193
INLINE uint8 ADC2_getCmp1UpThSts(void)
Get Compare 1 Upper Threshold Status.
Definition: adc2.h:2013
INLINE uint8 ADC2_getCh3ResultValidSts(void)
Get Channel 3 Result Valid Status.
Definition: adc2.h:1653
INLINE uint16 ADC2_getCh4Result(void)
Get Channel 4 Result Value.
Definition: adc2.h:1662
void ADC2_setCmp7LoIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Compare Lo Interrupt Node Pointer.
INLINE uint16 ADC2_getFilt7Res(void)
Get Result Value Filter 7.
Definition: adc2.h:1453
void ADC2_setCh7IntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Channel 7 Interrupt Node Pointer.
INLINE uint16 ADC2_getFilt2Res(void)
Get Result Value Filter 2.
Definition: adc2.h:1408
INLINE void ADC2_clrCh13EndOfConvSts(void)
Clear Channel 13 End Of Conversion Status.
Definition: adc2.h:1338
INLINE void ADC2_setSeq1Config(tADC2_SQCFGx e_value)
Set Sequence 1 configuration.
Definition: adc2.h:861
INLINE void ADC2_disCmp1UpInt(void)
Disable Compare 1 Upper Threshold Interrupt.
Definition: adc2.h:2463
INLINE void ADC2_disCmp6LoInt(void)
Disable Compare 6 Lower Threshold Interrupt.
Definition: adc2.h:2645
INLINE uint8 ADC2_getCmp4LoThSts(void)
Get Compare 4 Lower Threshold Status.
Definition: adc2.h:2184
INLINE void ADC2_enCh14Int(void)
Enable Channel 14 Interrupt.
Definition: adc2.h:2918
INLINE void ADC2_clrCmp6LoThSts(void)
Clear Compare 6 Lower Threshold Status.
Definition: adc2.h:2428
INLINE uint8 ADC2_getCh4EndOfConvSts(void)
Get Channel 4 End Of Conversion Status.
Definition: adc2.h:1141
INLINE void ADC2_clrFilt4Sts(void)
Clear Filter 4 Event Status.
Definition: adc2.h:1560
INLINE uint16 ADC2_getCh13Result(void)
Get Channel 13 Result Value.
Definition: adc2.h:1824
INLINE void ADC2_setCh10Config(tADC2_CHCFGx e_value)
Set Channel 10 configuration.
Definition: adc2.h:1060
INLINE uint8 ADC2_getCurrChannel(void)
Get current channel under conversion.
Definition: adc2.h:1240
INLINE uint8 ADC2_getFilt4Sts(void)
Get Filter 4 Event Status.
Definition: adc2.h:1498
INLINE void ADC2_setCh3Config(tADC2_CHCFGx e_value)
Set Channel 3 configuration.
Definition: adc2.h:997
void ADC2_setCh14IntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Channel 14 Interrupt Node Pointer.
void ADC2_setCmp5LoIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Compare Lo Interrupt Node Pointer.
void ADC2_setSeq2IntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Sequence Interrupt Node Pointer.
INLINE void ADC2_setCh6Config(tADC2_CHCFGx e_value)
Set Channel 6 configuration.
Definition: adc2.h:1024
INLINE void ADC2_clrCmp6UpIntSts(void)
Clear Compare 6 Upper Threshold Interrupt Status.
Definition: adc2.h:2260
INLINE void ADC2_disSeq2Int(void)
Disable Sequence 2 Interrupt.
Definition: adc2.h:2701
INLINE uint8 ADC2_getCh13ResultValidSts(void)
Get Channel 13 Result Valid Status.
Definition: adc2.h:1833
INLINE void ADC2_enCmp2LoInt(void)
Enable Compare 2 Lower Threshold Interrupt.
Definition: adc2.h:2582
void ADC2_setSeq0IntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Sequence Interrupt Node Pointer.
INLINE void ADC2_enCh13Int(void)
Enable Channel 13 Interrupt.
Definition: adc2.h:2904
INLINE void ADC2_enCh0Int(void)
Enable Channel 0 Interrupt.
Definition: adc2.h:2722
INLINE void ADC2_disCmp0LoInt(void)
Disable Compare 0 Lower Threshold Interrupt.
Definition: adc2.h:2561
INLINE void ADC2_disCh10Int(void)
Disable Channel 10 Interrupt.
Definition: adc2.h:2869
uint8 ADC2_getEndOfConvSts(uint8 u8_seqIdx, uint8 u8_slotIdx)
Get End-of-Convertion status for selected sequence and slot.
Definition: adc2.c:670
INLINE uint8 ADC2_getCmp7LoIntSts(void)
Get Compare 7 Lower Threshold Interrupt Status.
Definition: adc2.h:2139
INLINE uint8 ADC2_getCmp3UpIntSts(void)
Get Compare 3 Upper Threshold Interrupt Status.
Definition: adc2.h:1959
INLINE void ADC2_enCmp0LoInt(void)
Enable Compare 0 Lower Threshold Interrupt.
Definition: adc2.h:2554
INLINE void ADC2_clrCmp0UpIntSts(void)
Clear Compare 0 Upper Threshold Interrupt Status.
Definition: adc2.h:2218
void ADC2_setCmp6UpIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Compare Up Interrupt Node Pointer.
void ADC2_setCh11IntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Channel 11 Interrupt Node Pointer.
INLINE void ADC2_disCmp3UpInt(void)
Disable Compare 3 Upper Threshold Interrupt.
Definition: adc2.h:2491
INLINE uint8 ADC2_getCmp3LoIntSts(void)
Get Compare 3 Lower Threshold Interrupt Status.
Definition: adc2.h:2103
INLINE void ADC2_enCh11Int(void)
Enable Channel 11 Interrupt.
Definition: adc2.h:2876
INLINE uint8 ADC2_getCmp4UpThSts(void)
Get Compare 4 Upper Threshold Status.
Definition: adc2.h:2040
INLINE uint8 ADC2_getCh6EndOfConvSts(void)
Get Channel 6 End Of Conversion Status.
Definition: adc2.h:1159
INLINE uint8 ADC2_getCmp6LoThSts(void)
Get Compare 6 Lower Threshold Status.
Definition: adc2.h:2202
INLINE uint8 ADC2_getCmp2LoThSts(void)
Get Compare 2 Lower Threshold Status.
Definition: adc2.h:2166
INLINE void ADC2_clrCmp2UpIntSts(void)
Clear Compare 2 Upper Threshold Interrupt Status.
Definition: adc2.h:2232
INLINE void ADC2_clrCmp4UpIntSts(void)
Clear Compare 4 Upper Threshold Interrupt Status.
Definition: adc2.h:2246
void ADC2_setCh12IntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Channel 12 Interrupt Node Pointer.
INLINE uint8 ADC2_getCh13EndOfConvSts(void)
Get Channel 13 End Of Conversion Status.
Definition: adc2.h:1222
union ADC2_SQCFGx tADC2_SQCFGx
INLINE uint8 ADC2_getCh8ResultValidSts(void)
Get Channel 8 Result Valid Status.
Definition: adc2.h:1743
void ADC2_setCmp1LoIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Compare Lo Interrupt Node Pointer.
INLINE void ADC2_enCmp3UpInt(void)
Enable Compare 3 Upper Threshold Interrupt.
Definition: adc2.h:2484
union ADC2_CONVCFGx tADC2_CONVCFGx
INLINE void ADC2_disCmp5UpInt(void)
Disable Compare 5 Upper Threshold Interrupt.
Definition: adc2.h:2519
INLINE void ADC2_setCmp7Config(tADC2_CMPCFGx e_value)
Set Compare Channel 7 configuration.
Definition: adc2.h:1923
INLINE uint8 ADC2_getCh1EndOfConvSts(void)
Get Channel 1 End Of Conversion Status.
Definition: adc2.h:1114
void ADC2_setCh9IntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Channel 9 Interrupt Node Pointer.
INLINE void ADC2_disCh0Int(void)
Disable Channel 0 Interrupt.
Definition: adc2.h:2729
void ADC2_setCh10IntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Channel 10 Interrupt Node Pointer.
INLINE void ADC2_setCh7Config(tADC2_CHCFGx e_value)
Set Channel 7 configuration.
Definition: adc2.h:1033
INLINE uint8 ADC2_getCmp2LoIntSts(void)
Get Compare 2 Lower Threshold Interrupt Status.
Definition: adc2.h:2094
INLINE uint8 ADC2_getCmp0LoThSts(void)
Get Compare 0 Lower Threshold Status.
Definition: adc2.h:2148
INLINE void ADC2_disCmp4UpInt(void)
Disable Compare 4 Upper Threshold Interrupt.
Definition: adc2.h:2505
INLINE uint16 ADC2_getCh9Result(void)
Get Channel 9 Result Value.
Definition: adc2.h:1752
INLINE void ADC2_clrCmp5LoIntSts(void)
Clear Compare 5 Lower Threshold Interrupt Status.
Definition: adc2.h:2365
INLINE uint8 ADC2_getSeq0IntSts(void)
Get Sequence 0 Interrupt Status.
Definition: adc2.h:897
INLINE void ADC2_clrCmp2LoIntSts(void)
Clear Compare 2 Lower Threshold Interrupt Status.
Definition: adc2.h:2344
INLINE uint8 ADC2_getCh0ResultValidSts(void)
Get Channel 0 Result Valid Status.
Definition: adc2.h:1599
INLINE uint8 ADC2_getCmp5UpThSts(void)
Get Compare 5 Upper Threshold Status.
Definition: adc2.h:2049
INLINE void ADC2_enCh6Int(void)
Enable Channel 6 Interrupt.
Definition: adc2.h:2806
INLINE void ADC2_clrCh5EndOfConvSts(void)
Clear Channel 5 End Of Conversion Status.
Definition: adc2.h:1282
INLINE void ADC2_enCmp6LoInt(void)
Enable Compare 6 Lower Threshold Interrupt.
Definition: adc2.h:2638
INLINE uint8 ADC2_getCh1ResultValidSts(void)
Get Channel 1 Result Valid Status.
Definition: adc2.h:1617
INLINE uint8 ADC2_getCh10EndOfConvSts(void)
Get Channel 10 End Of Conversion Status.
Definition: adc2.h:1195
void ADC2_setSeq1IntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Sequence Interrupt Node Pointer.
INLINE void ADC2_clrCmp5UpIntSts(void)
Clear Compare 5 Upper Threshold Interrupt Status.
Definition: adc2.h:2253
INLINE uint16 ADC2_getFilt5Res(void)
Get Result Value Filter 5.
Definition: adc2.h:1435
INLINE uint16 ADC2_getCh1Result(void)
Get Channel 1 Result Value.
Definition: adc2.h:1608
INLINE void ADC2_setCmp3Config(tADC2_CMPCFGx e_value)
Set Compare Channel 3 configuration.
Definition: adc2.h:1887
INLINE uint8 ADC2_getCh9ResultValidSts(void)
Get Channel 9 Result Valid Status.
Definition: adc2.h:1761
INLINE void ADC2_setSuspendMode(uint8 u8_susMode)
Set Suspend Mode.
Definition: adc2.h:825
sint8 ADC2_getChFiltResult(uint16 *u16p_filtDigValue, uint8 u8_channel)
Get the 14-bit value of the ADC2 Filter Result Register of the selected ADC2 channel and returns the ...
Definition: adc2.c:296
INLINE void ADC2_setSeq2Config(tADC2_SQCFGx e_value)
Set Sequence 2 configuration.
Definition: adc2.h:879
INLINE uint8 ADC2_getCmp2UpIntSts(void)
Get Compare 2 Upper Threshold Interrupt Status.
Definition: adc2.h:1950
void ADC2_setCmp4UpIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Compare Up Interrupt Node Pointer.
INLINE void ADC2_setSeq3Config(tADC2_SQCFGx e_value)
Set Sequence 3 configuration.
Definition: adc2.h:888
INLINE void ADC2_setCh13Config(tADC2_CHCFGx e_value)
Set Channel 13 configuration.
Definition: adc2.h:1087
INLINE uint8 ADC2_getCurrSeq(void)
Get Actual Sequence processed.
Definition: adc2.h:933
INLINE void ADC2_clrSeq2IntSts(void)
Clear Sequence 2 Interrupt Status.
Definition: adc2.h:954
void ADC2_setCh0IntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Channel 0 Interrupt Node Pointer.
INLINE void ADC2_clrFilt2Sts(void)
Clear Filter 2 Event Status.
Definition: adc2.h:1546
INLINE void ADC2_disCh1Int(void)
Disable Channel 1 Interrupt.
Definition: adc2.h:2743
INLINE uint8 ADC2_getCmp1LoThSts(void)
Get Compare 1 Lower Threshold Status.
Definition: adc2.h:2157
INLINE void ADC2_enCh12Int(void)
Enable Channel 12 Interrupt.
Definition: adc2.h:2890
INLINE uint16 ADC2_getCh7Result(void)
Get Channel 7 Result Value.
Definition: adc2.h:1716
INLINE uint16 ADC2_getFilt0Res(void)
Get Result Value Filter 0.
Definition: adc2.h:1390
INLINE void ADC2_clrCh1EndOfConvSts(void)
Clear Channel 1 End Of Conversion Status.
Definition: adc2.h:1254
INLINE void ADC2_disCmp1LoInt(void)
Disable Compare 1 Lower Threshold Interrupt.
Definition: adc2.h:2575
INLINE uint16 ADC2_getCh6Result(void)
Get Channel 6 Result Value.
Definition: adc2.h:1698
void ADC2_setCmp1UpIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Compare Up Interrupt Node Pointer.
void ADC2_setSeq3IntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Sequence Interrupt Node Pointer.
INLINE uint8 ADC2_getFilt6Sts(void)
Get Filter 6 Event Status.
Definition: adc2.h:1516
INLINE void ADC2_enCh3Int(void)
Enable Channel 3 Interrupt.
Definition: adc2.h:2764
INLINE uint8 ADC2_getCmp6LoIntSts(void)
Get Compare 6 Lower Threshold Interrupt Status.
Definition: adc2.h:2130
INLINE void ADC2_enCmp1UpInt(void)
Enable Compare 1 Upper Threshold Interrupt.
Definition: adc2.h:2456
INLINE void ADC2_disPower(void)
Disable ADC2 Module.
Definition: adc2.h:802
INLINE void ADC2_setConvClass1Config(tADC2_CONVCFGx e_value)
Set Conversion Class 1.
Definition: adc2.h:1363
INLINE void ADC2_enCmp6UpInt(void)
Enable Compare 6 Upper Threshold Interrupt.
Definition: adc2.h:2526
union ADC2_CHCFGx tADC2_CHCFGx
INLINE void ADC2_enCh4Int(void)
Enable Channel 4 Interrupt.
Definition: adc2.h:2778
INLINE void ADC2_disCh5Int(void)
Disable Channel 5 Interrupt.
Definition: adc2.h:2799
INLINE uint8 ADC2_getCmp1UpIntSts(void)
Get Compare 1 Upper Threshold Interrupt Status.
Definition: adc2.h:1941
void ADC2_setCh8IntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Channel 8 Interrupt Node Pointer.
INLINE void ADC2_disSeq3Int(void)
Disable Sequence 3 Interrupt.
Definition: adc2.h:2715
INLINE uint8 ADC2_getCmp0UpThSts(void)
Get Compare 0 Upper Threshold Status.
Definition: adc2.h:2004
INLINE uint8 ADC2_getCmp1LoIntSts(void)
Get Compare 1 Lower Threshold Interrupt Status.
Definition: adc2.h:2085
sint8 ADC2_getChFiltResult_mV(uint16 *u16p_filtDigValue_mV, uint8 u8_channel)
Get the value of the ADC2 Result Filter Register of the selected ADC2 channel in millivolt (mV) and r...
Definition: adc2.c:351
INLINE void ADC2_clrCh6EndOfConvSts(void)
Clear Channel 6 End Of Conversion Status.
Definition: adc2.h:1289
INLINE void ADC2_clrCmp1LoIntSts(void)
Clear Compare 1 Lower Threshold Interrupt Status.
Definition: adc2.h:2337
INLINE void ADC2_setCh5Config(tADC2_CHCFGx e_value)
Set Channel 5 configuration.
Definition: adc2.h:1015
INLINE uint8 ADC2_getCh6ResultValidSts(void)
Get Channel 6 Result Valid Status.
Definition: adc2.h:1707
INLINE uint8 ADC2_getCmp5UpIntSts(void)
Get Compare 5 Upper Threshold Interrupt Status.
Definition: adc2.h:1977
INLINE uint8 ADC2_getFilt0Sts(void)
Get Filter 0 Event Status.
Definition: adc2.h:1462
INLINE void ADC2_disCh14Int(void)
Disable Channel 14 Interrupt.
Definition: adc2.h:2925
INLINE uint8 ADC2_getSuspendMode(void)
Get Suspend Mode.
Definition: adc2.h:834
INLINE void ADC2_disSuspend(void)
Disable ADC2 Suspend.
Definition: adc2.h:816
INLINE uint8 ADC2_getCmp3LoThSts(void)
Get Compare 3 Lower Threshold Status.
Definition: adc2.h:2175
INLINE void ADC2_enSeq0Int(void)
Enable Sequence 0 Interrupt.
Definition: adc2.h:2666
INLINE void ADC2_enCmp3LoInt(void)
Enable Compare 3 Lower Threshold Interrupt.
Definition: adc2.h:2596
INLINE void ADC2_clrCh9EndOfConvSts(void)
Clear Channel 9 End Of Conversion Status.
Definition: adc2.h:1310
void ADC2_setCmp3UpIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Compare Up Interrupt Node Pointer.
INLINE void ADC2_clrSeq0IntSts(void)
Clear Sequence 0 Interrupt Status.
Definition: adc2.h:940
INLINE uint8 ADC2_getSeq2IntSts(void)
Get Sequence 2 Interrupt Status.
Definition: adc2.h:915
INLINE uint8 ADC2_getCmp2UpThSts(void)
Get Compare 2 Upper Threshold Status.
Definition: adc2.h:2022
INLINE void ADC2_enCh10Int(void)
Enable Channel 10 Interrupt.
Definition: adc2.h:2862
void ADC2_setCh13IntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Channel 13 Interrupt Node Pointer.
INLINE void ADC2_enCmp5UpInt(void)
Enable Compare 5 Upper Threshold Interrupt.
Definition: adc2.h:2512
INLINE uint8 ADC2_getCh8EndOfConvSts(void)
Get Channel 8 End Of Conversion Status.
Definition: adc2.h:1177
INLINE uint8 ADC2_getCmp7UpThSts(void)
Get Compare 7 Upper Threshold Status.
Definition: adc2.h:2067
INLINE void ADC2_setCmp0Config(tADC2_CMPCFGx e_value)
Set Compare Channel 0 configuration.
Definition: adc2.h:1860
INLINE void ADC2_enCmp5LoInt(void)
Enable Compare 5 Lower Threshold Interrupt.
Definition: adc2.h:2624
void ADC2_setCh4IntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Channel 4 Interrupt Node Pointer.
INLINE void ADC2_clrCh3EndOfConvSts(void)
Clear Channel 3 End Of Conversion Status.
Definition: adc2.h:1268
INLINE void ADC2_enPower(void)
Enable ADC2 Module.
Definition: adc2.h:795
INLINE void ADC2_clrCmp2UpThSts(void)
Clear Compare 2 Upper Threshold Status.
Definition: adc2.h:2288
INLINE void ADC2_clrCmp7UpThSts(void)
Clear Compare 7 Upper Threshold Status.
Definition: adc2.h:2323
INLINE void ADC2_disCh13Int(void)
Disable Channel 13 Interrupt.
Definition: adc2.h:2911
INLINE void ADC2_disCmp3LoInt(void)
Disable Compare 3 Lower Threshold Interrupt.
Definition: adc2.h:2603
union ADC2_SQSLOTx tADC2_SQSLOTx
INLINE void ADC2_disCmp7LoInt(void)
Disable Compare 7 Lower Threshold Interrupt.
Definition: adc2.h:2659
INLINE uint8 ADC2_getCh4ResultValidSts(void)
Get Channel 4 Result Valid Status.
Definition: adc2.h:1671
INLINE uint8 ADC2_getFilt3Sts(void)
Get Filter 3 Event Status.
Definition: adc2.h:1489
void ADC2_setCh2IntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Channel 2 Interrupt Node Pointer.
INLINE void ADC2_enCmp0UpInt(void)
Enable Compare 0 Upper Threshold Interrupt.
Definition: adc2.h:2442
INLINE void ADC2_setSeq1Slot0(uint8 u8_value)
Set Channel Select for Sequence 1 Slot 0.
Definition: adc2.h:870
INLINE uint16 ADC2_getFilt3Res(void)
Get Result Value Filter 3.
Definition: adc2.h:1417
INLINE uint8 ADC2_getCmp0LoIntSts(void)
Get Compare 0 Lower Threshold Interrupt Status.
Definition: adc2.h:2076
INLINE void ADC2_enSuspend(void)
Enable ADC2 Suspend.
Definition: adc2.h:809
INLINE uint16 ADC2_getFilt4Res(void)
Get Result Value Filter 4.
Definition: adc2.h:1426
INLINE void ADC2_clrFilt5Sts(void)
Clear Filter 5 Event Status.
Definition: adc2.h:1567
void ADC2_setCmp3LoIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Compare Lo Interrupt Node Pointer.
INLINE void ADC2_clrCh12EndOfConvSts(void)
Clear Channel 12 End Of Conversion Status.
Definition: adc2.h:1331
INLINE void ADC2_clrCmp3UpIntSts(void)
Clear Compare 3 Upper Threshold Interrupt Status.
Definition: adc2.h:2239
INLINE void ADC2_setCmp4Config(tADC2_CMPCFGx e_value)
Set Compare Channel 4 configuration.
Definition: adc2.h:1896
INLINE uint8 ADC2_getCmp5LoIntSts(void)
Get Compare 5 Lower Threshold Interrupt Status.
Definition: adc2.h:2121
INLINE void ADC2_clrFilt1Sts(void)
Clear Filter 1 Event Status.
Definition: adc2.h:1539
INLINE uint8 ADC2_getSeq3IntSts(void)
Get Sequence 3 Interrupt Status.
Definition: adc2.h:924
INLINE void ADC2_setConvClass2Config(tADC2_CONVCFGx e_value)
Set Conversion Class 2.
Definition: adc2.h:1372
INLINE void ADC2_setCh9Config(tADC2_CHCFGx e_value)
Set Channel 9 configuration.
Definition: adc2.h:1051
INLINE void ADC2_enCmp2UpInt(void)
Enable Compare 2 Upper Threshold Interrupt.
Definition: adc2.h:2470
INLINE void ADC2_disCmp0UpInt(void)
Disable Compare 0 Upper Threshold Interrupt.
Definition: adc2.h:2449
INLINE void ADC2_disSeq1Int(void)
Disable Sequence 1 Interrupt.
Definition: adc2.h:2687
sint8 ADC2_getSeqResult_mV(uint16 *u16p_digValue_mV, uint8 u8_seqIdx, uint8 u8_slotIdx)
Get the 12-bit value of the ADC2 Result Register in mV of the selected slot in the sequencer and retu...
Definition: adc2.c:507
INLINE uint8 ADC2_getSuspendSts(void)
Get Suspend Mode Status.
Definition: adc2.h:843
INLINE uint8 ADC2_getCh14ResultValidSts(void)
Get Channel 14 Result Valid Status.
Definition: adc2.h:1851
void ADC2_setCh5IntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Channel 5 Interrupt Node Pointer.
INLINE uint16 ADC2_getCh2Result(void)
Get Channel 2 Result Value.
Definition: adc2.h:1626
INLINE void ADC2_clrCh10EndOfConvSts(void)
Clear Channel 10 End Of Conversion Status.
Definition: adc2.h:1317
void ADC2_setCmp5UpIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Compare Up Interrupt Node Pointer.
INLINE uint16 ADC2_getCh0Result(void)
Get Channel 0 Result Value.
Definition: adc2.h:1590
INLINE void ADC2_setCmp2Config(tADC2_CMPCFGx e_value)
Set Compare Channel 2 configuration.
Definition: adc2.h:1878
INLINE uint8 ADC2_getCmp4LoIntSts(void)
Get Compare 4 Lower Threshold Interrupt Status.
Definition: adc2.h:2112
INLINE void ADC2_disCh3Int(void)
Disable Channel 3 Interrupt.
Definition: adc2.h:2771
INLINE void ADC2_clrCmp7LoIntSts(void)
Clear Compare 7 Lower Threshold Interrupt Status.
Definition: adc2.h:2379
INLINE uint8 ADC2_getCh11EndOfConvSts(void)
Get Channel 11 End Of Conversion Status.
Definition: adc2.h:1204
INLINE void ADC2_setCmp5Config(tADC2_CMPCFGx e_value)
Set Compare Channel 5 configuration.
Definition: adc2.h:1905
INLINE void ADC2_clrCmp0UpThSts(void)
Clear Compare 0 Upper Threshold Status.
Definition: adc2.h:2274
INLINE uint8 ADC2_getCh3EndOfConvSts(void)
Get Channel 3 End Of Conversion Status.
Definition: adc2.h:1132
union ADC2_CMPCFGx tADC2_CMPCFGx
INLINE uint8 ADC2_getCmp4UpIntSts(void)
Get Compare 4 Upper Threshold Interrupt Status.
Definition: adc2.h:1968
INLINE uint16 ADC2_getCh11Result(void)
Get Channel 11 Result Value.
Definition: adc2.h:1788
INLINE void ADC2_enCh5Int(void)
Enable Channel 5 Interrupt.
Definition: adc2.h:2792
INLINE void ADC2_disCmp6UpInt(void)
Disable Compare 6 Upper Threshold Interrupt.
Definition: adc2.h:2533
INLINE void ADC2_setCh11Config(tADC2_CHCFGx e_value)
Set Channel 11 configuration.
Definition: adc2.h:1069
void ADC2_setCh1IntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Channel 1 Interrupt Node Pointer.
INLINE uint8 ADC2_getCmp7UpIntSts(void)
Get Compare 7 Upper Threshold Interrupt Status.
Definition: adc2.h:1995
INLINE void ADC2_clrCh7EndOfConvSts(void)
Clear Channel 7 End Of Conversion Status.
Definition: adc2.h:1296
INLINE uint8 ADC2_getCh2EndOfConvSts(void)
Get Channel 2 End Of Conversion Status.
Definition: adc2.h:1123
INLINE void ADC2_clrCmp7UpIntSts(void)
Clear Compare 7 Upper Threshold Interrupt Status.
Definition: adc2.h:2267
INLINE void ADC2_enCh9Int(void)
Enable Channel 9 Interrupt.
Definition: adc2.h:2848
void ADC2_setCh3IntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Channel 3 Interrupt Node Pointer.
void ADC2_setCmp7UpIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Compare Up Interrupt Node Pointer.
void ADC2_setCh6IntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Channel 6 Interrupt Node Pointer.
INLINE uint8 ADC2_getFilt2Sts(void)
Get Filter 2 Event Status.
Definition: adc2.h:1480
void ADC2_setCmp6LoIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Compare Lo Interrupt Node Pointer.
INLINE void ADC2_clrCmp7LoThSts(void)
Clear Compare 7 Lower Threshold Status.
Definition: adc2.h:2435
sint8 ADC2_init(void)
Initialize all CW registers of the ADC2 module.
Definition: adc2.c:114
INLINE void ADC2_clrCh0EndOfConvSts(void)
Clear Channel 0 End Of Conversion Status.
Definition: adc2.h:1247
INLINE void ADC2_enCmp1LoInt(void)
Enable Compare 1 Lower Threshold Interrupt.
Definition: adc2.h:2568
INLINE uint8 ADC2_getCmp6UpThSts(void)
Get Compare 6 Upper Threshold Status.
Definition: adc2.h:2058
INLINE void ADC2_enSeq1Int(void)
Enable Sequence 1 Interrupt.
Definition: adc2.h:2680
INLINE void ADC2_clrCmp1UpIntSts(void)
Clear Compare 1 Upper Threshold Interrupt Status.
Definition: adc2.h:2225
INLINE void ADC2_enCmp7LoInt(void)
Enable Compare 7 Lower Threshold Interrupt.
Definition: adc2.h:2652
INLINE void ADC2_setConvClass3Config(tADC2_CONVCFGx e_value)
Set Conversion Class 3.
Definition: adc2.h:1381
INLINE void ADC2_clrFilt7Sts(void)
Clear Filter 7 Event Status.
Definition: adc2.h:1581
INLINE void ADC2_setCmp1Config(tADC2_CMPCFGx e_value)
Set Compare Channel 1 configuration.
Definition: adc2.h:1869
INLINE void ADC2_clrFilt6Sts(void)
Clear Filter 6 Event Status.
Definition: adc2.h:1574
INLINE uint8 ADC2_getCmp3UpThSts(void)
Get Compare 3 Upper Threshold Status.
Definition: adc2.h:2031
INLINE void ADC2_setConvClass0Config(tADC2_CONVCFGx e_value)
Set Conversion Class 0.
Definition: adc2.h:1354
INLINE void ADC2_disCh4Int(void)
Disable Channel 4 Interrupt.
Definition: adc2.h:2785
INLINE void ADC2_clrCh2EndOfConvSts(void)
Clear Channel 2 End Of Conversion Status.
Definition: adc2.h:1261
INLINE void ADC2_clrCh14EndOfConvSts(void)
Clear Channel 14 End Of Conversion Status.
Definition: adc2.h:1345
INLINE void ADC2_clrCmp5LoThSts(void)
Clear Compare 5 Lower Threshold Status.
Definition: adc2.h:2421
INLINE void ADC2_clrCmp1LoThSts(void)
Clear Compare 1 Lower Threshold Status.
Definition: adc2.h:2393
void ADC2_setCmp4LoIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Compare Lo Interrupt Node Pointer.
INLINE uint8 ADC2_getCh9EndOfConvSts(void)
Get Channel 9 End Of Conversion Status.
Definition: adc2.h:1186
INLINE void ADC2_setSeq0Config(tADC2_SQCFGx e_value)
Set Sequence 0 configuration.
Definition: adc2.h:852
INLINE void ADC2_enSeq3Int(void)
Enable Sequence 3 Interrupt.
Definition: adc2.h:2708
INLINE void ADC2_clrCmp4UpThSts(void)
Clear Compare 4 Upper Threshold Status.
Definition: adc2.h:2302
INLINE void ADC2_clrCmp3LoThSts(void)
Clear Compare 3 Lower Threshold Status.
Definition: adc2.h:2407
INLINE uint8 ADC2_getSeq1IntSts(void)
Get Sequence 1 Interrupt Status.
Definition: adc2.h:906
INLINE void ADC2_clrCmp0LoIntSts(void)
Clear Compare 0 Lower Threshold Interrupt Status.
Definition: adc2.h:2330
INLINE void ADC2_enSeq2Int(void)
Enable Sequence 2 Interrupt.
Definition: adc2.h:2694
void ADC2_setCmp2LoIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Compare Lo Interrupt Node Pointer.
void ADC2_setCmp0LoIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Compare Lo Interrupt Node Pointer.
INLINE uint16 ADC2_getCh3Result(void)
Get Channel 3 Result Value.
Definition: adc2.h:1644
INLINE void ADC2_enCmp4LoInt(void)
Enable Compare 4 Lower Threshold Interrupt.
Definition: adc2.h:2610
INLINE void ADC2_disCh9Int(void)
Disable Channel 9 Interrupt.
Definition: adc2.h:2855
INLINE void ADC2_disCh2Int(void)
Disable Channel 2 Interrupt.
Definition: adc2.h:2757
INLINE uint8 ADC2_getCh5ResultValidSts(void)
Get Channel 5 Result Valid Status.
Definition: adc2.h:1689
INLINE void ADC2_disCh12Int(void)
Disable Channel 12 Interrupt.
Definition: adc2.h:2897
INLINE void ADC2_setCmp6Config(tADC2_CMPCFGx e_value)
Set Compare Channel 6 configuration.
Definition: adc2.h:1914
INLINE void ADC2_clrCmp0LoThSts(void)
Clear Compare 0 Lower Threshold Status.
Definition: adc2.h:2386
INLINE uint16 ADC2_getFilt6Res(void)
Get Result Value Filter 6.
Definition: adc2.h:1444
INLINE uint16 ADC2_getFilt1Res(void)
Get Result Value Filter 1.
Definition: adc2.h:1399
INLINE uint8 ADC2_getCh12EndOfConvSts(void)
Get Channel 12 End Of Conversion Status.
Definition: adc2.h:1213
INLINE void ADC2_clrCh8EndOfConvSts(void)
Clear Channel 8 End Of Conversion Status.
Definition: adc2.h:1303
INLINE void ADC2_disCh8Int(void)
Disable Channel 8 Interrupt.
Definition: adc2.h:2841
INLINE uint8 ADC2_getCh0EndOfConvSts(void)
Get Channel 0 End Of Conversion Status.
Definition: adc2.h:1105
INLINE void ADC2_setCh8Config(tADC2_CHCFGx e_value)
Set Channel 8 configuration.
Definition: adc2.h:1042
INLINE uint8 ADC2_getFilt1Sts(void)
Get Filter 1 Event Status.
Definition: adc2.h:1471
INLINE void ADC2_enCmp7UpInt(void)
Enable Compare 7 Upper Threshold Interrupt.
Definition: adc2.h:2540
INLINE void ADC2_setCh14Config(tADC2_CHCFGx e_value)
Set Channel 14 configuration.
Definition: adc2.h:1096
INLINE void ADC2_clrCh11EndOfConvSts(void)
Clear Channel 11 End Of Conversion Status.
Definition: adc2.h:1324
INLINE uint8 ADC2_getCh7ResultValidSts(void)
Get Channel 7 Result Valid Status.
Definition: adc2.h:1725
INLINE uint8 ADC2_getCmp0UpIntSts(void)
Get Compare 0 Upper Threshold Interrupt Status.
Definition: adc2.h:1932
INLINE uint16 ADC2_getCh8Result(void)
Get Channel 8 Result Value.
Definition: adc2.h:1734
INLINE uint16 ADC2_getCh14Result(void)
Get Channel 14 Result Value.
Definition: adc2.h:1842
INLINE uint8 ADC2_getCh14EndOfConvSts(void)
Get Channel 14 End Of Conversion Status.
Definition: adc2.h:1231
INLINE uint8 ADC2_getCh11ResultValidSts(void)
Get Channel 11 Result Valid Status.
Definition: adc2.h:1797
INLINE void ADC2_clrCmp6LoIntSts(void)
Clear Compare 6 Lower Threshold Interrupt Status.
Definition: adc2.h:2372
INLINE void ADC2_disCmp4LoInt(void)
Disable Compare 4 Lower Threshold Interrupt.
Definition: adc2.h:2617
INLINE void ADC2_disCmp7UpInt(void)
Disable Compare 7 Upper Threshold Interrupt.
Definition: adc2.h:2547
INLINE void ADC2_disCmp5LoInt(void)
Disable Compare 5 Lower Threshold Interrupt.
Definition: adc2.h:2631
INLINE void ADC2_disCmp2LoInt(void)
Disable Compare 2 Lower Threshold Interrupt.
Definition: adc2.h:2589
void ADC2_setCmp0UpIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set Compare Up Interrupt Node Pointer.
#define ADC2
Definition: tle989x.h:24056
__attribute__((noreturn))
Definition: startup_tle989x.c:208
Device specific memory layout defines and features.
General type declarations.
#define INLINE
Definition: types.h:167
uint8_t uint8
8 bit unsigned value
Definition: types.h:220
int8_t sint8
8 bit signed value
Definition: types.h:225
uint16_t uint16
16 bit unsigned value
Definition: types.h:221
uint32_t uint32
32 bit unsigned value
Definition: types.h:222
Definition: adc2.h:249
uint32_t CMPSEL
Definition: adc2.h:258
uint32_t CLASSEL
Definition: adc2.h:259
uint32_t reg
Definition: adc2.h:250
uint32_t CHREP
Definition: adc2.h:255
struct ADC2_CHCFGx::@5 bit
uint32_t FILSEL
Definition: adc2.h:257
Definition: adc2.h:291
struct ADC2_CMPCFGx::@8 bit
uint32_t LOWER
Definition: adc2.h:296
uint32_t reg
Definition: adc2.h:292
uint32_t HYST_UP
Definition: adc2.h:304
uint32_t HYST_LO
Definition: adc2.h:299
uint32_t MODE
Definition: adc2.h:305
uint32_t RST_BLANK_TIME
Definition: adc2.h:303
uint32_t INP_SEL
Definition: adc2.h:297
uint32_t UPPER
Definition: adc2.h:301
uint32_t BLANK_TIME
Definition: adc2.h:302
Definition: adc2.h:280
uint32_t reg
Definition: adc2.h:281
struct ADC2_CONVCFGx::@7 bit
uint32_t STC
Definition: adc2.h:286
Definition: adc2.h:264
uint32_t SLOTS
Definition: adc2.h:269
uint32_t SQREP
Definition: adc2.h:271
uint32_t TRGSEL
Definition: adc2.h:273
uint32_t reg
Definition: adc2.h:265
uint32_t TRGSW
Definition: adc2.h:275
struct ADC2_SQCFGx::@6 bit
Definition: adc2.h:310
uint32_t CHSEL2
Definition: adc2.h:319
uint32_t reg
Definition: adc2.h:311
struct ADC2_SQSLOTx::@9 bit
uint32_t CHSEL3
Definition: adc2.h:321
uint32_t CHSEL0
Definition: adc2.h:315
uint32_t CHSEL1
Definition: adc2.h:317