CC35xxDriverLibrary
hw_adc.h
Go to the documentation of this file.
1 /******************************************************************************
2 * Filename: hw_adc.h
3 *
4 * Description: Defines and prototypes for the ADC peripheral.
5 *
6 * Copyright (c) 2023-2025, Texas Instruments Incorporated
7 * All rights reserved.
8 *
9 * Redistribution and use in source and binary forms, with or without
10 * modification, are permitted provided that the following conditions are met:
11 *
12 * 1) Redistributions of source code must retain the above copyright notice,
13 * this list of conditions and the following disclaimer.
14 *
15 * 2) Redistributions in binary form must reproduce the above copyright notice,
16 * this list of conditions and the following disclaimer in the documentation
17 * and/or other materials provided with the distribution.
18 *
19 * 3) Neither the name of the ORGANIZATION nor the names of its contributors may
20 * be used to endorse or promote products derived from this software without
21 * specific prior written permission.
22 *
23  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
25 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
26 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
27 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
28 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
29 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
30 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
31 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
32 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
33 * POSSIBILITY OF SUCH DAMAGE.
34 *
35 ******************************************************************************/
36 #ifndef __HW_ADC_H__
37 #define __HW_ADC_H__
38 /*-------------------------------------------------------------------------------
39 
40 This section defines the register offsets of the ADC component
41 
42 --------------------------------------------------------------------------------- */
43 
44 //FUSE CONTROL 0
45 #define ADC_O_FSCTL0 0x00000000U
46 
47 //FUSE CONTROL 1
48 #define ADC_O_FSCTL1 0x00000004U
49 
50 //FUSE CONTROL 2
51 #define ADC_O_FSCTL2 0x00000008U
52 
53 //FUSE CONTROL 3
54 #define ADC_O_FSCTL3 0x0000000CU
55 
56 //REFERENCE BUFFER
57 #define ADC_O_REFBUF 0x00000010U
58 
59 //ATB
60 #define ADC_O_ATB 0x00000014U
61 
62 //INTERNAL EVENT 0 IRQ IDX
63 #define ADC_O_INTEVT0IDX 0x00001020U
64 
65 //INTERNAL EVENT 0 IRQ MASK
66 #define ADC_O_INTEVT0BM 0x00001028U
67 
68 //INTERNAL EVENT 0 RAW IRQ STATUS
69 #define ADC_O_INTEVT0RIS 0x00001030U
70 
71 //INTERNAL EVENT 0 MASKED IRQ STATUS
72 #define ADC_O_INTEVT0MIS 0x00001038U
73 
74 //INTERNAL EVENT 0 IRQ SET
75 #define ADC_O_INTEVT0SET 0x00001040U
76 
77 //INTERNAL EVENT 0 IRQ CLEAR
78 #define ADC_O_INTEVT0CLR 0x00001048U
79 
80 //INTERNAL EVENT 1 IRQ IDX
81 #define ADC_O_INTEVT1IDX 0x00001050U
82 
83 //INTERNAL EVENT 1 IRQ MASK
84 #define ADC_O_INTEVT1BM 0x00001058U
85 
86 //INTERNAL EVENT 1 RAW IRQ STATUS
87 #define ADC_O_INTEVT1RIS 0x00001060U
88 
89 //INTERNAL EVENT 1 MASKED IRQ STATUS
90 #define ADC_O_INTEVT1MIS 0x00001068U
91 
92 //INTERNAL EVENT 1 IRQ SET
93 #define ADC_O_INTEVT1SET 0x00001070U
94 
95 //INTERNAL EVENT 1 IRQ CLEAR
96 #define ADC_O_INTEVT1CLR 0x00001078U
97 
98 //INTERNAL EVENT 2 IRQ IDX
99 #define ADC_O_INTEVT2IDX 0x00001080U
100 
101 //INTERNAL EVENT 2 IRQ MASK
102 #define ADC_O_INTEVT2BM 0x00001088U
103 
104 //INTERNAL EVENT 2 RAW IRQ STATUS
105 #define ADC_O_INTEVT2RIS 0x00001090U
106 
107 //INTERNAL EVENT 2 MASKED IRQ STATUS
108 #define ADC_O_INTEVT2MIS 0x00001098U
109 
110 //INTERNAL EVENT 2 IRQ SET
111 #define ADC_O_INTEVT2SET 0x000010A0U
112 
113 //INTERNAL EVENT 2 IRQ CLEAR
114 #define ADC_O_INTEVT2CLR 0x000010A8U
115 
116 //EVENT MODE
117 #define ADC_O_EVTMOD 0x000010E0U
118 
119 //This register identifies the peripheral and its exact version
120 #define ADC_O_DESC 0x000010FCU
121 
122 //ULP_ADCHP Control Register 0
123 #define ADC_O_CTL0 0x00001100U
124 
125 //Primary Sequence Control Register
126 #define ADC_O_CTL1 0x00001104U
127 
128 //Primary Sequence Control Register
129 #define ADC_O_CTL2 0x00001108U
130 
131 //Control Register 3
132 #define ADC_O_CTL3 0x0000110CU
133 
134 //ADC sampling clock frequency range register
135 #define ADC_O_CLKFREQ 0x00001110U
136 
137 //ULP_ADCHP sample time register x
138 #define ADC_O_SCOMP0 0x00001114U
139 
140 //ULP_ADCHP sample time register x
141 #define ADC_O_SCOMP1 0x00001118U
142 
143 //REFBUF configuration register
144 #define ADC_O_REFCFG 0x0000111CU
145 
146 //ULP_ADCHP Window Comparator Low Threshold 0 Register
147 #define ADC_O_WCLOW 0x00001148U
148 
149 //WC HIGH
150 #define ADC_O_WCHI 0x00001150U
151 
152 //Virtual data register used to do a read from FIFO
153 #define ADC_O_FIFODATA 0x00001160U
154 
155 //ASC result register
156 #define ADC_O_ASCRES 0x00001170U
157 
158 //ULP_ADCHP Conversion Memory Control Register x (x=0 to 31)
159 #define ADC_O_MEMCTL_0 0x00001180U
160 
161 //ULP_ADCHP Conversion Memory Control Register x (x=0 to 31)
162 #define ADC_O_MEMCTL_1 0x00001184U
163 
164 //ULP_ADCHP Conversion Memory Control Register x (x=0 to 31)
165 #define ADC_O_MEMCTL_2 0x00001188U
166 
167 //ULP_ADCHP Conversion Memory Control Register x (x=0 to 31)
168 #define ADC_O_MEMCTL_3 0x0000118CU
169 
170 //ULP_ADCHP Conversion Memory Control Register x (x=0 to 31)
171 #define ADC_O_MEMCTL_4 0x00001190U
172 
173 //ULP_ADCHP Conversion Memory Control Register x (x=0 to 31)
174 #define ADC_O_MEMCTL_5 0x00001194U
175 
176 //Memory Results Register
177 #define ADC_O_MEMRES_0 0x00001280U
178 
179 //Memory Results Register
180 #define ADC_O_MEMRES_1 0x00001284U
181 
182 //Memory Results Register
183 #define ADC_O_MEMRES_2 0x00001288U
184 
185 //Memory Results Register
186 #define ADC_O_MEMRES_3 0x0000128CU
187 
188 //Memory Results Register
189 #define ADC_O_MEMRES_4 0x00001290U
190 
191 //Memory Results Register
192 #define ADC_O_MEMRES_5 0x00001294U
193 
194 //Memory Results Register
195 #define ADC_O_MEMRES_6 0x00001298U
196 
197 //Memory Results Register
198 #define ADC_O_MEMRES_7 0x0000129CU
199 
200 //Memory Results Register
201 #define ADC_O_MEMRES_8 0x000012A0U
202 
203 //Memory Results Register
204 #define ADC_O_MEMRES_9 0x000012A4U
205 
206 //Memory Results Register
207 #define ADC_O_MEMRES_10 0x000012A8U
208 
209 //Memory Results Register
210 #define ADC_O_MEMRES_11 0x000012ACU
211 
212 //Memory Results Register
213 #define ADC_O_MEMRES_12 0x000012B0U
214 
215 //Memory Results Register
216 #define ADC_O_MEMRES_13 0x000012B4U
217 
218 //Memory Results Register
219 #define ADC_O_MEMRES_14 0x000012B8U
220 
221 //Memory Results Register
222 #define ADC_O_MEMRES_15 0x000012BCU
223 
224 //STATUS
225 #define ADC_O_STA 0x00001340U
226 
227 //Test0 register for ATB Mux sel for ATBBUF and ATBUNBUF
228 #define ADC_O_TEST0 0x00001E00U
229 
230 //DTB MUX Selection
231 #define ADC_O_TEST1 0x00001E04U
232 
233 //ATB Ch sel as ADC input
234 #define ADC_O_TEST2 0x00001E08U
235 
236 //ADC CAL Accumulation Register
237 #define ADC_O_TEST3 0x00001E0CU
238 
239 //CAL Control register: Average Sample count, Step number, Recall En and Debug option to override ull_usc_ulpadchp_dft_i<26:0>
240 #define ADC_O_TEST4 0x00001E10U
241 
242 //This register updated ull_usc_ulpadchp_dft_i[26:0] value if Test 5: HW_STEP_SEL_DIS bit enable
243 #define ADC_O_TEST5 0x00001E14U
244 
245 //REFBUF ATB selection
246 #define ADC_O_TEST6 0x00001E18U
247 
248 //DEBUG1
249 #define ADC_O_DBG1 0x00001E20U
250 
251 //DEBUG 2
252 #define ADC_O_DBG2 0x00001E24U
253 
254 //DEBUG 3
255 #define ADC_O_DBG3 0x00001E28U
256 
257 //DEBUG 4
258 #define ADC_O_DBG4 0x00001E2CU
259 
260 //Conversion Control
261 #define ADC_O_CONVCTL 0x00001F14U
262 
263 //CTRL
264 #define ADC_O_CTRL 0x00001F18U
265 
266 //MODE CONTROL
267 #define ADC_O_MODCTL 0x00001F1CU
268 
269 //INTERNAL CHANNEL CONTROL
270 #define ADC_O_INTCHCTL 0x00001F20U
271 
272 //SETTLING TIME
273 #define ADC_O_STLTIM 0x00001F24U
274 
275 //ADC CLK CONFIG
276 #define ADC_O_CLKCFG 0x00002000U
277 
278 
279 
280 /*-----------------------------------REGISTER------------------------------------
281  Register name: FSCTL0
282  Offset name: ADC_O_FSCTL0
283  Relative address: 0x0
284  Description: FUSE CONTROL 0
285 
286  Primarily for lab testing, needs to be written by TI boot code
287 
288  All may not be used now, few spare are kept intentionally
289  Default Value: 0x0044554A
290 
291  Field: TRIM0
292  From..to bits: 0...31
293  DefaultValue: 0x44554A
294  Access type: read-write
295  Description: TRIM VALUE 0
296 
297 */
298 #define ADC_FSCTL0_TRIM0_W 32U
299 #define ADC_FSCTL0_TRIM0_M 0xFFFFFFFFU
300 #define ADC_FSCTL0_TRIM0_S 0U
301 
302 
303 /*-----------------------------------REGISTER------------------------------------
304  Register name: FSCTL1
305  Offset name: ADC_O_FSCTL1
306  Relative address: 0x4
307  Description: FUSE CONTROL 1
308 
309  Primarily for lab testing, needs to be written by TI boot code
310 
311  All may not be used now, few spare are kept intentionally
312  Default Value: 0x18F06630
313 
314  Field: TRIM1
315  From..to bits: 0...31
316  DefaultValue: 0x18F06630
317  Access type: read-write
318  Description: TRIM VALUE 1
319 
320 */
321 #define ADC_FSCTL1_TRIM1_W 32U
322 #define ADC_FSCTL1_TRIM1_M 0xFFFFFFFFU
323 #define ADC_FSCTL1_TRIM1_S 0U
324 
325 
326 /*-----------------------------------REGISTER------------------------------------
327  Register name: FSCTL2
328  Offset name: ADC_O_FSCTL2
329  Relative address: 0x8
330  Description: FUSE CONTROL 2
331 
332  Primarily for lab testing, needs to be written by TI boot code
333 
334  All may not be used now, few spare are kept intentionally
335  Default Value: 0x0010208A
336 
337  Field: TRIM2
338  From..to bits: 0...31
339  DefaultValue: 0x10208A
340  Access type: read-write
341  Description: TRIM VALUE 2
342 
343 */
344 #define ADC_FSCTL2_TRIM2_W 32U
345 #define ADC_FSCTL2_TRIM2_M 0xFFFFFFFFU
346 #define ADC_FSCTL2_TRIM2_S 0U
347 
348 
349 /*-----------------------------------REGISTER------------------------------------
350  Register name: FSCTL3
351  Offset name: ADC_O_FSCTL3
352  Relative address: 0xC
353  Description: FUSE CONTROL 3
354 
355  Primarily for lab testing, needs to be written by TI boot code
356 
357  All may not be used now, few spare are kept intentionally
358  Default Value: 0x00000000
359 
360  Field: TRIM3
361  From..to bits: 0...15
362  DefaultValue: 0x0
363  Access type: read-write
364  Description: TRIM VALUE 3
365 
366 */
367 #define ADC_FSCTL3_TRIM3_W 16U
368 #define ADC_FSCTL3_TRIM3_M 0x0000FFFFU
369 #define ADC_FSCTL3_TRIM3_S 0U
370 
371 
372 /*-----------------------------------REGISTER------------------------------------
373  Register name: REFBUF
374  Offset name: ADC_O_REFBUF
375  Relative address: 0x10
376  Description: REFERENCE BUFFER
377  Default Value: 0x000A6E09
378 
379  Field: CFG
380  From..to bits: 0...31
381  DefaultValue: 0xA6E09
382  Access type: read-write
383  Description: CONFIG
384 
385  bit[0] - Enable Internal Reference Mode
386  bits[3:1] - Vsel for 3.3V mode Internal Reference Mode. Vrefbuf = 1.3V
387  bits[6:4] - Vsel bits for higher tap points - For debug purpose
388  <6:4> --> 001 (0.9V)
389  <6:4> --> 010 (1.45V)
390  <6:4> --> 100 (1.4V)
391  bits[8:7] - Enable Test mux to check ground and reference thought test pins
392  01--> Vref Internal available to measure
393  10 --> vss Internal Reference available to measure
394  bits[10:9] - Trim bits to change the bias current in Ref buf 1st stage
395  bits[12:11] - Trim bits to change the bias current in Ref buf
396  bits[14:13] - Trim bits to change the bias current in Ref buf output stage
397  bits[16:15] - NU
398  bits[19:17] - Vsel for 1.8V mode Internal Reference Mode .Vrefbuf = 1.35V
399  bits[31:20] - NU
400 
401 */
402 #define ADC_REFBUF_CFG_W 32U
403 #define ADC_REFBUF_CFG_M 0xFFFFFFFFU
404 #define ADC_REFBUF_CFG_S 0U
405 
406 
407 /*-----------------------------------REGISTER------------------------------------
408  Register name: ATB
409  Offset name: ADC_O_ATB
410  Relative address: 0x14
411  Description: ATB
412  Default Value: 0x00000000
413 
414  Field: CTRL
415  From..to bits: 0...7
416  DefaultValue: 0x0
417  Access type: read-write
418  Description: CONTROL
419 
420  bit0- master enable of test mux for AIP
421  bit1- refbuf test enable
422  bit2- 20uA current (scaled from PMCIO) test enable
423  bit3- vbat_div test enable
424  bit4- Tsense test enable
425  bit5- Bandgap 0p9v test enable
426  bit6- No connect
427  bit7- No connect
428 
429 */
430 #define ADC_ATB_CTRL_W 8U
431 #define ADC_ATB_CTRL_M 0x000000FFU
432 #define ADC_ATB_CTRL_S 0U
433 
434 
435 /*-----------------------------------REGISTER------------------------------------
436  Register name: INTEVT0IDX
437  Offset name: ADC_O_INTEVT0IDX
438  Relative address: 0x1020
439  Description: INTERNAL EVENT 0 IRQ IDX
440 
441  This register provides the highest priority enabled interrupt index. 0x0 means no event pending. Interrupt 1 is the highest priority, 2 next highest, 4, 8, ... 2^31 is the least priority. That is, the least bit position that is set to 1 denotes the highest priority pending interrupt. The priority order is fixed. However, users can implement their own prioritization schemes using other registers that expose the full set of interrupts that have occurred.
442 
443  On each read, only one interrupt is indicated. On a read, the current interrupt (highest priority) is automatically cleared by the hardware and the corresponding interrupt flag in the RIS and MIS are cleared as well. After a read from the CPU (not from the debug interface), the register must be updated with the next highest priority interrupt, if none are pending, then it should display 0x0.
444 
445  Default Value: 0x00000000
446 
447  Field: STAT
448  From..to bits: 0...9
449  DefaultValue: 0x0
450  Access type: read-only
451  Description: Interrupt index status
452 
453  ENUMs:
454  NO_INTR: No bit is set means there is no pending interrupt request
455  OVIFG: MEMRESx overflow interrupt
456  UVIFG: MEMRESx underflow interrupt
457  TOVIFG: Sequence Conversion time overflow interrupt
458  HIGHIFG: High threshold compare interrupt
459  LOWIFG: Low threshold compare interrupt
460  INIFG: Primary Sequence In range comparator interrupt
461  MEMRESIFG0: MEMRES0 data loaded interrupt
462  MEMRESIFG1: MEMRES1 data loaded interrupt
463  MEMRESIFG2: MEMRES2 data loaded interrupt
464  MEMRESIFG3: MEMRES3 data loaded interrupt
465  MEMRESIFG4: MEMRES4 data loaded interrupt
466  MEMRESIFG5: MEMRES5 data loaded interrupt
467  MEMRESIFG6: MEMRES6 data loaded interrupt
468  MEMRESIFG7: MEMRES7 data loaded interrupt
469  MEMRESIFG8: MEMRES8 data loaded interrupt
470  MEMRESIFG9: MEMRES9 data loaded interrupt
471  MEMRESIFG10: MEMRES10 data loaded interrupt
472  MEMRESIFG11: MEMRES11 data loaded interrupt
473  MEMRESIFG12: MEMRES12 data loaded interrupt
474  MEMRESIFG13: MEMRES13 data loaded interrupt
475  MEMRESIFG14: MEMRES14 data loaded interrupt
476  MEMRESIFG15: MEMRES15 data loaded interrupt
477  MEMRESIFG16: MEMRES16 data loaded interrupt
478  MEMRESIFG17: MEMRES17 data loaded interrupt
479  MEMRESIFG18: MEMRES18 data loaded interrupt
480  MEMRESIFG19: MEMRES19 data loaded interrupt
481  MEMRESIFG20: MEMRES20 data loaded interrupt
482  MEMRESIFG21: MEMRES21 data loaded interrupt
483  MEMRESIFG22: MEMRES22 data loaded interrupt
484  MEMRESIFG23: MEMRES23 data loaded interrupt
485  DMADONE: DMA done interrupt, generated on DMA transfer completion,
486 */
487 #define ADC_INTEVT0IDX_STAT_W 10U
488 #define ADC_INTEVT0IDX_STAT_M 0x000003FFU
489 #define ADC_INTEVT0IDX_STAT_S 0U
490 #define ADC_INTEVT0IDX_STAT_NO_INTR 0x00000000U
491 #define ADC_INTEVT0IDX_STAT_OVIFG 0x00000001U
492 #define ADC_INTEVT0IDX_STAT_UVIFG 0x00000007U
493 #define ADC_INTEVT0IDX_STAT_TOVIFG 0x00000002U
494 #define ADC_INTEVT0IDX_STAT_HIGHIFG 0x00000003U
495 #define ADC_INTEVT0IDX_STAT_LOWIFG 0x00000004U
496 #define ADC_INTEVT0IDX_STAT_INIFG 0x00000005U
497 #define ADC_INTEVT0IDX_STAT_MEMRESIFG0 0x00000009U
498 #define ADC_INTEVT0IDX_STAT_MEMRESIFG1 0x0000000AU
499 #define ADC_INTEVT0IDX_STAT_MEMRESIFG2 0x0000000BU
500 #define ADC_INTEVT0IDX_STAT_MEMRESIFG3 0x0000000CU
501 #define ADC_INTEVT0IDX_STAT_MEMRESIFG4 0x0000000DU
502 #define ADC_INTEVT0IDX_STAT_MEMRESIFG5 0x0000000EU
503 #define ADC_INTEVT0IDX_STAT_MEMRESIFG6 0x0000000FU
504 #define ADC_INTEVT0IDX_STAT_MEMRESIFG7 0x00000010U
505 #define ADC_INTEVT0IDX_STAT_MEMRESIFG8 0x00000011U
506 #define ADC_INTEVT0IDX_STAT_MEMRESIFG9 0x00000012U
507 #define ADC_INTEVT0IDX_STAT_MEMRESIFG10 0x00000013U
508 #define ADC_INTEVT0IDX_STAT_MEMRESIFG11 0x00000014U
509 #define ADC_INTEVT0IDX_STAT_MEMRESIFG12 0x00000015U
510 #define ADC_INTEVT0IDX_STAT_MEMRESIFG13 0x00000016U
511 #define ADC_INTEVT0IDX_STAT_MEMRESIFG14 0x00000017U
512 #define ADC_INTEVT0IDX_STAT_MEMRESIFG15 0x00000018U
513 #define ADC_INTEVT0IDX_STAT_MEMRESIFG16 0x00000019U
514 #define ADC_INTEVT0IDX_STAT_MEMRESIFG17 0x0000001AU
515 #define ADC_INTEVT0IDX_STAT_MEMRESIFG18 0x0000001BU
516 #define ADC_INTEVT0IDX_STAT_MEMRESIFG19 0x0000001CU
517 #define ADC_INTEVT0IDX_STAT_MEMRESIFG20 0x0000001DU
518 #define ADC_INTEVT0IDX_STAT_MEMRESIFG21 0x0000001EU
519 #define ADC_INTEVT0IDX_STAT_MEMRESIFG22 0x0000001FU
520 #define ADC_INTEVT0IDX_STAT_MEMRESIFG23 0x00000020U
521 #define ADC_INTEVT0IDX_STAT_DMADONE 0x00000006U
522 
523 
524 /*-----------------------------------REGISTER------------------------------------
525  Register name: INTEVT0BM
526  Offset name: ADC_O_INTEVT0BM
527  Relative address: 0x1028
528  Description: INTERNAL EVENT 0 IRQ MASK
529 
530  Interrupt Mask. If a bit is set, then corresponding interrupt is un-masked. Un-masking the interrupt causes the raw interrupt to be visible in IIDX, as well as MIS.
531  Default Value: 0x00000000
532 
533  Field: OVIFG
534  From..to bits: 0...0
535  DefaultValue: 0x0
536  Access type: read-write
537  Description: Raw interrupt flag for MEMRESx overflow.
538  This bit is reset to 0 by IIDX read or when corresponding bit in
539  ICLR_EX is set to 1.
540 
541  ENUMs:
542  CLR: Interrupt is not pending.
543  SET: Interrupt is pending.
544 */
545 #define ADC_INTEVT0BM_OVIFG 0x00000001U
546 #define ADC_INTEVT0BM_OVIFG_M 0x00000001U
547 #define ADC_INTEVT0BM_OVIFG_S 0U
548 #define ADC_INTEVT0BM_OVIFG_CLR 0x00000000U
549 #define ADC_INTEVT0BM_OVIFG_SET 0x00000001U
550 /*
551 
552  Field: TOVIFG
553  From..to bits: 1...1
554  DefaultValue: 0x0
555  Access type: read-write
556  Description: Raw interrupt flag for sequence conversion timeout overflow.
557  This bit is reset to 0 by IIDX read or when corresponding bit in
558  ICLR_EX is set to 1.
559 
560  ENUMs:
561  CLR: Interrupt is not pending.
562  SET: Interrupt is pending.
563 */
564 #define ADC_INTEVT0BM_TOVIFG 0x00000002U
565 #define ADC_INTEVT0BM_TOVIFG_M 0x00000002U
566 #define ADC_INTEVT0BM_TOVIFG_S 1U
567 #define ADC_INTEVT0BM_TOVIFG_CLR 0x00000000U
568 #define ADC_INTEVT0BM_TOVIFG_SET 0x00000002U
569 /*
570 
571  Field: HIFG
572  From..to bits: 2...2
573  DefaultValue: 0x0
574  Access type: read-write
575  Description: Raw interrupt flag for the MEMRESx result register being higher
576  than the WCHIGHx threshold of the window comparator.
577  This bit is reset to 0 by IIDX read or when corresponding bit in
578  ICLR_EX is set to 1.
579 
580  ENUMs:
581  CLR: Interrupt is not pending.
582  SET: Interrupt is pending.
583 */
584 #define ADC_INTEVT0BM_HIFG 0x00000004U
585 #define ADC_INTEVT0BM_HIFG_M 0x00000004U
586 #define ADC_INTEVT0BM_HIFG_S 2U
587 #define ADC_INTEVT0BM_HIFG_CLR 0x00000000U
588 #define ADC_INTEVT0BM_HIFG_SET 0x00000004U
589 /*
590 
591  Field: LOFG
592  From..to bits: 3...3
593  DefaultValue: 0x0
594  Access type: read-write
595  Description: LOW FG
596 
597  Raw interrupt flag for the MEMRESx result register being below
598  than the WCLOWx threshold of the window comparator.
599  This bit is reset to 0 by IIDX read or when corresponding bit in
600  ICLR_EX is set to 1.
601 
602  ENUMs:
603  CLR: Interrupt is not pending.
604  SET: Interrupt is pending.
605 */
606 #define ADC_INTEVT0BM_LOFG 0x00000008U
607 #define ADC_INTEVT0BM_LOFG_M 0x00000008U
608 #define ADC_INTEVT0BM_LOFG_S 3U
609 #define ADC_INTEVT0BM_LOFG_CLR 0x00000000U
610 #define ADC_INTEVT0BM_LOFG_SET 0x00000008U
611 /*
612 
613  Field: INIFG
614  From..to bits: 4...4
615  DefaultValue: 0x0
616  Access type: read-write
617  Description: Mask INIFG in MIS_EX register.
618 
619  ENUMs:
620  CLR: Interrupt is not pending.
621  SET: Interrupt is pending.
622 */
623 #define ADC_INTEVT0BM_INIFG 0x00000010U
624 #define ADC_INTEVT0BM_INIFG_M 0x00000010U
625 #define ADC_INTEVT0BM_INIFG_S 4U
626 #define ADC_INTEVT0BM_INIFG_CLR 0x00000000U
627 #define ADC_INTEVT0BM_INIFG_SET 0x00000010U
628 /*
629 
630  Field: DMADONE
631  From..to bits: 5...5
632  DefaultValue: 0x0
633  Access type: read-write
634  Description: Raw interrupt flag for DMADONE.
635  This bit is reset to 0 by IIDX read or when corresponding bit in
636  ICLR_EX is set to 1.
637 
638  ENUMs:
639  CLR: Interrupt is not pending.
640  SET: Interrupt is pending.
641 */
642 #define ADC_INTEVT0BM_DMADONE 0x00000020U
643 #define ADC_INTEVT0BM_DMADONE_M 0x00000020U
644 #define ADC_INTEVT0BM_DMADONE_S 5U
645 #define ADC_INTEVT0BM_DMADONE_CLR 0x00000000U
646 #define ADC_INTEVT0BM_DMADONE_SET 0x00000020U
647 /*
648 
649  Field: UVIFG
650  From..to bits: 6...6
651  DefaultValue: 0x0
652  Access type: read-write
653  Description: Raw interrupt flag for MEMRESx underflow.
654  This bit is reset to 0 by IIDX read or when corresponding bit in
655  ICLR is set to 1.
656 
657  ENUMs:
658  CLR: Interrupt is not pending.
659  SET: Interrupt is pending.
660 */
661 #define ADC_INTEVT0BM_UVIFG 0x00000040U
662 #define ADC_INTEVT0BM_UVIFG_M 0x00000040U
663 #define ADC_INTEVT0BM_UVIFG_S 6U
664 #define ADC_INTEVT0BM_UVIFG_CLR 0x00000000U
665 #define ADC_INTEVT0BM_UVIFG_SET 0x00000040U
666 /*
667 
668  Field: MEMRESIFG0
669  From..to bits: 8...8
670  DefaultValue: 0x0
671  Access type: read-write
672  Description: Raw interrupt status for MEMRES0.
673  This bit is set to 1 when MEMRES0 is loaded with a new
674  conversion result.
675  To clear this bit, corresponding bit in ICLR should be set to 1
676 
677  ENUMs:
678  CLR: No new data ready.
679  SET: A new data is ready to be read.
680 */
681 #define ADC_INTEVT0BM_MEMRESIFG0 0x00000100U
682 #define ADC_INTEVT0BM_MEMRESIFG0_M 0x00000100U
683 #define ADC_INTEVT0BM_MEMRESIFG0_S 8U
684 #define ADC_INTEVT0BM_MEMRESIFG0_CLR 0x00000000U
685 #define ADC_INTEVT0BM_MEMRESIFG0_SET 0x00000100U
686 /*
687 
688  Field: MEMRESIFG1
689  From..to bits: 9...9
690  DefaultValue: 0x0
691  Access type: read-write
692  Description: Raw interrupt status for MEMRES1.
693  This bit is set to 1 when MEMRES1 is loaded with a new
694  conversion result.
695  To clear this bit, corresponding bit in ICLR should be set to 1
696 
697  ENUMs:
698  CLR: No new data ready.
699  SET: A new data is ready to be read.
700 */
701 #define ADC_INTEVT0BM_MEMRESIFG1 0x00000200U
702 #define ADC_INTEVT0BM_MEMRESIFG1_M 0x00000200U
703 #define ADC_INTEVT0BM_MEMRESIFG1_S 9U
704 #define ADC_INTEVT0BM_MEMRESIFG1_CLR 0x00000000U
705 #define ADC_INTEVT0BM_MEMRESIFG1_SET 0x00000200U
706 /*
707 
708  Field: MEMRESIFG2
709  From..to bits: 10...10
710  DefaultValue: 0x0
711  Access type: read-write
712  Description: Raw interrupt status for MEMRES2.
713  This bit is set to 1 when MEMRES2 is loaded with a new
714  conversion result.
715  To clear this bit, corresponding bit in ICLR should be set to 1
716 
717  ENUMs:
718  CLR: No new data ready.
719  SET: A new data is ready to be read.
720 */
721 #define ADC_INTEVT0BM_MEMRESIFG2 0x00000400U
722 #define ADC_INTEVT0BM_MEMRESIFG2_M 0x00000400U
723 #define ADC_INTEVT0BM_MEMRESIFG2_S 10U
724 #define ADC_INTEVT0BM_MEMRESIFG2_CLR 0x00000000U
725 #define ADC_INTEVT0BM_MEMRESIFG2_SET 0x00000400U
726 /*
727 
728  Field: MEMRESIFG3
729  From..to bits: 11...11
730  DefaultValue: 0x0
731  Access type: read-write
732  Description: Raw interrupt status for MEMRES3.
733  This bit is set to 1 when MEMRES3 is loaded with a new
734  conversion result.
735  To clear this bit, corresponding bit in ICLR should be set to 1
736 
737  ENUMs:
738  CLR: No new data ready.
739  SET: A new data is ready to be read.
740 */
741 #define ADC_INTEVT0BM_MEMRESIFG3 0x00000800U
742 #define ADC_INTEVT0BM_MEMRESIFG3_M 0x00000800U
743 #define ADC_INTEVT0BM_MEMRESIFG3_S 11U
744 #define ADC_INTEVT0BM_MEMRESIFG3_CLR 0x00000000U
745 #define ADC_INTEVT0BM_MEMRESIFG3_SET 0x00000800U
746 /*
747 
748  Field: MEMRESIFG4
749  From..to bits: 12...12
750  DefaultValue: 0x0
751  Access type: read-write
752  Description: Raw interrupt status for MEMRES4.
753  This bit is set to 1 when MEMRES4 is loaded with a new
754  conversion result.
755  To clear this bit, corresponding bit in ICLR should be set to 1
756 
757  ENUMs:
758  CLR: No new data ready.
759  SET: A new data is ready to be read.
760 */
761 #define ADC_INTEVT0BM_MEMRESIFG4 0x00001000U
762 #define ADC_INTEVT0BM_MEMRESIFG4_M 0x00001000U
763 #define ADC_INTEVT0BM_MEMRESIFG4_S 12U
764 #define ADC_INTEVT0BM_MEMRESIFG4_CLR 0x00000000U
765 #define ADC_INTEVT0BM_MEMRESIFG4_SET 0x00001000U
766 /*
767 
768  Field: MEMRESIFG5
769  From..to bits: 13...13
770  DefaultValue: 0x0
771  Access type: read-write
772  Description: Raw interrupt status for MEMRES5.
773  This bit is set to 1 when MEMRES5 is loaded with a new
774  conversion result.
775  To clear this bit, corresponding bit in ICLR should be set to 1
776 
777  ENUMs:
778  CLR: No new data ready.
779  SET: A new data is ready to be read.
780 */
781 #define ADC_INTEVT0BM_MEMRESIFG5 0x00002000U
782 #define ADC_INTEVT0BM_MEMRESIFG5_M 0x00002000U
783 #define ADC_INTEVT0BM_MEMRESIFG5_S 13U
784 #define ADC_INTEVT0BM_MEMRESIFG5_CLR 0x00000000U
785 #define ADC_INTEVT0BM_MEMRESIFG5_SET 0x00002000U
786 /*
787 
788  Field: MEMRESIFG6
789  From..to bits: 14...14
790  DefaultValue: 0x0
791  Access type: read-write
792  Description: Raw interrupt status for MEMRES6.
793  This bit is set to 1 when MEMRES6 is loaded with a new
794  conversion result.
795  To clear this bit, corresponding bit in ICLR should be set to 1
796 
797  ENUMs:
798  CLR: No new data ready.
799  SET: A new data is ready to be read.
800 */
801 #define ADC_INTEVT0BM_MEMRESIFG6 0x00004000U
802 #define ADC_INTEVT0BM_MEMRESIFG6_M 0x00004000U
803 #define ADC_INTEVT0BM_MEMRESIFG6_S 14U
804 #define ADC_INTEVT0BM_MEMRESIFG6_CLR 0x00000000U
805 #define ADC_INTEVT0BM_MEMRESIFG6_SET 0x00004000U
806 /*
807 
808  Field: MEMRESIFG7
809  From..to bits: 15...15
810  DefaultValue: 0x0
811  Access type: read-write
812  Description: Raw interrupt status for MEMRES7.
813  This bit is set to 1 when MEMRES7 is loaded with a new
814  conversion result.
815  To clear this bit, corresponding bit in ICLR should be set to 1
816 
817  ENUMs:
818  CLR: No new data ready.
819  SET: A new data is ready to be read.
820 */
821 #define ADC_INTEVT0BM_MEMRESIFG7 0x00008000U
822 #define ADC_INTEVT0BM_MEMRESIFG7_M 0x00008000U
823 #define ADC_INTEVT0BM_MEMRESIFG7_S 15U
824 #define ADC_INTEVT0BM_MEMRESIFG7_CLR 0x00000000U
825 #define ADC_INTEVT0BM_MEMRESIFG7_SET 0x00008000U
826 /*
827 
828  Field: MEMRESIFG8
829  From..to bits: 16...16
830  DefaultValue: 0x0
831  Access type: read-write
832  Description: Raw interrupt status for MEMRES8.
833  This bit is set to 1 when MEMRES8 is loaded with a new
834  conversion result.
835  To clear this bit, corresponding bit in ICLR should be set to 1
836 
837  ENUMs:
838  CLR: No new data ready.
839  SET: A new data is ready to be read.
840 */
841 #define ADC_INTEVT0BM_MEMRESIFG8 0x00010000U
842 #define ADC_INTEVT0BM_MEMRESIFG8_M 0x00010000U
843 #define ADC_INTEVT0BM_MEMRESIFG8_S 16U
844 #define ADC_INTEVT0BM_MEMRESIFG8_CLR 0x00000000U
845 #define ADC_INTEVT0BM_MEMRESIFG8_SET 0x00010000U
846 /*
847 
848  Field: MEMRESIFG9
849  From..to bits: 17...17
850  DefaultValue: 0x0
851  Access type: read-write
852  Description: Raw interrupt status for MEMRES9.
853  This bit is set to 1 when MEMRES9 is loaded with a new
854  conversion result.
855  To clear this bit, corresponding bit in ICLR should be set to 1
856 
857  ENUMs:
858  CLR: No new data ready.
859  SET: A new data is ready to be read.
860 */
861 #define ADC_INTEVT0BM_MEMRESIFG9 0x00020000U
862 #define ADC_INTEVT0BM_MEMRESIFG9_M 0x00020000U
863 #define ADC_INTEVT0BM_MEMRESIFG9_S 17U
864 #define ADC_INTEVT0BM_MEMRESIFG9_CLR 0x00000000U
865 #define ADC_INTEVT0BM_MEMRESIFG9_SET 0x00020000U
866 /*
867 
868  Field: MEMRESIFG10
869  From..to bits: 18...18
870  DefaultValue: 0x0
871  Access type: read-write
872  Description: Raw interrupt status for MEMRES10.
873  This bit is set to 1 when MEMRES10 is loaded with a new
874  conversion result.
875  To clear this bit, corresponding bit in ICLR should be set to 1
876 
877  ENUMs:
878  CLR: No new data ready.
879  SET: A new data is ready to be read.
880 */
881 #define ADC_INTEVT0BM_MEMRESIFG10 0x00040000U
882 #define ADC_INTEVT0BM_MEMRESIFG10_M 0x00040000U
883 #define ADC_INTEVT0BM_MEMRESIFG10_S 18U
884 #define ADC_INTEVT0BM_MEMRESIFG10_CLR 0x00000000U
885 #define ADC_INTEVT0BM_MEMRESIFG10_SET 0x00040000U
886 /*
887 
888  Field: MEMRESIFG11
889  From..to bits: 19...19
890  DefaultValue: 0x0
891  Access type: read-write
892  Description: Raw interrupt status for MEMRES11.
893  This bit is set to 1 when MEMRES11 is loaded with a new
894  conversion result.
895  To clear this bit, corresponding bit in ICLR should be set to 1
896 
897  ENUMs:
898  CLR: No new data ready.
899  SET: A new data is ready to be read.
900 */
901 #define ADC_INTEVT0BM_MEMRESIFG11 0x00080000U
902 #define ADC_INTEVT0BM_MEMRESIFG11_M 0x00080000U
903 #define ADC_INTEVT0BM_MEMRESIFG11_S 19U
904 #define ADC_INTEVT0BM_MEMRESIFG11_CLR 0x00000000U
905 #define ADC_INTEVT0BM_MEMRESIFG11_SET 0x00080000U
906 /*
907 
908  Field: MEMRESIFG12
909  From..to bits: 20...20
910  DefaultValue: 0x0
911  Access type: read-write
912  Description: Raw interrupt status for MEMRES12.
913  This bit is set to 1 when MEMRES12 is loaded with a new
914  conversion result.
915  To clear this bit, corresponding bit in ICLR should be set to 1
916 
917  ENUMs:
918  CLR: No new data ready.
919  SET: A new data is ready to be read.
920 */
921 #define ADC_INTEVT0BM_MEMRESIFG12 0x00100000U
922 #define ADC_INTEVT0BM_MEMRESIFG12_M 0x00100000U
923 #define ADC_INTEVT0BM_MEMRESIFG12_S 20U
924 #define ADC_INTEVT0BM_MEMRESIFG12_CLR 0x00000000U
925 #define ADC_INTEVT0BM_MEMRESIFG12_SET 0x00100000U
926 /*
927 
928  Field: MEMRESIFG13
929  From..to bits: 21...21
930  DefaultValue: 0x0
931  Access type: read-write
932  Description: Raw interrupt status for MEMRES13.
933  This bit is set to 1 when MEMRES13 is loaded with a new
934  conversion result.
935  To clear this bit, corresponding bit in ICLR should be set to 1
936 
937  ENUMs:
938  CLR: No new data ready.
939  SET: A new data is ready to be read.
940 */
941 #define ADC_INTEVT0BM_MEMRESIFG13 0x00200000U
942 #define ADC_INTEVT0BM_MEMRESIFG13_M 0x00200000U
943 #define ADC_INTEVT0BM_MEMRESIFG13_S 21U
944 #define ADC_INTEVT0BM_MEMRESIFG13_CLR 0x00000000U
945 #define ADC_INTEVT0BM_MEMRESIFG13_SET 0x00200000U
946 /*
947 
948  Field: MEMRESIFG14
949  From..to bits: 22...22
950  DefaultValue: 0x0
951  Access type: read-write
952  Description: Raw interrupt status for MEMRES14.
953  This bit is set to 1 when MEMRES14 is loaded with a new
954  conversion result.
955  To clear this bit, corresponding bit in ICLR should be set to 1
956 
957  ENUMs:
958  CLR: No new data ready.
959  SET: A new data is ready to be read.
960 */
961 #define ADC_INTEVT0BM_MEMRESIFG14 0x00400000U
962 #define ADC_INTEVT0BM_MEMRESIFG14_M 0x00400000U
963 #define ADC_INTEVT0BM_MEMRESIFG14_S 22U
964 #define ADC_INTEVT0BM_MEMRESIFG14_CLR 0x00000000U
965 #define ADC_INTEVT0BM_MEMRESIFG14_SET 0x00400000U
966 /*
967 
968  Field: MEMRESIFG15
969  From..to bits: 23...23
970  DefaultValue: 0x0
971  Access type: read-write
972  Description: Raw interrupt status for MEMRES15.
973  This bit is set to 1 when MEMRES15 is loaded with a new
974  conversion result.
975  To clear this bit, corresponding bit in ICLR should be set to 1
976 
977  ENUMs:
978  CLR: No new data ready.
979  SET: A new data is ready to be read.
980 */
981 #define ADC_INTEVT0BM_MEMRESIFG15 0x00800000U
982 #define ADC_INTEVT0BM_MEMRESIFG15_M 0x00800000U
983 #define ADC_INTEVT0BM_MEMRESIFG15_S 23U
984 #define ADC_INTEVT0BM_MEMRESIFG15_CLR 0x00000000U
985 #define ADC_INTEVT0BM_MEMRESIFG15_SET 0x00800000U
986 
987 
988 /*-----------------------------------REGISTER------------------------------------
989  Register name: INTEVT0RIS
990  Offset name: ADC_O_INTEVT0RIS
991  Relative address: 0x1030
992  Description: INTERNAL EVENT 0 RAW IRQ STATUS
993 
994  Raw interrupt status. Reflects all pending interrupts, regardless of masking. The INT_EVENT0_RIS register allows the user to implement a poll scheme. A flag set in this register can be cleared by writing 1 to the ICLR register bit even if the corresponding IMASK bit is not enabled.
995  Default Value: 0x00000000
996 
997  Field: OVIFG
998  From..to bits: 0...0
999  DefaultValue: 0x0
1000  Access type: read-only
1001  Description: Raw interrupt flag for MEMRESx overflow.
1002  This bit is reset to 0 by IIDX read or when corresponding bit in
1003  ICLR_EX is set to 1.
1004 
1005  ENUMs:
1006  CLR: Interrupt is not pending.
1007  SET: Interrupt is pending.
1008 */
1009 #define ADC_INTEVT0RIS_OVIFG 0x00000001U
1010 #define ADC_INTEVT0RIS_OVIFG_M 0x00000001U
1011 #define ADC_INTEVT0RIS_OVIFG_S 0U
1012 #define ADC_INTEVT0RIS_OVIFG_CLR 0x00000000U
1013 #define ADC_INTEVT0RIS_OVIFG_SET 0x00000001U
1014 /*
1015 
1016  Field: TOVIFG
1017  From..to bits: 1...1
1018  DefaultValue: 0x0
1019  Access type: read-only
1020  Description: Raw interrupt flag for sequence conversion timeout overflow.
1021  This bit is reset to 0 by IIDX read or when corresponding bit in
1022  ICLR_EX is set to 1.
1023 
1024  ENUMs:
1025  CLR: Interrupt is not pending.
1026  SET: Interrupt is pending.
1027 */
1028 #define ADC_INTEVT0RIS_TOVIFG 0x00000002U
1029 #define ADC_INTEVT0RIS_TOVIFG_M 0x00000002U
1030 #define ADC_INTEVT0RIS_TOVIFG_S 1U
1031 #define ADC_INTEVT0RIS_TOVIFG_CLR 0x00000000U
1032 #define ADC_INTEVT0RIS_TOVIFG_SET 0x00000002U
1033 /*
1034 
1035  Field: HIFG
1036  From..to bits: 2...2
1037  DefaultValue: 0x0
1038  Access type: read-only
1039  Description: HIGH FG
1040 
1041  Raw interrupt flag for the MEMRESx result register being higher
1042  than the WCHIGHx threshold of the window comparator.
1043  This bit is reset to 0 by IIDX read or when corresponding bit in
1044  ICLR_EX is set to 1.
1045 
1046  ENUMs:
1047  CLR: Interrupt is not pending.
1048  SET: Interrupt is pending.
1049 */
1050 #define ADC_INTEVT0RIS_HIFG 0x00000004U
1051 #define ADC_INTEVT0RIS_HIFG_M 0x00000004U
1052 #define ADC_INTEVT0RIS_HIFG_S 2U
1053 #define ADC_INTEVT0RIS_HIFG_CLR 0x00000000U
1054 #define ADC_INTEVT0RIS_HIFG_SET 0x00000004U
1055 /*
1056 
1057  Field: LOFG
1058  From..to bits: 3...3
1059  DefaultValue: 0x0
1060  Access type: read-only
1061  Description: LOW FG
1062 
1063  Raw interrupt flag for the MEMRESx result register being below
1064  than the WCLOWx threshold of the window comparator.
1065  This bit is reset to 0 by IIDX read or when corresponding bit in
1066  ICLR_EX is set to 1.
1067 
1068  ENUMs:
1069  CLR: Interrupt is not pending.
1070  SET: Interrupt is pending.
1071 */
1072 #define ADC_INTEVT0RIS_LOFG 0x00000008U
1073 #define ADC_INTEVT0RIS_LOFG_M 0x00000008U
1074 #define ADC_INTEVT0RIS_LOFG_S 3U
1075 #define ADC_INTEVT0RIS_LOFG_CLR 0x00000000U
1076 #define ADC_INTEVT0RIS_LOFG_SET 0x00000008U
1077 /*
1078 
1079  Field: INIFG
1080  From..to bits: 4...4
1081  DefaultValue: 0x0
1082  Access type: read-only
1083  Description: Mask INIFG in MIS_EX register.
1084 
1085  ENUMs:
1086  CLR: Interrupt is not pending.
1087  SET: Interrupt is pending.
1088 */
1089 #define ADC_INTEVT0RIS_INIFG 0x00000010U
1090 #define ADC_INTEVT0RIS_INIFG_M 0x00000010U
1091 #define ADC_INTEVT0RIS_INIFG_S 4U
1092 #define ADC_INTEVT0RIS_INIFG_CLR 0x00000000U
1093 #define ADC_INTEVT0RIS_INIFG_SET 0x00000010U
1094 /*
1095 
1096  Field: DMADONE
1097  From..to bits: 5...5
1098  DefaultValue: 0x0
1099  Access type: read-only
1100  Description: Raw interrupt flag for DMADONE.
1101  This bit is reset to 0 by IIDX read or when corresponding bit in
1102  ICLR_EX is set to 1.
1103 
1104  ENUMs:
1105  CLR: Interrupt is not pending.
1106  SET: Interrupt is pending.
1107 */
1108 #define ADC_INTEVT0RIS_DMADONE 0x00000020U
1109 #define ADC_INTEVT0RIS_DMADONE_M 0x00000020U
1110 #define ADC_INTEVT0RIS_DMADONE_S 5U
1111 #define ADC_INTEVT0RIS_DMADONE_CLR 0x00000000U
1112 #define ADC_INTEVT0RIS_DMADONE_SET 0x00000020U
1113 /*
1114 
1115  Field: UVIFG
1116  From..to bits: 6...6
1117  DefaultValue: 0x0
1118  Access type: read-only
1119  Description: Raw interrupt flag for MEMRESx underflow.
1120  This bit is reset to 0 by IIDX read or when corresponding bit in
1121  ICLR is set to 1.
1122 
1123  ENUMs:
1124  CLR: Interrupt is not pending.
1125  SET: Interrupt is pending.
1126 */
1127 #define ADC_INTEVT0RIS_UVIFG 0x00000040U
1128 #define ADC_INTEVT0RIS_UVIFG_M 0x00000040U
1129 #define ADC_INTEVT0RIS_UVIFG_S 6U
1130 #define ADC_INTEVT0RIS_UVIFG_CLR 0x00000000U
1131 #define ADC_INTEVT0RIS_UVIFG_SET 0x00000040U
1132 /*
1133 
1134  Field: MEMRESIFG0
1135  From..to bits: 8...8
1136  DefaultValue: 0x0
1137  Access type: read-only
1138  Description: Raw interrupt status for MEMRES0.
1139  This bit is set to 1 when MEMRES0 is loaded with a new
1140  conversion result.
1141  To clear this bit, corresponding bit in ICLR should be set to 1
1142 
1143  ENUMs:
1144  CLR: No new data ready.
1145  SET: A new data is ready to be read.
1146 */
1147 #define ADC_INTEVT0RIS_MEMRESIFG0 0x00000100U
1148 #define ADC_INTEVT0RIS_MEMRESIFG0_M 0x00000100U
1149 #define ADC_INTEVT0RIS_MEMRESIFG0_S 8U
1150 #define ADC_INTEVT0RIS_MEMRESIFG0_CLR 0x00000000U
1151 #define ADC_INTEVT0RIS_MEMRESIFG0_SET 0x00000100U
1152 /*
1153 
1154  Field: MEMRESIFG1
1155  From..to bits: 9...9
1156  DefaultValue: 0x0
1157  Access type: read-only
1158  Description: Raw interrupt status for MEMRES1.
1159  This bit is set to 1 when MEMRES1 is loaded with a new
1160  conversion result.
1161  To clear this bit, corresponding bit in ICLR should be set to 1
1162 
1163  ENUMs:
1164  CLR: No new data ready.
1165  SET: A new data is ready to be read.
1166 */
1167 #define ADC_INTEVT0RIS_MEMRESIFG1 0x00000200U
1168 #define ADC_INTEVT0RIS_MEMRESIFG1_M 0x00000200U
1169 #define ADC_INTEVT0RIS_MEMRESIFG1_S 9U
1170 #define ADC_INTEVT0RIS_MEMRESIFG1_CLR 0x00000000U
1171 #define ADC_INTEVT0RIS_MEMRESIFG1_SET 0x00000200U
1172 /*
1173 
1174  Field: MEMRESIFG2
1175  From..to bits: 10...10
1176  DefaultValue: 0x0
1177  Access type: read-only
1178  Description: Raw interrupt status for MEMRES2.
1179  This bit is set to 1 when MEMRES2 is loaded with a new
1180  conversion result.
1181  To clear this bit, corresponding bit in ICLR should be set to 1
1182 
1183  ENUMs:
1184  CLR: No new data ready.
1185  SET: A new data is ready to be read.
1186 */
1187 #define ADC_INTEVT0RIS_MEMRESIFG2 0x00000400U
1188 #define ADC_INTEVT0RIS_MEMRESIFG2_M 0x00000400U
1189 #define ADC_INTEVT0RIS_MEMRESIFG2_S 10U
1190 #define ADC_INTEVT0RIS_MEMRESIFG2_CLR 0x00000000U
1191 #define ADC_INTEVT0RIS_MEMRESIFG2_SET 0x00000400U
1192 /*
1193 
1194  Field: MEMRESIFG3
1195  From..to bits: 11...11
1196  DefaultValue: 0x0
1197  Access type: read-only
1198  Description: Raw interrupt status for MEMRES3.
1199  This bit is set to 1 when MEMRES3 is loaded with a new
1200  conversion result.
1201  To clear this bit, corresponding bit in ICLR should be set to 1
1202 
1203  ENUMs:
1204  CLR: No new data ready.
1205  SET: A new data is ready to be read.
1206 */
1207 #define ADC_INTEVT0RIS_MEMRESIFG3 0x00000800U
1208 #define ADC_INTEVT0RIS_MEMRESIFG3_M 0x00000800U
1209 #define ADC_INTEVT0RIS_MEMRESIFG3_S 11U
1210 #define ADC_INTEVT0RIS_MEMRESIFG3_CLR 0x00000000U
1211 #define ADC_INTEVT0RIS_MEMRESIFG3_SET 0x00000800U
1212 /*
1213 
1214  Field: MEMRESIFG4
1215  From..to bits: 12...12
1216  DefaultValue: 0x0
1217  Access type: read-only
1218  Description: Raw interrupt status for MEMRES4.
1219  This bit is set to 1 when MEMRES4 is loaded with a new
1220  conversion result.
1221  To clear this bit, corresponding bit in ICLR should be set to 1
1222 
1223  ENUMs:
1224  CLR: No new data ready.
1225  SET: A new data is ready to be read.
1226 */
1227 #define ADC_INTEVT0RIS_MEMRESIFG4 0x00001000U
1228 #define ADC_INTEVT0RIS_MEMRESIFG4_M 0x00001000U
1229 #define ADC_INTEVT0RIS_MEMRESIFG4_S 12U
1230 #define ADC_INTEVT0RIS_MEMRESIFG4_CLR 0x00000000U
1231 #define ADC_INTEVT0RIS_MEMRESIFG4_SET 0x00001000U
1232 /*
1233 
1234  Field: MEMRESIFG5
1235  From..to bits: 13...13
1236  DefaultValue: 0x0
1237  Access type: read-only
1238  Description: Raw interrupt status for MEMRES5.
1239  This bit is set to 1 when MEMRES5 is loaded with a new
1240  conversion result.
1241  To clear this bit, corresponding bit in ICLR should be set to 1
1242 
1243  ENUMs:
1244  CLR: No new data ready.
1245  SET: A new data is ready to be read.
1246 */
1247 #define ADC_INTEVT0RIS_MEMRESIFG5 0x00002000U
1248 #define ADC_INTEVT0RIS_MEMRESIFG5_M 0x00002000U
1249 #define ADC_INTEVT0RIS_MEMRESIFG5_S 13U
1250 #define ADC_INTEVT0RIS_MEMRESIFG5_CLR 0x00000000U
1251 #define ADC_INTEVT0RIS_MEMRESIFG5_SET 0x00002000U
1252 /*
1253 
1254  Field: MEMRESIFG6
1255  From..to bits: 14...14
1256  DefaultValue: 0x0
1257  Access type: read-only
1258  Description: Raw interrupt status for MEMRES6.
1259  This bit is set to 1 when MEMRES6 is loaded with a new
1260  conversion result.
1261  To clear this bit, corresponding bit in ICLR should be set to 1
1262 
1263  ENUMs:
1264  CLR: No new data ready.
1265  SET: A new data is ready to be read.
1266 */
1267 #define ADC_INTEVT0RIS_MEMRESIFG6 0x00004000U
1268 #define ADC_INTEVT0RIS_MEMRESIFG6_M 0x00004000U
1269 #define ADC_INTEVT0RIS_MEMRESIFG6_S 14U
1270 #define ADC_INTEVT0RIS_MEMRESIFG6_CLR 0x00000000U
1271 #define ADC_INTEVT0RIS_MEMRESIFG6_SET 0x00004000U
1272 /*
1273 
1274  Field: MEMRESIFG7
1275  From..to bits: 15...15
1276  DefaultValue: 0x0
1277  Access type: read-only
1278  Description: Raw interrupt status for MEMRES7.
1279  This bit is set to 1 when MEMRES7 is loaded with a new
1280  conversion result.
1281  To clear this bit, corresponding bit in ICLR should be set to 1
1282 
1283  ENUMs:
1284  CLR: No new data ready.
1285  SET: A new data is ready to be read.
1286 */
1287 #define ADC_INTEVT0RIS_MEMRESIFG7 0x00008000U
1288 #define ADC_INTEVT0RIS_MEMRESIFG7_M 0x00008000U
1289 #define ADC_INTEVT0RIS_MEMRESIFG7_S 15U
1290 #define ADC_INTEVT0RIS_MEMRESIFG7_CLR 0x00000000U
1291 #define ADC_INTEVT0RIS_MEMRESIFG7_SET 0x00008000U
1292 /*
1293 
1294  Field: MEMRESIFG8
1295  From..to bits: 16...16
1296  DefaultValue: 0x0
1297  Access type: read-only
1298  Description: Raw interrupt status for MEMRES8.
1299  This bit is set to 1 when MEMRES8 is loaded with a new
1300  conversion result.
1301  To clear this bit, corresponding bit in ICLR should be set to 1
1302 
1303  ENUMs:
1304  CLR: No new data ready.
1305  SET: A new data is ready to be read.
1306 */
1307 #define ADC_INTEVT0RIS_MEMRESIFG8 0x00010000U
1308 #define ADC_INTEVT0RIS_MEMRESIFG8_M 0x00010000U
1309 #define ADC_INTEVT0RIS_MEMRESIFG8_S 16U
1310 #define ADC_INTEVT0RIS_MEMRESIFG8_CLR 0x00000000U
1311 #define ADC_INTEVT0RIS_MEMRESIFG8_SET 0x00010000U
1312 /*
1313 
1314  Field: MEMRESIFG9
1315  From..to bits: 17...17
1316  DefaultValue: 0x0
1317  Access type: read-only
1318  Description: Raw interrupt status for MEMRES9.
1319  This bit is set to 1 when MEMRES9 is loaded with a new
1320  conversion result.
1321  To clear this bit, corresponding bit in ICLR should be set to 1
1322 
1323  ENUMs:
1324  CLR: No new data ready.
1325  SET: A new data is ready to be read.
1326 */
1327 #define ADC_INTEVT0RIS_MEMRESIFG9 0x00020000U
1328 #define ADC_INTEVT0RIS_MEMRESIFG9_M 0x00020000U
1329 #define ADC_INTEVT0RIS_MEMRESIFG9_S 17U
1330 #define ADC_INTEVT0RIS_MEMRESIFG9_CLR 0x00000000U
1331 #define ADC_INTEVT0RIS_MEMRESIFG9_SET 0x00020000U
1332 /*
1333 
1334  Field: MEMRESIFG10
1335  From..to bits: 18...18
1336  DefaultValue: 0x0
1337  Access type: read-only
1338  Description: Raw interrupt status for MEMRES10.
1339  This bit is set to 1 when MEMRES10 is loaded with a new
1340  conversion result.
1341  To clear this bit, corresponding bit in ICLR should be set to 1
1342 
1343  ENUMs:
1344  CLR: No new data ready.
1345  SET: A new data is ready to be read.
1346 */
1347 #define ADC_INTEVT0RIS_MEMRESIFG10 0x00040000U
1348 #define ADC_INTEVT0RIS_MEMRESIFG10_M 0x00040000U
1349 #define ADC_INTEVT0RIS_MEMRESIFG10_S 18U
1350 #define ADC_INTEVT0RIS_MEMRESIFG10_CLR 0x00000000U
1351 #define ADC_INTEVT0RIS_MEMRESIFG10_SET 0x00040000U
1352 /*
1353 
1354  Field: MEMRESIFG11
1355  From..to bits: 19...19
1356  DefaultValue: 0x0
1357  Access type: read-only
1358  Description: Raw interrupt status for MEMRES11.
1359  This bit is set to 1 when MEMRES11 is loaded with a new
1360  conversion result.
1361  To clear this bit, corresponding bit in ICLR should be set to 1
1362 
1363  ENUMs:
1364  CLR: No new data ready.
1365  SET: A new data is ready to be read.
1366 */
1367 #define ADC_INTEVT0RIS_MEMRESIFG11 0x00080000U
1368 #define ADC_INTEVT0RIS_MEMRESIFG11_M 0x00080000U
1369 #define ADC_INTEVT0RIS_MEMRESIFG11_S 19U
1370 #define ADC_INTEVT0RIS_MEMRESIFG11_CLR 0x00000000U
1371 #define ADC_INTEVT0RIS_MEMRESIFG11_SET 0x00080000U
1372 /*
1373 
1374  Field: MEMRESIFG12
1375  From..to bits: 20...20
1376  DefaultValue: 0x0
1377  Access type: read-only
1378  Description: Raw interrupt status for MEMRES12.
1379  This bit is set to 1 when MEMRES12 is loaded with a new
1380  conversion result.
1381  To clear this bit, corresponding bit in ICLR should be set to 1
1382 
1383  ENUMs:
1384  CLR: No new data ready.
1385  SET: A new data is ready to be read.
1386 */
1387 #define ADC_INTEVT0RIS_MEMRESIFG12 0x00100000U
1388 #define ADC_INTEVT0RIS_MEMRESIFG12_M 0x00100000U
1389 #define ADC_INTEVT0RIS_MEMRESIFG12_S 20U
1390 #define ADC_INTEVT0RIS_MEMRESIFG12_CLR 0x00000000U
1391 #define ADC_INTEVT0RIS_MEMRESIFG12_SET 0x00100000U
1392 /*
1393 
1394  Field: MEMRESIFG13
1395  From..to bits: 21...21
1396  DefaultValue: 0x0
1397  Access type: read-only
1398  Description: Raw interrupt status for MEMRES13.
1399  This bit is set to 1 when MEMRES13 is loaded with a new
1400  conversion result.
1401  To clear this bit, corresponding bit in ICLR should be set to 1
1402 
1403  ENUMs:
1404  CLR: No new data ready.
1405  SET: A new data is ready to be read.
1406 */
1407 #define ADC_INTEVT0RIS_MEMRESIFG13 0x00200000U
1408 #define ADC_INTEVT0RIS_MEMRESIFG13_M 0x00200000U
1409 #define ADC_INTEVT0RIS_MEMRESIFG13_S 21U
1410 #define ADC_INTEVT0RIS_MEMRESIFG13_CLR 0x00000000U
1411 #define ADC_INTEVT0RIS_MEMRESIFG13_SET 0x00200000U
1412 /*
1413 
1414  Field: MEMRESIFG14
1415  From..to bits: 22...22
1416  DefaultValue: 0x0
1417  Access type: read-only
1418  Description: Raw interrupt status for MEMRES14.
1419  This bit is set to 1 when MEMRES14 is loaded with a new
1420  conversion result.
1421  To clear this bit, corresponding bit in ICLR should be set to 1
1422 
1423  ENUMs:
1424  CLR: No new data ready.
1425  SET: A new data is ready to be read.
1426 */
1427 #define ADC_INTEVT0RIS_MEMRESIFG14 0x00400000U
1428 #define ADC_INTEVT0RIS_MEMRESIFG14_M 0x00400000U
1429 #define ADC_INTEVT0RIS_MEMRESIFG14_S 22U
1430 #define ADC_INTEVT0RIS_MEMRESIFG14_CLR 0x00000000U
1431 #define ADC_INTEVT0RIS_MEMRESIFG14_SET 0x00400000U
1432 /*
1433 
1434  Field: MEMRESIFG15
1435  From..to bits: 23...23
1436  DefaultValue: 0x0
1437  Access type: read-only
1438  Description: Raw interrupt status for MEMRES15.
1439  This bit is set to 1 when MEMRES15 is loaded with a new
1440  conversion result.
1441  To clear this bit, corresponding bit in ICLR should be set to 1
1442 
1443  ENUMs:
1444  CLR: No new data ready.
1445  SET: A new data is ready to be read.
1446 */
1447 #define ADC_INTEVT0RIS_MEMRESIFG15 0x00800000U
1448 #define ADC_INTEVT0RIS_MEMRESIFG15_M 0x00800000U
1449 #define ADC_INTEVT0RIS_MEMRESIFG15_S 23U
1450 #define ADC_INTEVT0RIS_MEMRESIFG15_CLR 0x00000000U
1451 #define ADC_INTEVT0RIS_MEMRESIFG15_SET 0x00800000U
1452 
1453 
1454 /*-----------------------------------REGISTER------------------------------------
1455  Register name: INTEVT0MIS
1456  Offset name: ADC_O_INTEVT0MIS
1457  Relative address: 0x1038
1458  Description: INTERNAL EVENT 0 MASKED IRQ STATUS
1459 
1460  Masked interrupt status. This is an AND of the IMASK and RIS registers.
1461  Default Value: 0x00000000
1462 
1463  Field: OVIFG
1464  From..to bits: 0...0
1465  DefaultValue: 0x0
1466  Access type: read-only
1467  Description: Raw interrupt flag for MEMRESx overflow.
1468  This bit is reset to 0 by IIDX read or when corresponding bit in
1469  ICLR_EX is set to 1.
1470 
1471  ENUMs:
1472  CLR: Interrupt is not pending.
1473  SET: Interrupt is pending.
1474 */
1475 #define ADC_INTEVT0MIS_OVIFG 0x00000001U
1476 #define ADC_INTEVT0MIS_OVIFG_M 0x00000001U
1477 #define ADC_INTEVT0MIS_OVIFG_S 0U
1478 #define ADC_INTEVT0MIS_OVIFG_CLR 0x00000000U
1479 #define ADC_INTEVT0MIS_OVIFG_SET 0x00000001U
1480 /*
1481 
1482  Field: TOVIFG
1483  From..to bits: 1...1
1484  DefaultValue: 0x0
1485  Access type: read-only
1486  Description: Raw interrupt flag for sequence conversion timeout overflow.
1487  This bit is reset to 0 by IIDX read or when corresponding bit in
1488  ICLR_EX is set to 1.
1489 
1490  ENUMs:
1491  CLR: Interrupt is not pending.
1492  SET: Interrupt is pending.
1493 */
1494 #define ADC_INTEVT0MIS_TOVIFG 0x00000002U
1495 #define ADC_INTEVT0MIS_TOVIFG_M 0x00000002U
1496 #define ADC_INTEVT0MIS_TOVIFG_S 1U
1497 #define ADC_INTEVT0MIS_TOVIFG_CLR 0x00000000U
1498 #define ADC_INTEVT0MIS_TOVIFG_SET 0x00000002U
1499 /*
1500 
1501  Field: HIFG
1502  From..to bits: 2...2
1503  DefaultValue: 0x0
1504  Access type: read-only
1505  Description: HIGH FG
1506 
1507  Raw interrupt flag for the MEMRESx result register being higher
1508  than the WCHIGHx threshold of the window comparator.
1509  This bit is reset to 0 by IIDX read or when corresponding bit in
1510  ICLR_EX is set to 1.
1511 
1512  ENUMs:
1513  CLR: Interrupt is not pending.
1514  SET: Interrupt is pending.
1515 */
1516 #define ADC_INTEVT0MIS_HIFG 0x00000004U
1517 #define ADC_INTEVT0MIS_HIFG_M 0x00000004U
1518 #define ADC_INTEVT0MIS_HIFG_S 2U
1519 #define ADC_INTEVT0MIS_HIFG_CLR 0x00000000U
1520 #define ADC_INTEVT0MIS_HIFG_SET 0x00000004U
1521 /*
1522 
1523  Field: LOFG
1524  From..to bits: 3...3
1525  DefaultValue: 0x0
1526  Access type: read-only
1527  Description: LOW FG
1528 
1529  Raw interrupt flag for the MEMRESx result register being below
1530  than the WCLOWx threshold of the window comparator.
1531  This bit is reset to 0 by IIDX read or when corresponding bit in
1532  ICLR_EX is set to 1.
1533 
1534  ENUMs:
1535  CLR: Interrupt is not pending.
1536  SET: Interrupt is pending.
1537 */
1538 #define ADC_INTEVT0MIS_LOFG 0x00000008U
1539 #define ADC_INTEVT0MIS_LOFG_M 0x00000008U
1540 #define ADC_INTEVT0MIS_LOFG_S 3U
1541 #define ADC_INTEVT0MIS_LOFG_CLR 0x00000000U
1542 #define ADC_INTEVT0MIS_LOFG_SET 0x00000008U
1543 /*
1544 
1545  Field: INIFG
1546  From..to bits: 4...4
1547  DefaultValue: 0x0
1548  Access type: read-only
1549  Description: Mask INIFG in MIS_EX register.
1550 
1551  ENUMs:
1552  CLR: Interrupt is not pending.
1553  SET: Interrupt is pending.
1554 */
1555 #define ADC_INTEVT0MIS_INIFG 0x00000010U
1556 #define ADC_INTEVT0MIS_INIFG_M 0x00000010U
1557 #define ADC_INTEVT0MIS_INIFG_S 4U
1558 #define ADC_INTEVT0MIS_INIFG_CLR 0x00000000U
1559 #define ADC_INTEVT0MIS_INIFG_SET 0x00000010U
1560 /*
1561 
1562  Field: DMADONE
1563  From..to bits: 5...5
1564  DefaultValue: 0x0
1565  Access type: read-only
1566  Description: Raw interrupt flag for DMADONE.
1567  This bit is reset to 0 by IIDX read or when corresponding bit in
1568  ICLR_EX is set to 1.
1569 
1570  ENUMs:
1571  CLR: Interrupt is not pending.
1572  SET: Interrupt is pending.
1573 */
1574 #define ADC_INTEVT0MIS_DMADONE 0x00000020U
1575 #define ADC_INTEVT0MIS_DMADONE_M 0x00000020U
1576 #define ADC_INTEVT0MIS_DMADONE_S 5U
1577 #define ADC_INTEVT0MIS_DMADONE_CLR 0x00000000U
1578 #define ADC_INTEVT0MIS_DMADONE_SET 0x00000020U
1579 /*
1580 
1581  Field: UVIFG
1582  From..to bits: 6...6
1583  DefaultValue: 0x0
1584  Access type: read-only
1585  Description: Raw interrupt flag for MEMRESx underflow.
1586  This bit is reset to 0 by IIDX read or when corresponding bit in
1587  ICLR is set to 1.
1588 
1589  ENUMs:
1590  CLR: Interrupt is not pending.
1591  SET: Interrupt is pending.
1592 */
1593 #define ADC_INTEVT0MIS_UVIFG 0x00000040U
1594 #define ADC_INTEVT0MIS_UVIFG_M 0x00000040U
1595 #define ADC_INTEVT0MIS_UVIFG_S 6U
1596 #define ADC_INTEVT0MIS_UVIFG_CLR 0x00000000U
1597 #define ADC_INTEVT0MIS_UVIFG_SET 0x00000040U
1598 /*
1599 
1600  Field: MEMRESIFG0
1601  From..to bits: 8...8
1602  DefaultValue: 0x0
1603  Access type: read-only
1604  Description: Raw interrupt status for MEMRES0.
1605  This bit is set to 1 when MEMRES0 is loaded with a new
1606  conversion result.
1607  To clear this bit, corresponding bit in ICLR should be set to 11
1608 
1609  ENUMs:
1610  CLR: No new data ready.
1611  SET: A new data is ready to be read.
1612 */
1613 #define ADC_INTEVT0MIS_MEMRESIFG0 0x00000100U
1614 #define ADC_INTEVT0MIS_MEMRESIFG0_M 0x00000100U
1615 #define ADC_INTEVT0MIS_MEMRESIFG0_S 8U
1616 #define ADC_INTEVT0MIS_MEMRESIFG0_CLR 0x00000000U
1617 #define ADC_INTEVT0MIS_MEMRESIFG0_SET 0x00000100U
1618 /*
1619 
1620  Field: MEMRESIFG1
1621  From..to bits: 9...9
1622  DefaultValue: 0x0
1623  Access type: read-only
1624  Description: Raw interrupt status for MEMRES1.
1625  This bit is set to 1 when MEMRES1 is loaded with a new
1626  conversion result.
1627  To clear this bit, corresponding bit in ICLR should be set to 1
1628 
1629  ENUMs:
1630  CLR: No new data ready.
1631  SET: A new data is ready to be read.
1632 */
1633 #define ADC_INTEVT0MIS_MEMRESIFG1 0x00000200U
1634 #define ADC_INTEVT0MIS_MEMRESIFG1_M 0x00000200U
1635 #define ADC_INTEVT0MIS_MEMRESIFG1_S 9U
1636 #define ADC_INTEVT0MIS_MEMRESIFG1_CLR 0x00000000U
1637 #define ADC_INTEVT0MIS_MEMRESIFG1_SET 0x00000200U
1638 /*
1639 
1640  Field: MEMRESIFG2
1641  From..to bits: 10...10
1642  DefaultValue: 0x0
1643  Access type: read-only
1644  Description: Raw interrupt status for MEMRES2.
1645  This bit is set to 1 when MEMRES2 is loaded with a new
1646  conversion result.
1647  To clear this bit, corresponding bit in ICLR should be set to 1
1648 
1649  ENUMs:
1650  CLR: No new data ready.
1651  SET: A new data is ready to be read.
1652 */
1653 #define ADC_INTEVT0MIS_MEMRESIFG2 0x00000400U
1654 #define ADC_INTEVT0MIS_MEMRESIFG2_M 0x00000400U
1655 #define ADC_INTEVT0MIS_MEMRESIFG2_S 10U
1656 #define ADC_INTEVT0MIS_MEMRESIFG2_CLR 0x00000000U
1657 #define ADC_INTEVT0MIS_MEMRESIFG2_SET 0x00000400U
1658 /*
1659 
1660  Field: MEMRESIFG3
1661  From..to bits: 11...11
1662  DefaultValue: 0x0
1663  Access type: read-only
1664  Description: Raw interrupt status for MEMRES3.
1665  This bit is set to 1 when MEMRES3 is loaded with a new
1666  conversion result.
1667  To clear this bit, corresponding bit in ICLR should be set to 1
1668 
1669  ENUMs:
1670  CLR: No new data ready.
1671  SET: A new data is ready to be read.
1672 */
1673 #define ADC_INTEVT0MIS_MEMRESIFG3 0x00000800U
1674 #define ADC_INTEVT0MIS_MEMRESIFG3_M 0x00000800U
1675 #define ADC_INTEVT0MIS_MEMRESIFG3_S 11U
1676 #define ADC_INTEVT0MIS_MEMRESIFG3_CLR 0x00000000U
1677 #define ADC_INTEVT0MIS_MEMRESIFG3_SET 0x00000800U
1678 /*
1679 
1680  Field: MEMRESIFG4
1681  From..to bits: 12...12
1682  DefaultValue: 0x0
1683  Access type: read-only
1684  Description: Raw interrupt status for MEMRES4.
1685  This bit is set to 1 when MEMRES4 is loaded with a new
1686  conversion result.
1687  To clear this bit, corresponding bit in ICLR should be set to 1
1688 
1689  ENUMs:
1690  CLR: No new data ready.
1691  SET: A new data is ready to be read.
1692 */
1693 #define ADC_INTEVT0MIS_MEMRESIFG4 0x00001000U
1694 #define ADC_INTEVT0MIS_MEMRESIFG4_M 0x00001000U
1695 #define ADC_INTEVT0MIS_MEMRESIFG4_S 12U
1696 #define ADC_INTEVT0MIS_MEMRESIFG4_CLR 0x00000000U
1697 #define ADC_INTEVT0MIS_MEMRESIFG4_SET 0x00001000U
1698 /*
1699 
1700  Field: MEMRESIFG5
1701  From..to bits: 13...13
1702  DefaultValue: 0x0
1703  Access type: read-only
1704  Description: Raw interrupt status for MEMRES5.
1705  This bit is set to 1 when MEMRES5 is loaded with a new
1706  conversion result.
1707  To clear this bit, corresponding bit in ICLR should be set to 1
1708 
1709  ENUMs:
1710  CLR: No new data ready.
1711  SET: A new data is ready to be read.
1712 */
1713 #define ADC_INTEVT0MIS_MEMRESIFG5 0x00002000U
1714 #define ADC_INTEVT0MIS_MEMRESIFG5_M 0x00002000U
1715 #define ADC_INTEVT0MIS_MEMRESIFG5_S 13U
1716 #define ADC_INTEVT0MIS_MEMRESIFG5_CLR 0x00000000U
1717 #define ADC_INTEVT0MIS_MEMRESIFG5_SET 0x00002000U
1718 /*
1719 
1720  Field: MEMRESIFG6
1721  From..to bits: 14...14
1722  DefaultValue: 0x0
1723  Access type: read-only
1724  Description: Raw interrupt status for MEMRES6.
1725  This bit is set to 1 when MEMRES6 is loaded with a new
1726  conversion result.
1727  To clear this bit, corresponding bit in ICLR should be set to 1
1728 
1729  ENUMs:
1730  CLR: No new data ready.
1731  SET: A new data is ready to be read.
1732 */
1733 #define ADC_INTEVT0MIS_MEMRESIFG6 0x00004000U
1734 #define ADC_INTEVT0MIS_MEMRESIFG6_M 0x00004000U
1735 #define ADC_INTEVT0MIS_MEMRESIFG6_S 14U
1736 #define ADC_INTEVT0MIS_MEMRESIFG6_CLR 0x00000000U
1737 #define ADC_INTEVT0MIS_MEMRESIFG6_SET 0x00004000U
1738 /*
1739 
1740  Field: MEMRESIFG7
1741  From..to bits: 15...15
1742  DefaultValue: 0x0
1743  Access type: read-only
1744  Description: Raw interrupt status for MEMRES7.
1745  This bit is set to 1 when MEMRES7 is loaded with a new
1746  conversion result.
1747  To clear this bit, corresponding bit in ICLR should be set to 1
1748 
1749  ENUMs:
1750  CLR: No new data ready.
1751  SET: A new data is ready to be read.
1752 */
1753 #define ADC_INTEVT0MIS_MEMRESIFG7 0x00008000U
1754 #define ADC_INTEVT0MIS_MEMRESIFG7_M 0x00008000U
1755 #define ADC_INTEVT0MIS_MEMRESIFG7_S 15U
1756 #define ADC_INTEVT0MIS_MEMRESIFG7_CLR 0x00000000U
1757 #define ADC_INTEVT0MIS_MEMRESIFG7_SET 0x00008000U
1758 /*
1759 
1760  Field: MEMRESIFG8
1761  From..to bits: 16...16
1762  DefaultValue: 0x0
1763  Access type: read-only
1764  Description: Raw interrupt status for MEMRES8.
1765  This bit is set to 1 when MEMRES8 is loaded with a new
1766  conversion result.
1767  To clear this bit, corresponding bit in ICLR should be set to 1
1768 
1769  ENUMs:
1770  CLR: No new data ready.
1771  SET: A new data is ready to be read.
1772 */
1773 #define ADC_INTEVT0MIS_MEMRESIFG8 0x00010000U
1774 #define ADC_INTEVT0MIS_MEMRESIFG8_M 0x00010000U
1775 #define ADC_INTEVT0MIS_MEMRESIFG8_S 16U
1776 #define ADC_INTEVT0MIS_MEMRESIFG8_CLR 0x00000000U
1777 #define ADC_INTEVT0MIS_MEMRESIFG8_SET 0x00010000U
1778 /*
1779 
1780  Field: MEMRESIFG9
1781  From..to bits: 17...17
1782  DefaultValue: 0x0
1783  Access type: read-only
1784  Description: Raw interrupt status for MEMRES9.
1785  This bit is set to 1 when MEMRES9 is loaded with a new
1786  conversion result.
1787  To clear this bit, corresponding bit in ICLR should be set to 1
1788 
1789  ENUMs:
1790  CLR: No new data ready.
1791  SET: A new data is ready to be read.
1792 */
1793 #define ADC_INTEVT0MIS_MEMRESIFG9 0x00020000U
1794 #define ADC_INTEVT0MIS_MEMRESIFG9_M 0x00020000U
1795 #define ADC_INTEVT0MIS_MEMRESIFG9_S 17U
1796 #define ADC_INTEVT0MIS_MEMRESIFG9_CLR 0x00000000U
1797 #define ADC_INTEVT0MIS_MEMRESIFG9_SET 0x00020000U
1798 /*
1799 
1800  Field: MEMRESIFG10
1801  From..to bits: 18...18
1802  DefaultValue: 0x0
1803  Access type: read-only
1804  Description: Raw interrupt status for MEMRES10.
1805  This bit is set to 1 when MEMRES10 is loaded with a new
1806  conversion result.
1807  To clear this bit, corresponding bit in ICLR should be set to 1
1808 
1809  ENUMs:
1810  CLR: No new data ready.
1811  SET: A new data is ready to be read.
1812 */
1813 #define ADC_INTEVT0MIS_MEMRESIFG10 0x00040000U
1814 #define ADC_INTEVT0MIS_MEMRESIFG10_M 0x00040000U
1815 #define ADC_INTEVT0MIS_MEMRESIFG10_S 18U
1816 #define ADC_INTEVT0MIS_MEMRESIFG10_CLR 0x00000000U
1817 #define ADC_INTEVT0MIS_MEMRESIFG10_SET 0x00040000U
1818 /*
1819 
1820  Field: MEMRESIFG11
1821  From..to bits: 19...19
1822  DefaultValue: 0x0
1823  Access type: read-only
1824  Description: Raw interrupt status for MEMRES11.
1825  This bit is set to 1 when MEMRES11 is loaded with a new
1826  conversion result.
1827  To clear this bit, corresponding bit in ICLR should be set to 1
1828 
1829  ENUMs:
1830  CLR: No new data ready.
1831  SET: A new data is ready to be read.
1832 */
1833 #define ADC_INTEVT0MIS_MEMRESIFG11 0x00080000U
1834 #define ADC_INTEVT0MIS_MEMRESIFG11_M 0x00080000U
1835 #define ADC_INTEVT0MIS_MEMRESIFG11_S 19U
1836 #define ADC_INTEVT0MIS_MEMRESIFG11_CLR 0x00000000U
1837 #define ADC_INTEVT0MIS_MEMRESIFG11_SET 0x00080000U
1838 /*
1839 
1840  Field: MEMRESIFG12
1841  From..to bits: 20...20
1842  DefaultValue: 0x0
1843  Access type: read-only
1844  Description: Raw interrupt status for MEMRES12.
1845  This bit is set to 1 when MEMRES12 is loaded with a new
1846  conversion result.
1847  To clear this bit, corresponding bit in ICLR should be set to 1
1848 
1849  ENUMs:
1850  CLR: No new data ready.
1851  SET: A new data is ready to be read.
1852 */
1853 #define ADC_INTEVT0MIS_MEMRESIFG12 0x00100000U
1854 #define ADC_INTEVT0MIS_MEMRESIFG12_M 0x00100000U
1855 #define ADC_INTEVT0MIS_MEMRESIFG12_S 20U
1856 #define ADC_INTEVT0MIS_MEMRESIFG12_CLR 0x00000000U
1857 #define ADC_INTEVT0MIS_MEMRESIFG12_SET 0x00100000U
1858 /*
1859 
1860  Field: MEMRESIFG13
1861  From..to bits: 21...21
1862  DefaultValue: 0x0
1863  Access type: read-only
1864  Description: Raw interrupt status for MEMRES13.
1865  This bit is set to 1 when MEMRES13 is loaded with a new
1866  conversion result.
1867  To clear this bit, corresponding bit in ICLR should be set to 1
1868 
1869  ENUMs:
1870  CLR: No new data ready.
1871  SET: A new data is ready to be read.
1872 */
1873 #define ADC_INTEVT0MIS_MEMRESIFG13 0x00200000U
1874 #define ADC_INTEVT0MIS_MEMRESIFG13_M 0x00200000U
1875 #define ADC_INTEVT0MIS_MEMRESIFG13_S 21U
1876 #define ADC_INTEVT0MIS_MEMRESIFG13_CLR 0x00000000U
1877 #define ADC_INTEVT0MIS_MEMRESIFG13_SET 0x00200000U
1878 /*
1879 
1880  Field: MEMRESIFG14
1881  From..to bits: 22...22
1882  DefaultValue: 0x0
1883  Access type: read-only
1884  Description: Raw interrupt status for MEMRES14.
1885  This bit is set to 1 when MEMRES14 is loaded with a new
1886  conversion result.
1887  To clear this bit, corresponding bit in ICLR should be set to 1
1888 
1889  ENUMs:
1890  CLR: No new data ready.
1891  SET: A new data is ready to be read.
1892 */
1893 #define ADC_INTEVT0MIS_MEMRESIFG14 0x00400000U
1894 #define ADC_INTEVT0MIS_MEMRESIFG14_M 0x00400000U
1895 #define ADC_INTEVT0MIS_MEMRESIFG14_S 22U
1896 #define ADC_INTEVT0MIS_MEMRESIFG14_CLR 0x00000000U
1897 #define ADC_INTEVT0MIS_MEMRESIFG14_SET 0x00400000U
1898 /*
1899 
1900  Field: MEMRESIFG15
1901  From..to bits: 23...23
1902  DefaultValue: 0x0
1903  Access type: read-only
1904  Description: Raw interrupt status for MEMRES15.
1905  This bit is set to 1 when MEMRES15 is loaded with a new
1906  conversion result.
1907  To clear this bit, corresponding bit in ICLR should be set to 1
1908 
1909  ENUMs:
1910  CLR: No new data ready.
1911  SET: A new data is ready to be read.
1912 */
1913 #define ADC_INTEVT0MIS_MEMRESIFG15 0x00800000U
1914 #define ADC_INTEVT0MIS_MEMRESIFG15_M 0x00800000U
1915 #define ADC_INTEVT0MIS_MEMRESIFG15_S 23U
1916 #define ADC_INTEVT0MIS_MEMRESIFG15_CLR 0x00000000U
1917 #define ADC_INTEVT0MIS_MEMRESIFG15_SET 0x00800000U
1918 
1919 
1920 /*-----------------------------------REGISTER------------------------------------
1921  Register name: INTEVT0SET
1922  Offset name: ADC_O_INTEVT0SET
1923  Relative address: 0x1040
1924  Description: INTERNAL EVENT 0 IRQ SET
1925 
1926  Interrupt set. Allows interrupts to be set by software (useful in diagnostics and safety checks). Writing a 1 to a bit in INT_EVENT0_ISET will set the event and therefore the related RIS bit also gets set. If the interrupt is enabled through the mask, then the corresponding MIS bit is also set.
1927  Default Value: 0x00000000
1928 
1929  Field: OVIFG
1930  From..to bits: 0...0
1931  DefaultValue: 0x0
1932  Access type: write-only
1933  Description: Raw interrupt flag for MEMRESx overflow.
1934  This bit is reset to 0 by IIDX read or when corresponding bit in
1935  ICLR_EX is set to 1.
1936 
1937  ENUMs:
1938  NO_EFFECT: Interrupt is not pending.
1939  SET: Interrupt is pending.
1940 */
1941 #define ADC_INTEVT0SET_OVIFG 0x00000001U
1942 #define ADC_INTEVT0SET_OVIFG_M 0x00000001U
1943 #define ADC_INTEVT0SET_OVIFG_S 0U
1944 #define ADC_INTEVT0SET_OVIFG_NO_EFFECT 0x00000000U
1945 #define ADC_INTEVT0SET_OVIFG_SET 0x00000001U
1946 /*
1947 
1948  Field: TOVIFG
1949  From..to bits: 1...1
1950  DefaultValue: 0x0
1951  Access type: write-only
1952  Description: Raw interrupt flag for sequence conversion timeout overflow.
1953  This bit is reset to 0 by IIDX read or when corresponding bit in
1954  ICLR_EX is set to 1.
1955 
1956  ENUMs:
1957  NO_EFFECT: Interrupt is not pending.
1958  SET: Interrupt is pending.
1959 */
1960 #define ADC_INTEVT0SET_TOVIFG 0x00000002U
1961 #define ADC_INTEVT0SET_TOVIFG_M 0x00000002U
1962 #define ADC_INTEVT0SET_TOVIFG_S 1U
1963 #define ADC_INTEVT0SET_TOVIFG_NO_EFFECT 0x00000000U
1964 #define ADC_INTEVT0SET_TOVIFG_SET 0x00000002U
1965 /*
1966 
1967  Field: HIFG
1968  From..to bits: 2...2
1969  DefaultValue: 0x0
1970  Access type: write-only
1971  Description: HIGH FG
1972 
1973  Raw interrupt flag for the MEMRESx result register being higher
1974  than the WCHIGHx threshold of the window comparator.
1975  This bit is reset to 0 by IIDX read or when corresponding bit in
1976  ICLR_EX is set to 1.
1977 
1978  ENUMs:
1979  NO_EFFECT: Interrupt is not pending.
1980  SET: Interrupt is pending.
1981 */
1982 #define ADC_INTEVT0SET_HIFG 0x00000004U
1983 #define ADC_INTEVT0SET_HIFG_M 0x00000004U
1984 #define ADC_INTEVT0SET_HIFG_S 2U
1985 #define ADC_INTEVT0SET_HIFG_NO_EFFECT 0x00000000U
1986 #define ADC_INTEVT0SET_HIFG_SET 0x00000004U
1987 /*
1988 
1989  Field: LOFG
1990  From..to bits: 3...3
1991  DefaultValue: 0x0
1992  Access type: write-only
1993  Description: LOW FG
1994 
1995  Raw interrupt flag for the MEMRESx result register being below
1996  than the WCLOWx threshold of the window comparator.
1997  This bit is reset to 0 by IIDX read or when corresponding bit in
1998  ICLR_EX is set to 1.
1999 
2000  ENUMs:
2001  NO_EFFECT: Interrupt is not pending.
2002  SET: Interrupt is pending.
2003 */
2004 #define ADC_INTEVT0SET_LOFG 0x00000008U
2005 #define ADC_INTEVT0SET_LOFG_M 0x00000008U
2006 #define ADC_INTEVT0SET_LOFG_S 3U
2007 #define ADC_INTEVT0SET_LOFG_NO_EFFECT 0x00000000U
2008 #define ADC_INTEVT0SET_LOFG_SET 0x00000008U
2009 /*
2010 
2011  Field: INIFG
2012  From..to bits: 4...4
2013  DefaultValue: 0x0
2014  Access type: write-only
2015  Description: Mask INIFG in MIS_EX register.
2016 
2017  ENUMs:
2018  NO_EFFECT: Interrupt is not pending.
2019  SET: Interrupt is pending.
2020 */
2021 #define ADC_INTEVT0SET_INIFG 0x00000010U
2022 #define ADC_INTEVT0SET_INIFG_M 0x00000010U
2023 #define ADC_INTEVT0SET_INIFG_S 4U
2024 #define ADC_INTEVT0SET_INIFG_NO_EFFECT 0x00000000U
2025 #define ADC_INTEVT0SET_INIFG_SET 0x00000010U
2026 /*
2027 
2028  Field: DMADONE
2029  From..to bits: 5...5
2030  DefaultValue: 0x0
2031  Access type: write-only
2032  Description: Raw interrupt flag for DMADONE.
2033  This bit is reset to 0 by IIDX read or when corresponding bit in
2034  ICLR_EX is set to 1.
2035 
2036  ENUMs:
2037  NO_EFFECT: Interrupt is not pending.
2038  SET: Interrupt is pending.
2039 */
2040 #define ADC_INTEVT0SET_DMADONE 0x00000020U
2041 #define ADC_INTEVT0SET_DMADONE_M 0x00000020U
2042 #define ADC_INTEVT0SET_DMADONE_S 5U
2043 #define ADC_INTEVT0SET_DMADONE_NO_EFFECT 0x00000000U
2044 #define ADC_INTEVT0SET_DMADONE_SET 0x00000020U
2045 /*
2046 
2047  Field: UVIFG
2048  From..to bits: 6...6
2049  DefaultValue: 0x0
2050  Access type: write-only
2051  Description: Raw interrupt flag for MEMRESx underflow.
2052  This bit is reset to 0 by IIDX read or when corresponding bit in
2053  ICLR_EX is set to 1.
2054 
2055  ENUMs:
2056  NO_EFFECT: Interrupt is not pending.
2057  SET: Interrupt is pending.
2058 */
2059 #define ADC_INTEVT0SET_UVIFG 0x00000040U
2060 #define ADC_INTEVT0SET_UVIFG_M 0x00000040U
2061 #define ADC_INTEVT0SET_UVIFG_S 6U
2062 #define ADC_INTEVT0SET_UVIFG_NO_EFFECT 0x00000000U
2063 #define ADC_INTEVT0SET_UVIFG_SET 0x00000040U
2064 /*
2065 
2066  Field: MEMRESIFG0
2067  From..to bits: 8...8
2068  DefaultValue: 0x0
2069  Access type: write-only
2070  Description: Raw interrupt status for MEMRES0.
2071  This bit is set to 1 when MEMRES0 is loaded with a new
2072  conversion result.
2073  To clear this bit, corresponding bit in ICLR should be set to 1
2074 
2075  ENUMs:
2076  NO_EFFECT: No new data ready.
2077  SET: A new data is ready to be read.
2078 */
2079 #define ADC_INTEVT0SET_MEMRESIFG0 0x00000100U
2080 #define ADC_INTEVT0SET_MEMRESIFG0_M 0x00000100U
2081 #define ADC_INTEVT0SET_MEMRESIFG0_S 8U
2082 #define ADC_INTEVT0SET_MEMRESIFG0_NO_EFFECT 0x00000000U
2083 #define ADC_INTEVT0SET_MEMRESIFG0_SET 0x00000100U
2084 /*
2085 
2086  Field: MEMRESIFG1
2087  From..to bits: 9...9
2088  DefaultValue: 0x0
2089  Access type: write-only
2090  Description: Raw interrupt status for MEMRES1.
2091  This bit is set to 1 when MEMRES1 is loaded with a new
2092  conversion result.
2093  To clear this bit, corresponding bit in ICLR should be set to 1
2094 
2095  ENUMs:
2096  NO_EFFECT: No new data ready.
2097  SET: A new data is ready to be read.
2098 */
2099 #define ADC_INTEVT0SET_MEMRESIFG1 0x00000200U
2100 #define ADC_INTEVT0SET_MEMRESIFG1_M 0x00000200U
2101 #define ADC_INTEVT0SET_MEMRESIFG1_S 9U
2102 #define ADC_INTEVT0SET_MEMRESIFG1_NO_EFFECT 0x00000000U
2103 #define ADC_INTEVT0SET_MEMRESIFG1_SET 0x00000200U
2104 /*
2105 
2106  Field: MEMRESIFG2
2107  From..to bits: 10...10
2108  DefaultValue: 0x0
2109  Access type: write-only
2110  Description: Raw interrupt status for MEMRES2.
2111  This bit is set to 1 when MEMRES2 is loaded with a new
2112  conversion result.
2113  To clear this bit, corresponding bit in ICLR should be set to 1
2114 
2115  ENUMs:
2116  NO_EFFECT: No new data ready.
2117  SET: A new data is ready to be read.
2118 */
2119 #define ADC_INTEVT0SET_MEMRESIFG2 0x00000400U
2120 #define ADC_INTEVT0SET_MEMRESIFG2_M 0x00000400U
2121 #define ADC_INTEVT0SET_MEMRESIFG2_S 10U
2122 #define ADC_INTEVT0SET_MEMRESIFG2_NO_EFFECT 0x00000000U
2123 #define ADC_INTEVT0SET_MEMRESIFG2_SET 0x00000400U
2124 /*
2125 
2126  Field: MEMRESIFG3
2127  From..to bits: 11...11
2128  DefaultValue: 0x0
2129  Access type: write-only
2130  Description: Raw interrupt status for MEMRES3.
2131  This bit is set to 1 when MEMRES3 is loaded with a new
2132  conversion result.
2133  To clear this bit, corresponding bit in ICLR should be set to 1
2134 
2135  ENUMs:
2136  NO_EFFECT: No new data ready.
2137  SET: A new data is ready to be read.
2138 */
2139 #define ADC_INTEVT0SET_MEMRESIFG3 0x00000800U
2140 #define ADC_INTEVT0SET_MEMRESIFG3_M 0x00000800U
2141 #define ADC_INTEVT0SET_MEMRESIFG3_S 11U
2142 #define ADC_INTEVT0SET_MEMRESIFG3_NO_EFFECT 0x00000000U
2143 #define ADC_INTEVT0SET_MEMRESIFG3_SET 0x00000800U
2144 /*
2145 
2146  Field: MEMRESIFG4
2147  From..to bits: 12...12
2148  DefaultValue: 0x0
2149  Access type: write-only
2150  Description: Raw interrupt status for MEMRES4.
2151  This bit is set to 1 when MEMRES4 is loaded with a new
2152  conversion result.
2153  To clear this bit, corresponding bit in ICLR should be set to 1
2154 
2155  ENUMs:
2156  NO_EFFECT: No new data ready.
2157  SET: A new data is ready to be read.
2158 */
2159 #define ADC_INTEVT0SET_MEMRESIFG4 0x00001000U
2160 #define ADC_INTEVT0SET_MEMRESIFG4_M 0x00001000U
2161 #define ADC_INTEVT0SET_MEMRESIFG4_S 12U
2162 #define ADC_INTEVT0SET_MEMRESIFG4_NO_EFFECT 0x00000000U
2163 #define ADC_INTEVT0SET_MEMRESIFG4_SET 0x00001000U
2164 /*
2165 
2166  Field: MEMRESIFG5
2167  From..to bits: 13...13
2168  DefaultValue: 0x0
2169  Access type: write-only
2170  Description: Raw interrupt status for MEMRES5.
2171  This bit is set to 1 when MEMRES5 is loaded with a new
2172  conversion result.
2173  To clear this bit, corresponding bit in ICLR should be set to 1
2174 
2175  ENUMs:
2176  NO_EFFECT: No new data ready.
2177  SET: A new data is ready to be read.
2178 */
2179 #define ADC_INTEVT0SET_MEMRESIFG5 0x00002000U
2180 #define ADC_INTEVT0SET_MEMRESIFG5_M 0x00002000U
2181 #define ADC_INTEVT0SET_MEMRESIFG5_S 13U
2182 #define ADC_INTEVT0SET_MEMRESIFG5_NO_EFFECT 0x00000000U
2183 #define ADC_INTEVT0SET_MEMRESIFG5_SET 0x00002000U
2184 /*
2185 
2186  Field: MEMRESIFG6
2187  From..to bits: 14...14
2188  DefaultValue: 0x0
2189  Access type: write-only
2190  Description: Raw interrupt status for MEMRES6.
2191  This bit is set to 1 when MEMRES6 is loaded with a new
2192  conversion result.
2193  To clear this bit, corresponding bit in ICLR should be set to 1
2194 
2195  ENUMs:
2196  NO_EFFECT: No new data ready.
2197  SET: A new data is ready to be read.
2198 */
2199 #define ADC_INTEVT0SET_MEMRESIFG6 0x00004000U
2200 #define ADC_INTEVT0SET_MEMRESIFG6_M 0x00004000U
2201 #define ADC_INTEVT0SET_MEMRESIFG6_S 14U
2202 #define ADC_INTEVT0SET_MEMRESIFG6_NO_EFFECT 0x00000000U
2203 #define ADC_INTEVT0SET_MEMRESIFG6_SET 0x00004000U
2204 /*
2205 
2206  Field: MEMRESIFG7
2207  From..to bits: 15...15
2208  DefaultValue: 0x0
2209  Access type: write-only
2210  Description: Raw interrupt status for MEMRES7.
2211  This bit is set to 1 when MEMRES7 is loaded with a new
2212  conversion result.
2213  To clear this bit, corresponding bit in ICLR should be set to 1
2214 
2215  ENUMs:
2216  NO_EFFECT: No new data ready.
2217  SET: A new data is ready to be read.
2218 */
2219 #define ADC_INTEVT0SET_MEMRESIFG7 0x00008000U
2220 #define ADC_INTEVT0SET_MEMRESIFG7_M 0x00008000U
2221 #define ADC_INTEVT0SET_MEMRESIFG7_S 15U
2222 #define ADC_INTEVT0SET_MEMRESIFG7_NO_EFFECT 0x00000000U
2223 #define ADC_INTEVT0SET_MEMRESIFG7_SET 0x00008000U
2224 /*
2225 
2226  Field: MEMRESIFG8
2227  From..to bits: 16...16
2228  DefaultValue: 0x0
2229  Access type: write-only
2230  Description: Raw interrupt status for MEMRES8.
2231  This bit is set to 1 when MEMRES8 is loaded with a new
2232  conversion result.
2233  To clear this bit, corresponding bit in ICLR should be set to 1
2234 
2235  ENUMs:
2236  NO_EFFECT: No new data ready.
2237  SET: A new data is ready to be read.
2238 */
2239 #define ADC_INTEVT0SET_MEMRESIFG8 0x00010000U
2240 #define ADC_INTEVT0SET_MEMRESIFG8_M 0x00010000U
2241 #define ADC_INTEVT0SET_MEMRESIFG8_S 16U
2242 #define ADC_INTEVT0SET_MEMRESIFG8_NO_EFFECT 0x00000000U
2243 #define ADC_INTEVT0SET_MEMRESIFG8_SET 0x00010000U
2244 /*
2245 
2246  Field: MEMRESIFG9
2247  From..to bits: 17...17
2248  DefaultValue: 0x0
2249  Access type: write-only
2250  Description: Raw interrupt status for MEMRES9.
2251  This bit is set to 1 when MEMRES9 is loaded with a new
2252  conversion result.
2253  To clear this bit, corresponding bit in ICLR should be set to 1
2254 
2255  ENUMs:
2256  NO_EFFECT: No new data ready.
2257  SET: A new data is ready to be read.
2258 */
2259 #define ADC_INTEVT0SET_MEMRESIFG9 0x00020000U
2260 #define ADC_INTEVT0SET_MEMRESIFG9_M 0x00020000U
2261 #define ADC_INTEVT0SET_MEMRESIFG9_S 17U
2262 #define ADC_INTEVT0SET_MEMRESIFG9_NO_EFFECT 0x00000000U
2263 #define ADC_INTEVT0SET_MEMRESIFG9_SET 0x00020000U
2264 /*
2265 
2266  Field: MEMRESIFG10
2267  From..to bits: 18...18
2268  DefaultValue: 0x0
2269  Access type: write-only
2270  Description: Raw interrupt status for MEMRES10.
2271  This bit is set to 1 when MEMRES10 is loaded with a new
2272  conversion result.
2273  To clear this bit, corresponding bit in ICLR should be set to 1
2274 
2275  ENUMs:
2276  NO_EFFECT: No new data ready.
2277  SET: A new data is ready to be read.
2278 */
2279 #define ADC_INTEVT0SET_MEMRESIFG10 0x00040000U
2280 #define ADC_INTEVT0SET_MEMRESIFG10_M 0x00040000U
2281 #define ADC_INTEVT0SET_MEMRESIFG10_S 18U
2282 #define ADC_INTEVT0SET_MEMRESIFG10_NO_EFFECT 0x00000000U
2283 #define ADC_INTEVT0SET_MEMRESIFG10_SET 0x00040000U
2284 /*
2285 
2286  Field: MEMRESIFG11
2287  From..to bits: 19...19
2288  DefaultValue: 0x0
2289  Access type: write-only
2290  Description: Raw interrupt status for MEMRES11.
2291  This bit is set to 1 when MEMRES11 is loaded with a new
2292  conversion result.
2293  To clear this bit, corresponding bit in ICLR should be set to 1
2294 
2295  ENUMs:
2296  NO_EFFECT: No new data ready.
2297  SET: A new data is ready to be read.
2298 */
2299 #define ADC_INTEVT0SET_MEMRESIFG11 0x00080000U
2300 #define ADC_INTEVT0SET_MEMRESIFG11_M 0x00080000U
2301 #define ADC_INTEVT0SET_MEMRESIFG11_S 19U
2302 #define ADC_INTEVT0SET_MEMRESIFG11_NO_EFFECT 0x00000000U
2303 #define ADC_INTEVT0SET_MEMRESIFG11_SET 0x00080000U
2304 /*
2305 
2306  Field: MEMRESIFG12
2307  From..to bits: 20...20
2308  DefaultValue: 0x0
2309  Access type: write-only
2310  Description: Raw interrupt status for MEMRES12.
2311  This bit is set to 1 when MEMRES12 is loaded with a new
2312  conversion result.
2313  To clear this bit, corresponding bit in ICLR should be set to 1
2314 
2315  ENUMs:
2316  NO_EFFECT: No new data ready.
2317  SET: A new data is ready to be read.
2318 */
2319 #define ADC_INTEVT0SET_MEMRESIFG12 0x00100000U
2320 #define ADC_INTEVT0SET_MEMRESIFG12_M 0x00100000U
2321 #define ADC_INTEVT0SET_MEMRESIFG12_S 20U
2322 #define ADC_INTEVT0SET_MEMRESIFG12_NO_EFFECT 0x00000000U
2323 #define ADC_INTEVT0SET_MEMRESIFG12_SET 0x00100000U
2324 /*
2325 
2326  Field: MEMRESIFG13
2327  From..to bits: 21...21
2328  DefaultValue: 0x0
2329  Access type: write-only
2330  Description: Raw interrupt status for MEMRES13.
2331  This bit is set to 1 when MEMRES13 is loaded with a new
2332  conversion result.
2333  To clear this bit, corresponding bit in ICLR should be set to 1
2334 
2335  ENUMs:
2336  NO_EFFECT: No new data ready.
2337  SET: A new data is ready to be read.
2338 */
2339 #define ADC_INTEVT0SET_MEMRESIFG13 0x00200000U
2340 #define ADC_INTEVT0SET_MEMRESIFG13_M 0x00200000U
2341 #define ADC_INTEVT0SET_MEMRESIFG13_S 21U
2342 #define ADC_INTEVT0SET_MEMRESIFG13_NO_EFFECT 0x00000000U
2343 #define ADC_INTEVT0SET_MEMRESIFG13_SET 0x00200000U
2344 /*
2345 
2346  Field: MEMRESIFG14
2347  From..to bits: 22...22
2348  DefaultValue: 0x0
2349  Access type: write-only
2350  Description: Raw interrupt status for MEMRES14.
2351  This bit is set to 1 when MEMRES14 is loaded with a new
2352  conversion result.
2353  To clear this bit, corresponding bit in ICLR should be set to 1
2354 
2355  ENUMs:
2356  NO_EFFECT: No new data ready.
2357  SET: A new data is ready to be read.
2358 */
2359 #define ADC_INTEVT0SET_MEMRESIFG14 0x00400000U
2360 #define ADC_INTEVT0SET_MEMRESIFG14_M 0x00400000U
2361 #define ADC_INTEVT0SET_MEMRESIFG14_S 22U
2362 #define ADC_INTEVT0SET_MEMRESIFG14_NO_EFFECT 0x00000000U
2363 #define ADC_INTEVT0SET_MEMRESIFG14_SET 0x00400000U
2364 /*
2365 
2366  Field: MEMRESIFG15
2367  From..to bits: 23...23
2368  DefaultValue: 0x0
2369  Access type: write-only
2370  Description: Raw interrupt status for MEMRES15.
2371  This bit is set to 1 when MEMRES15 is loaded with a new
2372  conversion result.
2373  To clear this bit, corresponding bit in ICLR should be set to 1
2374 
2375  ENUMs:
2376  NO_EFFECT: No new data ready.
2377  SET: A new data is ready to be read.
2378 */
2379 #define ADC_INTEVT0SET_MEMRESIFG15 0x00800000U
2380 #define ADC_INTEVT0SET_MEMRESIFG15_M 0x00800000U
2381 #define ADC_INTEVT0SET_MEMRESIFG15_S 23U
2382 #define ADC_INTEVT0SET_MEMRESIFG15_NO_EFFECT 0x00000000U
2383 #define ADC_INTEVT0SET_MEMRESIFG15_SET 0x00800000U
2384 
2385 
2386 /*-----------------------------------REGISTER------------------------------------
2387  Register name: INTEVT0CLR
2388  Offset name: ADC_O_INTEVT0CLR
2389  Relative address: 0x1048
2390  Description: INTERNAL EVENT 0 IRQ CLEAR
2391 
2392  Interrupt clear. Write a 1 to clear corresponding Interrupt.
2393  Default Value: 0x00000000
2394 
2395  Field: OVIFG
2396  From..to bits: 0...0
2397  DefaultValue: 0x0
2398  Access type: write-only
2399  Description: Raw interrupt flag for MEMRESx overflow.
2400  This bit is reset to 0 by IIDX read or when corresponding bit in
2401  ICLR_EX is set to 1.
2402 
2403  ENUMs:
2404  NO_EFFECT: Interrupt is not pending.
2405  CLR: Interrupt is pending.
2406 */
2407 #define ADC_INTEVT0CLR_OVIFG 0x00000001U
2408 #define ADC_INTEVT0CLR_OVIFG_M 0x00000001U
2409 #define ADC_INTEVT0CLR_OVIFG_S 0U
2410 #define ADC_INTEVT0CLR_OVIFG_NO_EFFECT 0x00000000U
2411 #define ADC_INTEVT0CLR_OVIFG_CLR 0x00000001U
2412 /*
2413 
2414  Field: TOVIFG
2415  From..to bits: 1...1
2416  DefaultValue: 0x0
2417  Access type: write-only
2418  Description: Raw interrupt flag for sequence conversion timeout overflow.
2419  This bit is reset to 0 by IIDX read or when corresponding bit in
2420  ICLR_EX is set to 1.
2421 
2422  ENUMs:
2423  NO_EFFECT: Interrupt is not pending.
2424  CLR: Interrupt is pending.
2425 */
2426 #define ADC_INTEVT0CLR_TOVIFG 0x00000002U
2427 #define ADC_INTEVT0CLR_TOVIFG_M 0x00000002U
2428 #define ADC_INTEVT0CLR_TOVIFG_S 1U
2429 #define ADC_INTEVT0CLR_TOVIFG_NO_EFFECT 0x00000000U
2430 #define ADC_INTEVT0CLR_TOVIFG_CLR 0x00000002U
2431 /*
2432 
2433  Field: HIFG
2434  From..to bits: 2...2
2435  DefaultValue: 0x0
2436  Access type: write-only
2437  Description: HIGH FG
2438 
2439  Raw interrupt flag for the MEMRESx result register being higher
2440  than the WCHIGHx threshold of the window comparator.
2441  This bit is reset to 0 by IIDX read or when corresponding bit in
2442  ICLR_EX is set to 1.
2443 
2444  ENUMs:
2445  NO_EFFECT: Interrupt is not pending.
2446  CLR: Interrupt is pending.
2447 */
2448 #define ADC_INTEVT0CLR_HIFG 0x00000004U
2449 #define ADC_INTEVT0CLR_HIFG_M 0x00000004U
2450 #define ADC_INTEVT0CLR_HIFG_S 2U
2451 #define ADC_INTEVT0CLR_HIFG_NO_EFFECT 0x00000000U
2452 #define ADC_INTEVT0CLR_HIFG_CLR 0x00000004U
2453 /*
2454 
2455  Field: LOFG
2456  From..to bits: 3...3
2457  DefaultValue: 0x0
2458  Access type: write-only
2459  Description: LOW FG
2460 
2461  Raw interrupt flag for the MEMRESx result register being below
2462  than the WCLOWx threshold of the window comparator.
2463  This bit is reset to 0 by IIDX read or when corresponding bit in
2464  ICLR_EX is set to 1.
2465 
2466  ENUMs:
2467  NO_EFFECT: Interrupt is not pending.
2468  CLR: Interrupt is pending.
2469 */
2470 #define ADC_INTEVT0CLR_LOFG 0x00000008U
2471 #define ADC_INTEVT0CLR_LOFG_M 0x00000008U
2472 #define ADC_INTEVT0CLR_LOFG_S 3U
2473 #define ADC_INTEVT0CLR_LOFG_NO_EFFECT 0x00000000U
2474 #define ADC_INTEVT0CLR_LOFG_CLR 0x00000008U
2475 /*
2476 
2477  Field: INIFG
2478  From..to bits: 4...4
2479  DefaultValue: 0x0
2480  Access type: write-only
2481  Description: Mask INIFG in MIS_EX register.
2482 
2483  ENUMs:
2484  NO_EFFECT: Interrupt is not pending.
2485  CLR: Interrupt is pending.
2486 */
2487 #define ADC_INTEVT0CLR_INIFG 0x00000010U
2488 #define ADC_INTEVT0CLR_INIFG_M 0x00000010U
2489 #define ADC_INTEVT0CLR_INIFG_S 4U
2490 #define ADC_INTEVT0CLR_INIFG_NO_EFFECT 0x00000000U
2491 #define ADC_INTEVT0CLR_INIFG_CLR 0x00000010U
2492 /*
2493 
2494  Field: DMADONE
2495  From..to bits: 5...5
2496  DefaultValue: 0x0
2497  Access type: write-only
2498  Description: Raw interrupt flag for DMADONE.
2499  This bit is reset to 0 by IIDX read or when corresponding bit in
2500  ICLR_EX is set to 1.
2501 
2502  ENUMs:
2503  NO_EFFECT: Interrupt is not pending.
2504  CLR: Interrupt is pending.
2505 */
2506 #define ADC_INTEVT0CLR_DMADONE 0x00000020U
2507 #define ADC_INTEVT0CLR_DMADONE_M 0x00000020U
2508 #define ADC_INTEVT0CLR_DMADONE_S 5U
2509 #define ADC_INTEVT0CLR_DMADONE_NO_EFFECT 0x00000000U
2510 #define ADC_INTEVT0CLR_DMADONE_CLR 0x00000020U
2511 /*
2512 
2513  Field: UVIFG
2514  From..to bits: 6...6
2515  DefaultValue: 0x0
2516  Access type: write-only
2517  Description: Raw interrupt flag for MEMRESx underflow.
2518  This bit is reset to 0 by IIDX read or when corresponding bit in
2519  ICLR_EX is set to 1.
2520 
2521  ENUMs:
2522  NO_EFFECT: Interrupt is not pending.
2523  CLR: Interrupt is pending.
2524 */
2525 #define ADC_INTEVT0CLR_UVIFG 0x00000040U
2526 #define ADC_INTEVT0CLR_UVIFG_M 0x00000040U
2527 #define ADC_INTEVT0CLR_UVIFG_S 6U
2528 #define ADC_INTEVT0CLR_UVIFG_NO_EFFECT 0x00000000U
2529 #define ADC_INTEVT0CLR_UVIFG_CLR 0x00000040U
2530 /*
2531 
2532  Field: MEMRESIFG0
2533  From..to bits: 8...8
2534  DefaultValue: 0x0
2535  Access type: write-only
2536  Description: Raw interrupt status for MEMRES0.
2537  This bit is set to 1 when MEMRES0 is loaded with a new
2538  conversion result.
2539  To clear this bit, corresponding bit in ICLR should be set to 1
2540 
2541  ENUMs:
2542  NO_EFFECT: No new data ready.
2543  CLR: A new data is ready to be read.
2544 */
2545 #define ADC_INTEVT0CLR_MEMRESIFG0 0x00000100U
2546 #define ADC_INTEVT0CLR_MEMRESIFG0_M 0x00000100U
2547 #define ADC_INTEVT0CLR_MEMRESIFG0_S 8U
2548 #define ADC_INTEVT0CLR_MEMRESIFG0_NO_EFFECT 0x00000000U
2549 #define ADC_INTEVT0CLR_MEMRESIFG0_CLR 0x00000100U
2550 /*
2551 
2552  Field: MEMRESIFG1
2553  From..to bits: 9...9
2554  DefaultValue: 0x0
2555  Access type: write-only
2556  Description: Raw interrupt status for MEMRES1.
2557  This bit is set to 1 when MEMRES1 is loaded with a new
2558  conversion result.
2559  To clear this bit, corresponding bit in ICLR should be set to 1
2560 
2561  ENUMs:
2562  NO_EFFECT: No new data ready.
2563  CLR: A new data is ready to be read.
2564 */
2565 #define ADC_INTEVT0CLR_MEMRESIFG1 0x00000200U
2566 #define ADC_INTEVT0CLR_MEMRESIFG1_M 0x00000200U
2567 #define ADC_INTEVT0CLR_MEMRESIFG1_S 9U
2568 #define ADC_INTEVT0CLR_MEMRESIFG1_NO_EFFECT 0x00000000U
2569 #define ADC_INTEVT0CLR_MEMRESIFG1_CLR 0x00000200U
2570 /*
2571 
2572  Field: MEMRESIFG2
2573  From..to bits: 10...10
2574  DefaultValue: 0x0
2575  Access type: write-only
2576  Description: Raw interrupt status for MEMRES2.
2577  This bit is set to 1 when MEMRES2 is loaded with a new
2578  conversion result.
2579  To clear this bit, corresponding bit in ICLR should be set to 1
2580 
2581  ENUMs:
2582  NO_EFFECT: No new data ready.
2583  CLR: A new data is ready to be read.
2584 */
2585 #define ADC_INTEVT0CLR_MEMRESIFG2 0x00000400U
2586 #define ADC_INTEVT0CLR_MEMRESIFG2_M 0x00000400U
2587 #define ADC_INTEVT0CLR_MEMRESIFG2_S 10U
2588 #define ADC_INTEVT0CLR_MEMRESIFG2_NO_EFFECT 0x00000000U
2589 #define ADC_INTEVT0CLR_MEMRESIFG2_CLR 0x00000400U
2590 /*
2591 
2592  Field: MEMRESIFG3
2593  From..to bits: 11...11
2594  DefaultValue: 0x0
2595  Access type: write-only
2596  Description: Raw interrupt status for MEMRES3.
2597  This bit is set to 1 when MEMRES3 is loaded with a new
2598  conversion result.
2599  To clear this bit, corresponding bit in ICLR should be set to 1
2600 
2601  ENUMs:
2602  NO_EFFECT: No new data ready.
2603  CLR: A new data is ready to be read.
2604 */
2605 #define ADC_INTEVT0CLR_MEMRESIFG3 0x00000800U
2606 #define ADC_INTEVT0CLR_MEMRESIFG3_M 0x00000800U
2607 #define ADC_INTEVT0CLR_MEMRESIFG3_S 11U
2608 #define ADC_INTEVT0CLR_MEMRESIFG3_NO_EFFECT 0x00000000U
2609 #define ADC_INTEVT0CLR_MEMRESIFG3_CLR 0x00000800U
2610 /*
2611 
2612  Field: MEMRESIFG4
2613  From..to bits: 12...12
2614  DefaultValue: 0x0
2615  Access type: write-only
2616  Description: Raw interrupt status for MEMRES4.
2617  This bit is set to 1 when MEMRES4 is loaded with a new
2618  conversion result.
2619  To clear this bit, corresponding bit in ICLR should be set to 1
2620 
2621  ENUMs:
2622  NO_EFFECT: No new data ready.
2623  CLR: A new data is ready to be read.
2624 */
2625 #define ADC_INTEVT0CLR_MEMRESIFG4 0x00001000U
2626 #define ADC_INTEVT0CLR_MEMRESIFG4_M 0x00001000U
2627 #define ADC_INTEVT0CLR_MEMRESIFG4_S 12U
2628 #define ADC_INTEVT0CLR_MEMRESIFG4_NO_EFFECT 0x00000000U
2629 #define ADC_INTEVT0CLR_MEMRESIFG4_CLR 0x00001000U
2630 /*
2631 
2632  Field: MEMRESIFG5
2633  From..to bits: 13...13
2634  DefaultValue: 0x0
2635  Access type: write-only
2636  Description: Raw interrupt status for MEMRES5.
2637  This bit is set to 1 when MEMRES5 is loaded with a new
2638  conversion result.
2639  To clear this bit, corresponding bit in ICLR should be set to 1
2640 
2641  ENUMs:
2642  NO_EFFECT: No new data ready.
2643  CLR: A new data is ready to be read.
2644 */
2645 #define ADC_INTEVT0CLR_MEMRESIFG5 0x00002000U
2646 #define ADC_INTEVT0CLR_MEMRESIFG5_M 0x00002000U
2647 #define ADC_INTEVT0CLR_MEMRESIFG5_S 13U
2648 #define ADC_INTEVT0CLR_MEMRESIFG5_NO_EFFECT 0x00000000U
2649 #define ADC_INTEVT0CLR_MEMRESIFG5_CLR 0x00002000U
2650 /*
2651 
2652  Field: MEMRESIFG6
2653  From..to bits: 14...14
2654  DefaultValue: 0x0
2655  Access type: write-only
2656  Description: Raw interrupt status for MEMRES6.
2657  This bit is set to 1 when MEMRES6 is loaded with a new
2658  conversion result.
2659  To clear this bit, corresponding bit in ICLR should be set to 1
2660 
2661  ENUMs:
2662  NO_EFFECT: No new data ready.
2663  CLR: A new data is ready to be read.
2664 */
2665 #define ADC_INTEVT0CLR_MEMRESIFG6 0x00004000U
2666 #define ADC_INTEVT0CLR_MEMRESIFG6_M 0x00004000U
2667 #define ADC_INTEVT0CLR_MEMRESIFG6_S 14U
2668 #define ADC_INTEVT0CLR_MEMRESIFG6_NO_EFFECT 0x00000000U
2669 #define ADC_INTEVT0CLR_MEMRESIFG6_CLR 0x00004000U
2670 /*
2671 
2672  Field: MEMRESIFG7
2673  From..to bits: 15...15
2674  DefaultValue: 0x0
2675  Access type: write-only
2676  Description: Raw interrupt status for MEMRES7.
2677  This bit is set to 1 when MEMRES7 is loaded with a new
2678  conversion result.
2679  To clear this bit, corresponding bit in ICLR should be set to 1
2680 
2681  ENUMs:
2682  NO_EFFECT: No new data ready.
2683  CLR: A new data is ready to be read.
2684 */
2685 #define ADC_INTEVT0CLR_MEMRESIFG7 0x00008000U
2686 #define ADC_INTEVT0CLR_MEMRESIFG7_M 0x00008000U
2687 #define ADC_INTEVT0CLR_MEMRESIFG7_S 15U
2688 #define ADC_INTEVT0CLR_MEMRESIFG7_NO_EFFECT 0x00000000U
2689 #define ADC_INTEVT0CLR_MEMRESIFG7_CLR 0x00008000U
2690 /*
2691 
2692  Field: MEMRESIFG8
2693  From..to bits: 16...16
2694  DefaultValue: 0x0
2695  Access type: write-only
2696  Description: Raw interrupt status for MEMRES8.
2697  This bit is set to 1 when MEMRES8 is loaded with a new
2698  conversion result.
2699  To clear this bit, corresponding bit in ICLR should be set to 1
2700 
2701  ENUMs:
2702  NO_EFFECT: No new data ready.
2703  CLR: A new data is ready to be read.
2704 */
2705 #define ADC_INTEVT0CLR_MEMRESIFG8 0x00010000U
2706 #define ADC_INTEVT0CLR_MEMRESIFG8_M 0x00010000U
2707 #define ADC_INTEVT0CLR_MEMRESIFG8_S 16U
2708 #define ADC_INTEVT0CLR_MEMRESIFG8_NO_EFFECT 0x00000000U
2709 #define ADC_INTEVT0CLR_MEMRESIFG8_CLR 0x00010000U
2710 /*
2711 
2712  Field: MEMRESIFG9
2713  From..to bits: 17...17
2714  DefaultValue: 0x0
2715  Access type: write-only
2716  Description: Raw interrupt status for MEMRES9.
2717  This bit is set to 1 when MEMRES9 is loaded with a new
2718  conversion result.
2719  To clear this bit, corresponding bit in ICLR should be set to 1
2720 
2721  ENUMs:
2722  NO_EFFECT: No new data ready.
2723  CLR: A new data is ready to be read.
2724 */
2725 #define ADC_INTEVT0CLR_MEMRESIFG9 0x00020000U
2726 #define ADC_INTEVT0CLR_MEMRESIFG9_M 0x00020000U
2727 #define ADC_INTEVT0CLR_MEMRESIFG9_S 17U
2728 #define ADC_INTEVT0CLR_MEMRESIFG9_NO_EFFECT 0x00000000U
2729 #define ADC_INTEVT0CLR_MEMRESIFG9_CLR 0x00020000U
2730 /*
2731 
2732  Field: MEMRESIFG10
2733  From..to bits: 18...18
2734  DefaultValue: 0x0
2735  Access type: write-only
2736  Description: Raw interrupt status for MEMRES10.
2737  This bit is set to 1 when MEMRES10 is loaded with a new
2738  conversion result.
2739  To clear this bit, corresponding bit in ICLR should be set to 1
2740 
2741  ENUMs:
2742  NO_EFFECT: No new data ready.
2743  CLR: A new data is ready to be read.
2744 */
2745 #define ADC_INTEVT0CLR_MEMRESIFG10 0x00040000U
2746 #define ADC_INTEVT0CLR_MEMRESIFG10_M 0x00040000U
2747 #define ADC_INTEVT0CLR_MEMRESIFG10_S 18U
2748 #define ADC_INTEVT0CLR_MEMRESIFG10_NO_EFFECT 0x00000000U
2749 #define ADC_INTEVT0CLR_MEMRESIFG10_CLR 0x00040000U
2750 /*
2751 
2752  Field: MEMRESIFG11
2753  From..to bits: 19...19
2754  DefaultValue: 0x0
2755  Access type: write-only
2756  Description: Raw interrupt status for MEMRES11.
2757  This bit is set to 1 when MEMRES11 is loaded with a new
2758  conversion result.
2759  To clear this bit, corresponding bit in ICLR should be set to 1
2760 
2761  ENUMs:
2762  NO_EFFECT: No new data ready.
2763  CLR: A new data is ready to be read.
2764 */
2765 #define ADC_INTEVT0CLR_MEMRESIFG11 0x00080000U
2766 #define ADC_INTEVT0CLR_MEMRESIFG11_M 0x00080000U
2767 #define ADC_INTEVT0CLR_MEMRESIFG11_S 19U
2768 #define ADC_INTEVT0CLR_MEMRESIFG11_NO_EFFECT 0x00000000U
2769 #define ADC_INTEVT0CLR_MEMRESIFG11_CLR 0x00080000U
2770 /*
2771 
2772  Field: MEMRESIFG12
2773  From..to bits: 20...20
2774  DefaultValue: 0x0
2775  Access type: write-only
2776  Description: Raw interrupt status for MEMRES12.
2777  This bit is set to 1 when MEMRES12 is loaded with a new
2778  conversion result.
2779  To clear this bit, corresponding bit in ICLR should be set to 1
2780 
2781  ENUMs:
2782  NO_EFFECT: No new data ready.
2783  CLR: A new data is ready to be read.
2784 */
2785 #define ADC_INTEVT0CLR_MEMRESIFG12 0x00100000U
2786 #define ADC_INTEVT0CLR_MEMRESIFG12_M 0x00100000U
2787 #define ADC_INTEVT0CLR_MEMRESIFG12_S 20U
2788 #define ADC_INTEVT0CLR_MEMRESIFG12_NO_EFFECT 0x00000000U
2789 #define ADC_INTEVT0CLR_MEMRESIFG12_CLR 0x00100000U
2790 /*
2791 
2792  Field: MEMRESIFG13
2793  From..to bits: 21...21
2794  DefaultValue: 0x0
2795  Access type: write-only
2796  Description: Raw interrupt status for MEMRES13.
2797  This bit is set to 1 when MEMRES13 is loaded with a new
2798  conversion result.
2799  To clear this bit, corresponding bit in ICLR should be set to 1
2800 
2801  ENUMs:
2802  NO_EFFECT: No new data ready.
2803  CLR: A new data is ready to be read.
2804 */
2805 #define ADC_INTEVT0CLR_MEMRESIFG13 0x00200000U
2806 #define ADC_INTEVT0CLR_MEMRESIFG13_M 0x00200000U
2807 #define ADC_INTEVT0CLR_MEMRESIFG13_S 21U
2808 #define ADC_INTEVT0CLR_MEMRESIFG13_NO_EFFECT 0x00000000U
2809 #define ADC_INTEVT0CLR_MEMRESIFG13_CLR 0x00200000U
2810 /*
2811 
2812  Field: MEMRESIFG14
2813  From..to bits: 22...22
2814  DefaultValue: 0x0
2815  Access type: write-only
2816  Description: Raw interrupt status for MEMRES14.
2817  This bit is set to 1 when MEMRES14 is loaded with a new
2818  conversion result.
2819  To clear this bit, corresponding bit in ICLR should be set to 1
2820 
2821  ENUMs:
2822  NO_EFFECT: No new data ready.
2823  CLR: A new data is ready to be read.
2824 */
2825 #define ADC_INTEVT0CLR_MEMRESIFG14 0x00400000U
2826 #define ADC_INTEVT0CLR_MEMRESIFG14_M 0x00400000U
2827 #define ADC_INTEVT0CLR_MEMRESIFG14_S 22U
2828 #define ADC_INTEVT0CLR_MEMRESIFG14_NO_EFFECT 0x00000000U
2829 #define ADC_INTEVT0CLR_MEMRESIFG14_CLR 0x00400000U
2830 /*
2831 
2832  Field: MEMRESIFG15
2833  From..to bits: 23...23
2834  DefaultValue: 0x0
2835  Access type: write-only
2836  Description: Raw interrupt status for MEMRES15.
2837  This bit is set to 1 when MEMRES15 is loaded with a new
2838  conversion result.
2839  To clear this bit, corresponding bit in ICLR should be set to 1
2840 
2841  ENUMs:
2842  NO_EFFECT: No new data ready.
2843  CLR: A new data is ready to be read.
2844 */
2845 #define ADC_INTEVT0CLR_MEMRESIFG15 0x00800000U
2846 #define ADC_INTEVT0CLR_MEMRESIFG15_M 0x00800000U
2847 #define ADC_INTEVT0CLR_MEMRESIFG15_S 23U
2848 #define ADC_INTEVT0CLR_MEMRESIFG15_NO_EFFECT 0x00000000U
2849 #define ADC_INTEVT0CLR_MEMRESIFG15_CLR 0x00800000U
2850 
2851 
2852 /*-----------------------------------REGISTER------------------------------------
2853  Register name: INTEVT1IDX
2854  Offset name: ADC_O_INTEVT1IDX
2855  Relative address: 0x1050
2856  Description: INTERNAL EVENT 1 IRQ IDX
2857 
2858  This register provides the highest priority enabled interrupt index. 0x0 means no event pending. Interrupt 1 is the highest priority, 2 next highest, 4, 8, ... 2^31 is the least priority. That is, the least bit position that is set to 1 denotes the highest priority pending interrupt. The priority order is fixed. However, users can implement their own prioritization schemes using other registers that expose the full set of interrupts that have occurred.
2859 
2860  On each read, only one interrupt is indicated. On a read, the current interrupt (highest priority) is automatically cleared by the hardware and the corresponding interrupt flag in the RIS and MIS are cleared as well. After a read from the CPU (not from the debug interface), the register must be updated with the next highest priority interrupt, if none are pending, then it should display 0x0.
2861 
2862  Default Value: 0x00000000
2863 
2864  Field: STAT
2865  From..to bits: 0...9
2866  DefaultValue: 0x0
2867  Access type: read-only
2868  Description: Interrupt index status
2869 
2870  ENUMs:
2871  NO_INTR: No bit is set means there is no pending interrupt request
2872  HIGHIFG: High threshold compare interrupt
2873  LOWIFG: Low threshold compare interrupt
2874  INIFG: Primary Sequence In range comparator interrupt
2875  MEMRESIFG0: MEMRES0 data loaded interrupt
2876 */
2877 #define ADC_INTEVT1IDX_STAT_W 10U
2878 #define ADC_INTEVT1IDX_STAT_M 0x000003FFU
2879 #define ADC_INTEVT1IDX_STAT_S 0U
2880 #define ADC_INTEVT1IDX_STAT_NO_INTR 0x00000000U
2881 #define ADC_INTEVT1IDX_STAT_HIGHIFG 0x00000003U
2882 #define ADC_INTEVT1IDX_STAT_LOWIFG 0x00000004U
2883 #define ADC_INTEVT1IDX_STAT_INIFG 0x00000005U
2884 #define ADC_INTEVT1IDX_STAT_MEMRESIFG0 0x00000009U
2885 
2886 
2887 /*-----------------------------------REGISTER------------------------------------
2888  Register name: INTEVT1BM
2889  Offset name: ADC_O_INTEVT1BM
2890  Relative address: 0x1058
2891  Description: INTERNAL EVENT 1 IRQ MASK
2892 
2893  Interrupt Mask. If a bit is set, then corresponding interrupt is un-masked. Un-masking the interrupt causes the raw interrupt to be visible in IIDX, as well as MIS.
2894  Default Value: 0x00000000
2895 
2896  Field: HIFG
2897  From..to bits: 2...2
2898  DefaultValue: 0x0
2899  Access type: read-write
2900  Description: HIGH FG
2901 
2902  Raw interrupt flag for the MEMRESx result register being higher
2903  than the WCHIGHx threshold of the window comparator.
2904  This bit is reset to 0 by IIDX read or when corresponding bit in
2905  ICLR_EX is set to 1.
2906 
2907  ENUMs:
2908  CLR: Interrupt is not pending.
2909  SET: Interrupt is pending.
2910 */
2911 #define ADC_INTEVT1BM_HIFG 0x00000004U
2912 #define ADC_INTEVT1BM_HIFG_M 0x00000004U
2913 #define ADC_INTEVT1BM_HIFG_S 2U
2914 #define ADC_INTEVT1BM_HIFG_CLR 0x00000000U
2915 #define ADC_INTEVT1BM_HIFG_SET 0x00000004U
2916 /*
2917 
2918  Field: LOFG
2919  From..to bits: 3...3
2920  DefaultValue: 0x0
2921  Access type: read-write
2922  Description: LOW FG
2923 
2924  Raw interrupt flag for the MEMRESx result register being below
2925  than the WCLOWx threshold of the window comparator.
2926  This bit is reset to 0 by IIDX read or when corresponding bit in
2927  ICLR_EX is set to 1.
2928 
2929  ENUMs:
2930  CLR: Interrupt is not pending.
2931  SET: Interrupt is pending.
2932 */
2933 #define ADC_INTEVT1BM_LOFG 0x00000008U
2934 #define ADC_INTEVT1BM_LOFG_M 0x00000008U
2935 #define ADC_INTEVT1BM_LOFG_S 3U
2936 #define ADC_INTEVT1BM_LOFG_CLR 0x00000000U
2937 #define ADC_INTEVT1BM_LOFG_SET 0x00000008U
2938 /*
2939 
2940  Field: INIFG
2941  From..to bits: 4...4
2942  DefaultValue: 0x0
2943  Access type: read-write
2944  Description: Mask INIFG in MIS_EX register.
2945 
2946  ENUMs:
2947  CLR: Interrupt is not pending.
2948  SET: Interrupt is pending.
2949 */
2950 #define ADC_INTEVT1BM_INIFG 0x00000010U
2951 #define ADC_INTEVT1BM_INIFG_M 0x00000010U
2952 #define ADC_INTEVT1BM_INIFG_S 4U
2953 #define ADC_INTEVT1BM_INIFG_CLR 0x00000000U
2954 #define ADC_INTEVT1BM_INIFG_SET 0x00000010U
2955 /*
2956 
2957  Field: MEMRESIFG0
2958  From..to bits: 8...8
2959  DefaultValue: 0x0
2960  Access type: read-write
2961  Description: Raw interrupt status for MEMRES0.
2962  This bit is set to 1 when MEMRES0 is loaded with a new
2963  conversion result.
2964  To clear this bit, corresponding bit in ICLR should be set to 1
2965 
2966  ENUMs:
2967  CLR: No new data ready.
2968  SET: A new data is ready to be read.
2969 */
2970 #define ADC_INTEVT1BM_MEMRESIFG0 0x00000100U
2971 #define ADC_INTEVT1BM_MEMRESIFG0_M 0x00000100U
2972 #define ADC_INTEVT1BM_MEMRESIFG0_S 8U
2973 #define ADC_INTEVT1BM_MEMRESIFG0_CLR 0x00000000U
2974 #define ADC_INTEVT1BM_MEMRESIFG0_SET 0x00000100U
2975 
2976 
2977 /*-----------------------------------REGISTER------------------------------------
2978  Register name: INTEVT1RIS
2979  Offset name: ADC_O_INTEVT1RIS
2980  Relative address: 0x1060
2981  Description: INTERNAL EVENT 1 RAW IRQ STATUS
2982 
2983  Raw interrupt status. Reflects all pending interrupts, regardless of masking. The INT_EVENT1_RIS register allows the user to implement a poll scheme. A flag set in this register can be cleared by writing 1 to the ICLR register bit even if the corresponding IMASK bit is not enabled.
2984  Default Value: 0x00000000
2985 
2986  Field: HIFG
2987  From..to bits: 2...2
2988  DefaultValue: 0x0
2989  Access type: read-only
2990  Description: HIGH FG
2991 
2992  Raw interrupt flag for the MEMRESx result register being higher
2993  than the WCHIGHx threshold of the window comparator.
2994  This bit is reset to 0 by IIDX read or when corresponding bit in
2995  ICLR_EX is set to 1.
2996 
2997  ENUMs:
2998  CLR: Interrupt is not pending.
2999  SET: Interrupt is pending.
3000 */
3001 #define ADC_INTEVT1RIS_HIFG 0x00000004U
3002 #define ADC_INTEVT1RIS_HIFG_M 0x00000004U
3003 #define ADC_INTEVT1RIS_HIFG_S 2U
3004 #define ADC_INTEVT1RIS_HIFG_CLR 0x00000000U
3005 #define ADC_INTEVT1RIS_HIFG_SET 0x00000004U
3006 /*
3007 
3008  Field: LOFG
3009  From..to bits: 3...3
3010  DefaultValue: 0x0
3011  Access type: read-only
3012  Description: LOW FG
3013 
3014  Raw interrupt flag for the MEMRESx result register being below
3015  than the WCLOWx threshold of the window comparator.
3016  This bit is reset to 0 by IIDX read or when corresponding bit in
3017  ICLR_EX is set to 1.
3018 
3019  ENUMs:
3020  CLR: Interrupt is not pending.
3021  SET: Interrupt is pending.
3022 */
3023 #define ADC_INTEVT1RIS_LOFG 0x00000008U
3024 #define ADC_INTEVT1RIS_LOFG_M 0x00000008U
3025 #define ADC_INTEVT1RIS_LOFG_S 3U
3026 #define ADC_INTEVT1RIS_LOFG_CLR 0x00000000U
3027 #define ADC_INTEVT1RIS_LOFG_SET 0x00000008U
3028 /*
3029 
3030  Field: INIFG
3031  From..to bits: 4...4
3032  DefaultValue: 0x0
3033  Access type: read-only
3034  Description: Mask INIFG in MIS_EX register.
3035 
3036  ENUMs:
3037  CLR: Interrupt is not pending.
3038  SET: Interrupt is pending.
3039 */
3040 #define ADC_INTEVT1RIS_INIFG 0x00000010U
3041 #define ADC_INTEVT1RIS_INIFG_M 0x00000010U
3042 #define ADC_INTEVT1RIS_INIFG_S 4U
3043 #define ADC_INTEVT1RIS_INIFG_CLR 0x00000000U
3044 #define ADC_INTEVT1RIS_INIFG_SET 0x00000010U
3045 /*
3046 
3047  Field: MEMRESIFG0
3048  From..to bits: 8...8
3049  DefaultValue: 0x0
3050  Access type: read-only
3051  Description: Raw interrupt status for MEMRES0.
3052  This bit is set to 1 when MEMRES0 is loaded with a new
3053  conversion result.
3054  To clear this bit, corresponding bit in ICLR should be set to 1
3055 
3056  ENUMs:
3057  CLR: No new data ready.
3058  SET: A new data is ready to be read.
3059 */
3060 #define ADC_INTEVT1RIS_MEMRESIFG0 0x00000100U
3061 #define ADC_INTEVT1RIS_MEMRESIFG0_M 0x00000100U
3062 #define ADC_INTEVT1RIS_MEMRESIFG0_S 8U
3063 #define ADC_INTEVT1RIS_MEMRESIFG0_CLR 0x00000000U
3064 #define ADC_INTEVT1RIS_MEMRESIFG0_SET 0x00000100U
3065 
3066 
3067 /*-----------------------------------REGISTER------------------------------------
3068  Register name: INTEVT1MIS
3069  Offset name: ADC_O_INTEVT1MIS
3070  Relative address: 0x1068
3071  Description: INTERNAL EVENT 1 MASKED IRQ STATUS
3072 
3073  Masked interrupt status. This is an AND of the IMASK and RIS registers.
3074  Default Value: 0x00000000
3075 
3076  Field: HIFG
3077  From..to bits: 2...2
3078  DefaultValue: 0x0
3079  Access type: read-only
3080  Description: HIGH FG
3081 
3082  Raw interrupt flag for the MEMRESx result register being higher
3083  than the WCHIGHx threshold of the window comparator.
3084  This bit is reset to 0 by IIDX read or when corresponding bit in
3085  ICLR_EX is set to 1.
3086 
3087  ENUMs:
3088  CLR: Interrupt is not pending.
3089  SET: Interrupt is pending.
3090 */
3091 #define ADC_INTEVT1MIS_HIFG 0x00000004U
3092 #define ADC_INTEVT1MIS_HIFG_M 0x00000004U
3093 #define ADC_INTEVT1MIS_HIFG_S 2U
3094 #define ADC_INTEVT1MIS_HIFG_CLR 0x00000000U
3095 #define ADC_INTEVT1MIS_HIFG_SET 0x00000004U
3096 /*
3097 
3098  Field: LOFG
3099  From..to bits: 3...3
3100  DefaultValue: 0x0
3101  Access type: read-only
3102  Description: LOW FG
3103 
3104  Raw interrupt flag for the MEMRESx result register being below
3105  than the WCLOWx threshold of the window comparator.
3106  This bit is reset to 0 by IIDX read or when corresponding bit in
3107  ICLR_EX is set to 1.
3108 
3109  ENUMs:
3110  CLR: Interrupt is not pending.
3111  SET: Interrupt is pending.
3112 */
3113 #define ADC_INTEVT1MIS_LOFG 0x00000008U
3114 #define ADC_INTEVT1MIS_LOFG_M 0x00000008U
3115 #define ADC_INTEVT1MIS_LOFG_S 3U
3116 #define ADC_INTEVT1MIS_LOFG_CLR 0x00000000U
3117 #define ADC_INTEVT1MIS_LOFG_SET 0x00000008U
3118 /*
3119 
3120  Field: INIFG
3121  From..to bits: 4...4
3122  DefaultValue: 0x0
3123  Access type: read-only
3124  Description: Mask INIFG in MIS_EX register.
3125 
3126  ENUMs:
3127  CLR: Interrupt is not pending.
3128  SET: Interrupt is pending.
3129 */
3130 #define ADC_INTEVT1MIS_INIFG 0x00000010U
3131 #define ADC_INTEVT1MIS_INIFG_M 0x00000010U
3132 #define ADC_INTEVT1MIS_INIFG_S 4U
3133 #define ADC_INTEVT1MIS_INIFG_CLR 0x00000000U
3134 #define ADC_INTEVT1MIS_INIFG_SET 0x00000010U
3135 /*
3136 
3137  Field: MEMRESIFG0
3138  From..to bits: 8...8
3139  DefaultValue: 0x0
3140  Access type: read-only
3141  Description: Raw interrupt status for MEMRES0.
3142  This bit is set to 1 when MEMRES0 is loaded with a new
3143  conversion result.
3144  To clear this bit, corresponding bit in ICLR should be set to 1
3145 
3146  ENUMs:
3147  CLR: No new data ready.
3148  SET: A new data is ready to be read.
3149 */
3150 #define ADC_INTEVT1MIS_MEMRESIFG0 0x00000100U
3151 #define ADC_INTEVT1MIS_MEMRESIFG0_M 0x00000100U
3152 #define ADC_INTEVT1MIS_MEMRESIFG0_S 8U
3153 #define ADC_INTEVT1MIS_MEMRESIFG0_CLR 0x00000000U
3154 #define ADC_INTEVT1MIS_MEMRESIFG0_SET 0x00000100U
3155 
3156 
3157 /*-----------------------------------REGISTER------------------------------------
3158  Register name: INTEVT1SET
3159  Offset name: ADC_O_INTEVT1SET
3160  Relative address: 0x1070
3161  Description: INTERNAL EVENT 1 IRQ SET
3162 
3163  Interrupt set. Allows interrupts to be set by software (useful in diagnostics and safety checks). Writing a 1 to a bit in INT_EVENT1_ISET will set the event and therefore the related RIS bit also gets set. If the interrupt is enabled through the mask, then the corresponding MIS bit is also set.
3164  Default Value: 0x00000000
3165 
3166  Field: HIFG
3167  From..to bits: 2...2
3168  DefaultValue: 0x0
3169  Access type: write-only
3170  Description: HIGH FG
3171 
3172  Raw interrupt flag for the MEMRESx result register being higher
3173  than the WCHIGHx threshold of the window comparator.
3174  This bit is reset to 0 by IIDX read or when corresponding bit in
3175  ICLR_EX is set to 1.
3176 
3177  ENUMs:
3178  NO_EFFECT: Interrupt is not pending.
3179  SET: Interrupt is pending.
3180 */
3181 #define ADC_INTEVT1SET_HIFG 0x00000004U
3182 #define ADC_INTEVT1SET_HIFG_M 0x00000004U
3183 #define ADC_INTEVT1SET_HIFG_S 2U
3184 #define ADC_INTEVT1SET_HIFG_NO_EFFECT 0x00000000U
3185 #define ADC_INTEVT1SET_HIFG_SET 0x00000004U
3186 /*
3187 
3188  Field: LOFG
3189  From..to bits: 3...3
3190  DefaultValue: 0x0
3191  Access type: write-only
3192  Description: LOW FG
3193 
3194  Raw interrupt flag for the MEMRESx result register being below
3195  than the WCLOWx threshold of the window comparator.
3196  This bit is reset to 0 by IIDX read or when corresponding bit in
3197  ICLR_EX is set to 1.
3198 
3199  ENUMs:
3200  NO_EFFECT: Interrupt is not pending.
3201  SET: Interrupt is pending.
3202 */
3203 #define ADC_INTEVT1SET_LOFG 0x00000008U
3204 #define ADC_INTEVT1SET_LOFG_M 0x00000008U
3205 #define ADC_INTEVT1SET_LOFG_S 3U
3206 #define ADC_INTEVT1SET_LOFG_NO_EFFECT 0x00000000U
3207 #define ADC_INTEVT1SET_LOFG_SET 0x00000008U
3208 /*
3209 
3210  Field: INIFG
3211  From..to bits: 4...4
3212  DefaultValue: 0x0
3213  Access type: write-only
3214  Description: Mask INIFG in MIS_EX register.
3215 
3216  ENUMs:
3217  NO_EFFECT: Interrupt is not pending.
3218  SET: Interrupt is pending.
3219 */
3220 #define ADC_INTEVT1SET_INIFG 0x00000010U
3221 #define ADC_INTEVT1SET_INIFG_M 0x00000010U
3222 #define ADC_INTEVT1SET_INIFG_S 4U
3223 #define ADC_INTEVT1SET_INIFG_NO_EFFECT 0x00000000U
3224 #define ADC_INTEVT1SET_INIFG_SET 0x00000010U
3225 /*
3226 
3227  Field: MEMRESIFG0
3228  From..to bits: 8...8
3229  DefaultValue: 0x0
3230  Access type: write-only
3231  Description: Raw interrupt status for MEMRES0.
3232  This bit is set to 1 when MEMRES0 is loaded with a new
3233  conversion result.
3234  To clear this bit, corresponding bit in ICLR should be set to 1
3235 
3236  ENUMs:
3237  NO_EFFECT: No new data ready.
3238  SET: A new data is ready to be read.
3239 */
3240 #define ADC_INTEVT1SET_MEMRESIFG0 0x00000100U
3241 #define ADC_INTEVT1SET_MEMRESIFG0_M 0x00000100U
3242 #define ADC_INTEVT1SET_MEMRESIFG0_S 8U
3243 #define ADC_INTEVT1SET_MEMRESIFG0_NO_EFFECT 0x00000000U
3244 #define ADC_INTEVT1SET_MEMRESIFG0_SET 0x00000100U
3245 
3246 
3247 /*-----------------------------------REGISTER------------------------------------
3248  Register name: INTEVT1CLR
3249  Offset name: ADC_O_INTEVT1CLR
3250  Relative address: 0x1078
3251  Description: INTERNAL EVENT 1 IRQ CLEAR
3252 
3253  Interrupt clear. Write a 1 to clear corresponding Interrupt.
3254  Default Value: 0x00000000
3255 
3256  Field: HIFG
3257  From..to bits: 2...2
3258  DefaultValue: 0x0
3259  Access type: write-only
3260  Description: HIGH FG
3261 
3262  Raw interrupt flag for the MEMRESx result register being higher
3263  than the WCHIGHx threshold of the window comparator.
3264  This bit is reset to 0 by IIDX read or when corresponding bit in
3265  ICLR_EX is set to 1.
3266 
3267  ENUMs:
3268  NO_EFFECT: Interrupt is not pending.
3269  CLR: Interrupt is pending.
3270 */
3271 #define ADC_INTEVT1CLR_HIFG 0x00000004U
3272 #define ADC_INTEVT1CLR_HIFG_M 0x00000004U
3273 #define ADC_INTEVT1CLR_HIFG_S 2U
3274 #define ADC_INTEVT1CLR_HIFG_NO_EFFECT 0x00000000U
3275 #define ADC_INTEVT1CLR_HIFG_CLR 0x00000004U
3276 /*
3277 
3278  Field: LOFG
3279  From..to bits: 3...3
3280  DefaultValue: 0x0
3281  Access type: write-only
3282  Description: LOW FG
3283 
3284  Raw interrupt flag for the MEMRESx result register being below
3285  than the WCLOWx threshold of the window comparator.
3286  This bit is reset to 0 by IIDX read or when corresponding bit in
3287  ICLR_EX is set to 1.
3288 
3289  ENUMs:
3290  NO_EFFECT: Interrupt is not pending.
3291  CLR: Interrupt is pending.
3292 */
3293 #define ADC_INTEVT1CLR_LOFG 0x00000008U
3294 #define ADC_INTEVT1CLR_LOFG_M 0x00000008U
3295 #define ADC_INTEVT1CLR_LOFG_S 3U
3296 #define ADC_INTEVT1CLR_LOFG_NO_EFFECT 0x00000000U
3297 #define ADC_INTEVT1CLR_LOFG_CLR 0x00000008U
3298 /*
3299 
3300  Field: INIFG
3301  From..to bits: 4...4
3302  DefaultValue: 0x0
3303  Access type: write-only
3304  Description: Mask INIFG in MIS_EX register.
3305 
3306  ENUMs:
3307  NO_EFFECT: Interrupt is not pending.
3308  CLR: Interrupt is pending.
3309 */
3310 #define ADC_INTEVT1CLR_INIFG 0x00000010U
3311 #define ADC_INTEVT1CLR_INIFG_M 0x00000010U
3312 #define ADC_INTEVT1CLR_INIFG_S 4U
3313 #define ADC_INTEVT1CLR_INIFG_NO_EFFECT 0x00000000U
3314 #define ADC_INTEVT1CLR_INIFG_CLR 0x00000010U
3315 /*
3316 
3317  Field: MEMRESIFG0
3318  From..to bits: 8...8
3319  DefaultValue: 0x0
3320  Access type: write-only
3321  Description: Raw interrupt status for MEMRES0.
3322  This bit is set to 1 when MEMRES0 is loaded with a new
3323  conversion result.
3324  To clear this bit, corresponding bit in ICLR should be set to 1
3325 
3326  ENUMs:
3327  NO_EFFECT: No new data ready.
3328  CLR: A new data is ready to be read.
3329 */
3330 #define ADC_INTEVT1CLR_MEMRESIFG0 0x00000100U
3331 #define ADC_INTEVT1CLR_MEMRESIFG0_M 0x00000100U
3332 #define ADC_INTEVT1CLR_MEMRESIFG0_S 8U
3333 #define ADC_INTEVT1CLR_MEMRESIFG0_NO_EFFECT 0x00000000U
3334 #define ADC_INTEVT1CLR_MEMRESIFG0_CLR 0x00000100U
3335 
3336 
3337 /*-----------------------------------REGISTER------------------------------------
3338  Register name: INTEVT2IDX
3339  Offset name: ADC_O_INTEVT2IDX
3340  Relative address: 0x1080
3341  Description: INTERNAL EVENT 2 IRQ IDX
3342 
3343  This register provides the highest priority enabled interrupt index. 0x0 means no event pending. Interrupt 1 is the highest priority, 2 next highest, 4, 8, ... 2^31 is the least priority. That is, the least bit position that is set to 1 denotes the highest priority pending interrupt. The priority order is fixed. However, users can implement their own prioritization schemes using other registers that expose the full set of interrupts that have occurred.
3344 
3345  On each read, only one interrupt is indicated. On a read, the current interrupt (highest priority) is automatically cleared by the hardware and the corresponding interrupt flag in the RIS and MIS are cleared as well. After a read from the CPU (not from the debug interface), the register must be updated with the next highest priority interrupt, if none are pending, then it should display 0x0.
3346 
3347  Default Value: 0x00000000
3348 
3349  Field: STAT
3350  From..to bits: 0...9
3351  DefaultValue: 0x0
3352  Access type: read-only
3353  Description: Interrupt index status
3354 
3355  ENUMs:
3356  NO_INTR: No bit is set means there is no pending interrupt request
3357  MEMRESIFG0: MEMRES0 data loaded interrupt
3358  MEMRESIFG1: MEMRES1 data loaded interrupt
3359  MEMRESIFG2: MEMRES2 data loaded interrupt
3360  MEMRESIFG3: MEMRES3 data loaded interrupt
3361  MEMRESIFG4: MEMRES4 data loaded interrupt
3362  MEMRESIFG5: MEMRES5 data loaded interrupt
3363  MEMRESIFG6: MEMRES6 data loaded interrupt
3364  MEMRESIFG7: MEMRES7 data loaded interrupt
3365  MEMRESIFG8: MEMRES8 data loaded interrupt
3366  MEMRESIFG9: MEMRES9 data loaded interrupt
3367  MEMRESIFG10: MEMRES10 data loaded interrupt
3368  MEMRESIFG11: MEMRES11 data loaded interrupt
3369  MEMRESIFG12: MEMRES12 data loaded interrupt
3370  MEMRESIFG13: MEMRES13 data loaded interrupt
3371  MEMRESIFG14: MEMRES14 data loaded interrupt
3372  MEMRESIFG15: MEMRES15 data loaded interrupt
3373  MEMRESIFG16: MEMRES16 data loaded interrupt
3374  MEMRESIFG17: MEMRES17 data loaded interrupt
3375  MEMRESIFG18: MEMRES18 data loaded interrupt
3376  MEMRESIFG19: MEMRES19 data loaded interrupt
3377  MEMRESIFG20: MEMRES20 data loaded interrupt
3378  MEMRESIFG21: MEMRES21 data loaded interrupt
3379  MEMRESIFG22: MEMRES22 data loaded interrupt
3380  MEMRESIFG23: MEMRES23 data loaded interrupt
3381 */
3382 #define ADC_INTEVT2IDX_STAT_W 10U
3383 #define ADC_INTEVT2IDX_STAT_M 0x000003FFU
3384 #define ADC_INTEVT2IDX_STAT_S 0U
3385 #define ADC_INTEVT2IDX_STAT_NO_INTR 0x00000000U
3386 #define ADC_INTEVT2IDX_STAT_MEMRESIFG0 0x00000009U
3387 #define ADC_INTEVT2IDX_STAT_MEMRESIFG1 0x0000000AU
3388 #define ADC_INTEVT2IDX_STAT_MEMRESIFG2 0x0000000BU
3389 #define ADC_INTEVT2IDX_STAT_MEMRESIFG3 0x0000000CU
3390 #define ADC_INTEVT2IDX_STAT_MEMRESIFG4 0x0000000DU
3391 #define ADC_INTEVT2IDX_STAT_MEMRESIFG5 0x0000000EU
3392 #define ADC_INTEVT2IDX_STAT_MEMRESIFG6 0x0000000FU
3393 #define ADC_INTEVT2IDX_STAT_MEMRESIFG7 0x00000010U
3394 #define ADC_INTEVT2IDX_STAT_MEMRESIFG8 0x00000011U
3395 #define ADC_INTEVT2IDX_STAT_MEMRESIFG9 0x00000012U
3396 #define ADC_INTEVT2IDX_STAT_MEMRESIFG10 0x00000013U
3397 #define ADC_INTEVT2IDX_STAT_MEMRESIFG11 0x00000014U
3398 #define ADC_INTEVT2IDX_STAT_MEMRESIFG12 0x00000015U
3399 #define ADC_INTEVT2IDX_STAT_MEMRESIFG13 0x00000016U
3400 #define ADC_INTEVT2IDX_STAT_MEMRESIFG14 0x00000017U
3401 #define ADC_INTEVT2IDX_STAT_MEMRESIFG15 0x00000018U
3402 #define ADC_INTEVT2IDX_STAT_MEMRESIFG16 0x00000019U
3403 #define ADC_INTEVT2IDX_STAT_MEMRESIFG17 0x0000001AU
3404 #define ADC_INTEVT2IDX_STAT_MEMRESIFG18 0x0000001BU
3405 #define ADC_INTEVT2IDX_STAT_MEMRESIFG19 0x0000001CU
3406 #define ADC_INTEVT2IDX_STAT_MEMRESIFG20 0x0000001DU
3407 #define ADC_INTEVT2IDX_STAT_MEMRESIFG21 0x0000001EU
3408 #define ADC_INTEVT2IDX_STAT_MEMRESIFG22 0x0000001FU
3409 #define ADC_INTEVT2IDX_STAT_MEMRESIFG23 0x00000020U
3410 
3411 
3412 /*-----------------------------------REGISTER------------------------------------
3413  Register name: INTEVT2BM
3414  Offset name: ADC_O_INTEVT2BM
3415  Relative address: 0x1088
3416  Description: INTERNAL EVENT 2 IRQ MASK
3417 
3418  Interrupt Mask. If a bit is set, then corresponding interrupt is un-masked. Un-masking the interrupt causes the raw interrupt to be visible in IIDX, as well as MIS.
3419  Default Value: 0x00000000
3420 
3421  Field: MEMRESIFG0
3422  From..to bits: 8...8
3423  DefaultValue: 0x0
3424  Access type: read-write
3425  Description: Raw interrupt status for MEMRES0.
3426  This bit is set to 1 when MEMRES0 is loaded with a new
3427  conversion result.
3428  To clear this bit, corresponding bit in ICLR should be set to 1
3429 
3430  ENUMs:
3431  CLR: No new data ready.
3432  SET: A new data is ready to be read.
3433 */
3434 #define ADC_INTEVT2BM_MEMRESIFG0 0x00000100U
3435 #define ADC_INTEVT2BM_MEMRESIFG0_M 0x00000100U
3436 #define ADC_INTEVT2BM_MEMRESIFG0_S 8U
3437 #define ADC_INTEVT2BM_MEMRESIFG0_CLR 0x00000000U
3438 #define ADC_INTEVT2BM_MEMRESIFG0_SET 0x00000100U
3439 /*
3440 
3441  Field: MEMRESIFG1
3442  From..to bits: 9...9
3443  DefaultValue: 0x0
3444  Access type: read-write
3445  Description: Raw interrupt status for MEMRES1.
3446  This bit is set to 1 when MEMRES1 is loaded with a new
3447  conversion result.
3448  To clear this bit, corresponding bit in ICLR should be set to 1
3449 
3450  ENUMs:
3451  CLR: No new data ready.
3452  SET: A new data is ready to be read.
3453 */
3454 #define ADC_INTEVT2BM_MEMRESIFG1 0x00000200U
3455 #define ADC_INTEVT2BM_MEMRESIFG1_M 0x00000200U
3456 #define ADC_INTEVT2BM_MEMRESIFG1_S 9U
3457 #define ADC_INTEVT2BM_MEMRESIFG1_CLR 0x00000000U
3458 #define ADC_INTEVT2BM_MEMRESIFG1_SET 0x00000200U
3459 /*
3460 
3461  Field: MEMRESIFG2
3462  From..to bits: 10...10
3463  DefaultValue: 0x0
3464  Access type: read-write
3465  Description: Raw interrupt status for MEMRES2.
3466  This bit is set to 1 when MEMRES2 is loaded with a new
3467  conversion result.
3468  To clear this bit, corresponding bit in ICLR should be set to 1
3469 
3470  ENUMs:
3471  CLR: No new data ready.
3472  SET: A new data is ready to be read.
3473 */
3474 #define ADC_INTEVT2BM_MEMRESIFG2 0x00000400U
3475 #define ADC_INTEVT2BM_MEMRESIFG2_M 0x00000400U
3476 #define ADC_INTEVT2BM_MEMRESIFG2_S 10U
3477 #define ADC_INTEVT2BM_MEMRESIFG2_CLR 0x00000000U
3478 #define ADC_INTEVT2BM_MEMRESIFG2_SET 0x00000400U
3479 /*
3480 
3481  Field: MEMRESIFG3
3482  From..to bits: 11...11
3483  DefaultValue: 0x0
3484  Access type: read-write
3485  Description: Raw interrupt status for MEMRES3.
3486  This bit is set to 1 when MEMRES3 is loaded with a new
3487  conversion result.
3488  To clear this bit, corresponding bit in ICLR should be set to 1
3489 
3490  ENUMs:
3491  CLR: No new data ready.
3492  SET: A new data is ready to be read.
3493 */
3494 #define ADC_INTEVT2BM_MEMRESIFG3 0x00000800U
3495 #define ADC_INTEVT2BM_MEMRESIFG3_M 0x00000800U
3496 #define ADC_INTEVT2BM_MEMRESIFG3_S 11U
3497 #define ADC_INTEVT2BM_MEMRESIFG3_CLR 0x00000000U
3498 #define ADC_INTEVT2BM_MEMRESIFG3_SET 0x00000800U
3499 /*
3500 
3501  Field: MEMRESIFG4
3502  From..to bits: 12...12
3503  DefaultValue: 0x0
3504  Access type: read-write
3505  Description: Raw interrupt status for MEMRES4.
3506  This bit is set to 1 when MEMRES4 is loaded with a new
3507  conversion result.
3508  To clear this bit, corresponding bit in ICLR should be set to 1
3509 
3510  ENUMs:
3511  CLR: No new data ready.
3512  SET: A new data is ready to be read.
3513 */
3514 #define ADC_INTEVT2BM_MEMRESIFG4 0x00001000U
3515 #define ADC_INTEVT2BM_MEMRESIFG4_M 0x00001000U
3516 #define ADC_INTEVT2BM_MEMRESIFG4_S 12U
3517 #define ADC_INTEVT2BM_MEMRESIFG4_CLR 0x00000000U
3518 #define ADC_INTEVT2BM_MEMRESIFG4_SET 0x00001000U
3519 /*
3520 
3521  Field: MEMRESIFG5
3522  From..to bits: 13...13
3523  DefaultValue: 0x0
3524  Access type: read-write
3525  Description: Raw interrupt status for MEMRES5.
3526  This bit is set to 1 when MEMRES5 is loaded with a new
3527  conversion result.
3528  To clear this bit, corresponding bit in ICLR should be set to 1
3529 
3530  ENUMs:
3531  CLR: No new data ready.
3532  SET: A new data is ready to be read.
3533 */
3534 #define ADC_INTEVT2BM_MEMRESIFG5 0x00002000U
3535 #define ADC_INTEVT2BM_MEMRESIFG5_M 0x00002000U
3536 #define ADC_INTEVT2BM_MEMRESIFG5_S 13U
3537 #define ADC_INTEVT2BM_MEMRESIFG5_CLR 0x00000000U
3538 #define ADC_INTEVT2BM_MEMRESIFG5_SET 0x00002000U
3539 /*
3540 
3541  Field: MEMRESIFG6
3542  From..to bits: 14...14
3543  DefaultValue: 0x0
3544  Access type: read-write
3545  Description: Raw interrupt status for MEMRES6.
3546  This bit is set to 1 when MEMRES6 is loaded with a new
3547  conversion result.
3548  To clear this bit, corresponding bit in ICLR should be set to 1
3549 
3550  ENUMs:
3551  CLR: No new data ready.
3552  SET: A new data is ready to be read.
3553 */
3554 #define ADC_INTEVT2BM_MEMRESIFG6 0x00004000U
3555 #define ADC_INTEVT2BM_MEMRESIFG6_M 0x00004000U
3556 #define ADC_INTEVT2BM_MEMRESIFG6_S 14U
3557 #define ADC_INTEVT2BM_MEMRESIFG6_CLR 0x00000000U
3558 #define ADC_INTEVT2BM_MEMRESIFG6_SET 0x00004000U
3559 /*
3560 
3561  Field: MEMRESIFG7
3562  From..to bits: 15...15
3563  DefaultValue: 0x0
3564  Access type: read-write
3565  Description: Raw interrupt status for MEMRES7.
3566  This bit is set to 1 when MEMRES7 is loaded with a new
3567  conversion result.
3568  To clear this bit, corresponding bit in ICLR should be set to 1
3569 
3570  ENUMs:
3571  CLR: No new data ready.
3572  SET: A new data is ready to be read.
3573 */
3574 #define ADC_INTEVT2BM_MEMRESIFG7 0x00008000U
3575 #define ADC_INTEVT2BM_MEMRESIFG7_M 0x00008000U
3576 #define ADC_INTEVT2BM_MEMRESIFG7_S 15U
3577 #define ADC_INTEVT2BM_MEMRESIFG7_CLR 0x00000000U
3578 #define ADC_INTEVT2BM_MEMRESIFG7_SET 0x00008000U
3579 /*
3580 
3581  Field: MEMRESIFG8
3582  From..to bits: 16...16
3583  DefaultValue: 0x0
3584  Access type: read-write
3585  Description: Raw interrupt status for MEMRES8.
3586  This bit is set to 1 when MEMRES8 is loaded with a new
3587  conversion result.
3588  To clear this bit, corresponding bit in ICLR should be set to 1
3589 
3590  ENUMs:
3591  CLR: No new data ready.
3592  SET: A new data is ready to be read.
3593 */
3594 #define ADC_INTEVT2BM_MEMRESIFG8 0x00010000U
3595 #define ADC_INTEVT2BM_MEMRESIFG8_M 0x00010000U
3596 #define ADC_INTEVT2BM_MEMRESIFG8_S 16U
3597 #define ADC_INTEVT2BM_MEMRESIFG8_CLR 0x00000000U
3598 #define ADC_INTEVT2BM_MEMRESIFG8_SET 0x00010000U
3599 /*
3600 
3601  Field: MEMRESIFG9
3602  From..to bits: 17...17
3603  DefaultValue: 0x0
3604  Access type: read-write
3605  Description: Raw interrupt status for MEMRES9.
3606  This bit is set to 1 when MEMRES9 is loaded with a new
3607  conversion result.
3608  To clear this bit, corresponding bit in ICLR should be set to 1
3609 
3610  ENUMs:
3611  CLR: No new data ready.
3612  SET: A new data is ready to be read.
3613 */
3614 #define ADC_INTEVT2BM_MEMRESIFG9 0x00020000U
3615 #define ADC_INTEVT2BM_MEMRESIFG9_M 0x00020000U
3616 #define ADC_INTEVT2BM_MEMRESIFG9_S 17U
3617 #define ADC_INTEVT2BM_MEMRESIFG9_CLR 0x00000000U
3618 #define ADC_INTEVT2BM_MEMRESIFG9_SET 0x00020000U
3619 /*
3620 
3621  Field: MEMRESIFG10
3622  From..to bits: 18...18
3623  DefaultValue: 0x0
3624  Access type: read-write
3625  Description: Raw interrupt status for MEMRES10.
3626  This bit is set to 1 when MEMRES10 is loaded with a new
3627  conversion result.
3628  To clear this bit, corresponding bit in ICLR should be set to 1
3629 
3630  ENUMs:
3631  CLR: No new data ready.
3632  SET: A new data is ready to be read.
3633 */
3634 #define ADC_INTEVT2BM_MEMRESIFG10 0x00040000U
3635 #define ADC_INTEVT2BM_MEMRESIFG10_M 0x00040000U
3636 #define ADC_INTEVT2BM_MEMRESIFG10_S 18U
3637 #define ADC_INTEVT2BM_MEMRESIFG10_CLR 0x00000000U
3638 #define ADC_INTEVT2BM_MEMRESIFG10_SET 0x00040000U
3639 /*
3640 
3641  Field: MEMRESIFG11
3642  From..to bits: 19...19
3643  DefaultValue: 0x0
3644  Access type: read-write
3645  Description: Raw interrupt status for MEMRES11.
3646  This bit is set to 1 when MEMRES11 is loaded with a new
3647  conversion result.
3648  To clear this bit, corresponding bit in ICLR should be set to 1
3649 
3650  ENUMs:
3651  CLR: No new data ready.
3652  SET: A new data is ready to be read.
3653 */
3654 #define ADC_INTEVT2BM_MEMRESIFG11 0x00080000U
3655 #define ADC_INTEVT2BM_MEMRESIFG11_M 0x00080000U
3656 #define ADC_INTEVT2BM_MEMRESIFG11_S 19U
3657 #define ADC_INTEVT2BM_MEMRESIFG11_CLR 0x00000000U
3658 #define ADC_INTEVT2BM_MEMRESIFG11_SET 0x00080000U
3659 /*
3660 
3661  Field: MEMRESIFG12
3662  From..to bits: 20...20
3663  DefaultValue: 0x0
3664  Access type: read-write
3665  Description: Raw interrupt status for MEMRES12.
3666  This bit is set to 1 when MEMRES12 is loaded with a new
3667  conversion result.
3668  To clear this bit, corresponding bit in ICLR should be set to 1
3669 
3670  ENUMs:
3671  CLR: No new data ready.
3672  SET: A new data is ready to be read.
3673 */
3674 #define ADC_INTEVT2BM_MEMRESIFG12 0x00100000U
3675 #define ADC_INTEVT2BM_MEMRESIFG12_M 0x00100000U
3676 #define ADC_INTEVT2BM_MEMRESIFG12_S 20U
3677 #define ADC_INTEVT2BM_MEMRESIFG12_CLR 0x00000000U
3678 #define ADC_INTEVT2BM_MEMRESIFG12_SET 0x00100000U
3679 /*
3680 
3681  Field: MEMRESIFG13
3682  From..to bits: 21...21
3683  DefaultValue: 0x0
3684  Access type: read-write
3685  Description: Raw interrupt status for MEMRES13.
3686  This bit is set to 1 when MEMRES13 is loaded with a new
3687  conversion result.
3688  To clear this bit, corresponding bit in ICLR should be set to 1
3689 
3690  ENUMs:
3691  CLR: No new data ready.
3692  SET: A new data is ready to be read.
3693 */
3694 #define ADC_INTEVT2BM_MEMRESIFG13 0x00200000U
3695 #define ADC_INTEVT2BM_MEMRESIFG13_M 0x00200000U
3696 #define ADC_INTEVT2BM_MEMRESIFG13_S 21U
3697 #define ADC_INTEVT2BM_MEMRESIFG13_CLR 0x00000000U
3698 #define ADC_INTEVT2BM_MEMRESIFG13_SET 0x00200000U
3699 /*
3700 
3701  Field: MEMRESIFG14
3702  From..to bits: 22...22
3703  DefaultValue: 0x0
3704  Access type: read-write
3705  Description: Raw interrupt status for MEMRES14.
3706  This bit is set to 1 when MEMRES14 is loaded with a new
3707  conversion result.
3708  To clear this bit, corresponding bit in ICLR should be set to 1
3709 
3710  ENUMs:
3711  CLR: No new data ready.
3712  SET: A new data is ready to be read.
3713 */
3714 #define ADC_INTEVT2BM_MEMRESIFG14 0x00400000U
3715 #define ADC_INTEVT2BM_MEMRESIFG14_M 0x00400000U
3716 #define ADC_INTEVT2BM_MEMRESIFG14_S 22U
3717 #define ADC_INTEVT2BM_MEMRESIFG14_CLR 0x00000000U
3718 #define ADC_INTEVT2BM_MEMRESIFG14_SET 0x00400000U
3719 /*
3720 
3721  Field: MEMRESIFG15
3722  From..to bits: 23...23
3723  DefaultValue: 0x0
3724  Access type: read-write
3725  Description: Raw interrupt status for MEMRES15.
3726  This bit is set to 1 when MEMRES15 is loaded with a new
3727  conversion result.
3728  To clear this bit, corresponding bit in ICLR should be set to 1
3729 
3730  ENUMs:
3731  CLR: No new data ready.
3732  SET: A new data is ready to be read.
3733 */
3734 #define ADC_INTEVT2BM_MEMRESIFG15 0x00800000U
3735 #define ADC_INTEVT2BM_MEMRESIFG15_M 0x00800000U
3736 #define ADC_INTEVT2BM_MEMRESIFG15_S 23U
3737 #define ADC_INTEVT2BM_MEMRESIFG15_CLR 0x00000000U
3738 #define ADC_INTEVT2BM_MEMRESIFG15_SET 0x00800000U
3739 
3740 
3741 /*-----------------------------------REGISTER------------------------------------
3742  Register name: INTEVT2RIS
3743  Offset name: ADC_O_INTEVT2RIS
3744  Relative address: 0x1090
3745  Description: INTERNAL EVENT 2 RAW IRQ STATUS
3746 
3747  Raw interrupt status. Reflects all pending interrupts, regardless of masking. The INT_EVENT2_RIS register allows the user to implement a poll scheme. A flag set in this register can be cleared by writing 1 to the ICLR register bit even if the corresponding IMASK bit is not enabled.
3748  Default Value: 0x00000000
3749 
3750  Field: MEMRESIFG0
3751  From..to bits: 8...8
3752  DefaultValue: 0x0
3753  Access type: read-only
3754  Description: Raw interrupt status for MEMRES0.
3755  This bit is set to 1 when MEMRES0 is loaded with a new
3756  conversion result.
3757  To clear this bit, corresponding bit in ICLR should be set to 1
3758 
3759  ENUMs:
3760  CLR: No new data ready.
3761  SET: A new data is ready to be read.
3762 */
3763 #define ADC_INTEVT2RIS_MEMRESIFG0 0x00000100U
3764 #define ADC_INTEVT2RIS_MEMRESIFG0_M 0x00000100U
3765 #define ADC_INTEVT2RIS_MEMRESIFG0_S 8U
3766 #define ADC_INTEVT2RIS_MEMRESIFG0_CLR 0x00000000U
3767 #define ADC_INTEVT2RIS_MEMRESIFG0_SET 0x00000100U
3768 /*
3769 
3770  Field: MEMRESIFG1
3771  From..to bits: 9...9
3772  DefaultValue: 0x0
3773  Access type: read-only
3774  Description: Raw interrupt status for MEMRES1.
3775  This bit is set to 1 when MEMRES1 is loaded with a new
3776  conversion result.
3777  To clear this bit, corresponding bit in ICLR should be set to 1
3778 
3779  ENUMs:
3780  CLR: No new data ready.
3781  SET: A new data is ready to be read.
3782 */
3783 #define ADC_INTEVT2RIS_MEMRESIFG1 0x00000200U
3784 #define ADC_INTEVT2RIS_MEMRESIFG1_M 0x00000200U
3785 #define ADC_INTEVT2RIS_MEMRESIFG1_S 9U
3786 #define ADC_INTEVT2RIS_MEMRESIFG1_CLR 0x00000000U
3787 #define ADC_INTEVT2RIS_MEMRESIFG1_SET 0x00000200U
3788 /*
3789 
3790  Field: MEMRESIFG2
3791  From..to bits: 10...10
3792  DefaultValue: 0x0
3793  Access type: read-only
3794  Description: Raw interrupt status for MEMRES2.
3795  This bit is set to 1 when MEMRES2 is loaded with a new
3796  conversion result.
3797  To clear this bit, corresponding bit in ICLR should be set to 1
3798 
3799  ENUMs:
3800  CLR: No new data ready.
3801  SET: A new data is ready to be read.
3802 */
3803 #define ADC_INTEVT2RIS_MEMRESIFG2 0x00000400U
3804 #define ADC_INTEVT2RIS_MEMRESIFG2_M 0x00000400U
3805 #define ADC_INTEVT2RIS_MEMRESIFG2_S 10U
3806 #define ADC_INTEVT2RIS_MEMRESIFG2_CLR 0x00000000U
3807 #define ADC_INTEVT2RIS_MEMRESIFG2_SET 0x00000400U
3808 /*
3809 
3810  Field: MEMRESIFG3
3811  From..to bits: 11...11
3812  DefaultValue: 0x0
3813  Access type: read-only
3814  Description: Raw interrupt status for MEMRES3.
3815  This bit is set to 1 when MEMRES3 is loaded with a new
3816  conversion result.
3817  To clear this bit, corresponding bit in ICLR should be set to 1
3818 
3819  ENUMs:
3820  CLR: No new data ready.
3821  SET: A new data is ready to be read.
3822 */
3823 #define ADC_INTEVT2RIS_MEMRESIFG3 0x00000800U
3824 #define ADC_INTEVT2RIS_MEMRESIFG3_M 0x00000800U
3825 #define ADC_INTEVT2RIS_MEMRESIFG3_S 11U
3826 #define ADC_INTEVT2RIS_MEMRESIFG3_CLR 0x00000000U
3827 #define ADC_INTEVT2RIS_MEMRESIFG3_SET 0x00000800U
3828 /*
3829 
3830  Field: MEMRESIFG4
3831  From..to bits: 12...12
3832  DefaultValue: 0x0
3833  Access type: read-only
3834  Description: Raw interrupt status for MEMRES4.
3835  This bit is set to 1 when MEMRES4 is loaded with a new
3836  conversion result.
3837  To clear this bit, corresponding bit in ICLR should be set to 1
3838 
3839  ENUMs:
3840  CLR: No new data ready.
3841  SET: A new data is ready to be read.
3842 */
3843 #define ADC_INTEVT2RIS_MEMRESIFG4 0x00001000U
3844 #define ADC_INTEVT2RIS_MEMRESIFG4_M 0x00001000U
3845 #define ADC_INTEVT2RIS_MEMRESIFG4_S 12U
3846 #define ADC_INTEVT2RIS_MEMRESIFG4_CLR 0x00000000U
3847 #define ADC_INTEVT2RIS_MEMRESIFG4_SET 0x00001000U
3848 /*
3849 
3850  Field: MEMRESIFG5
3851  From..to bits: 13...13
3852  DefaultValue: 0x0
3853  Access type: read-only
3854  Description: Raw interrupt status for MEMRES5.
3855  This bit is set to 1 when MEMRES5 is loaded with a new
3856  conversion result.
3857  To clear this bit, corresponding bit in ICLR should be set to 1
3858 
3859  ENUMs:
3860  CLR: No new data ready.
3861  SET: A new data is ready to be read.
3862 */
3863 #define ADC_INTEVT2RIS_MEMRESIFG5 0x00002000U
3864 #define ADC_INTEVT2RIS_MEMRESIFG5_M 0x00002000U
3865 #define ADC_INTEVT2RIS_MEMRESIFG5_S 13U
3866 #define ADC_INTEVT2RIS_MEMRESIFG5_CLR 0x00000000U
3867 #define ADC_INTEVT2RIS_MEMRESIFG5_SET 0x00002000U
3868 /*
3869 
3870  Field: MEMRESIFG6
3871  From..to bits: 14...14
3872  DefaultValue: 0x0
3873  Access type: read-only
3874  Description: Raw interrupt status for MEMRES6.
3875  This bit is set to 1 when MEMRES6 is loaded with a new
3876  conversion result.
3877  To clear this bit, corresponding bit in ICLR should be set to 1
3878 
3879  ENUMs:
3880  CLR: No new data ready.
3881  SET: A new data is ready to be read.
3882 */
3883 #define ADC_INTEVT2RIS_MEMRESIFG6 0x00004000U
3884 #define ADC_INTEVT2RIS_MEMRESIFG6_M 0x00004000U
3885 #define ADC_INTEVT2RIS_MEMRESIFG6_S 14U
3886 #define ADC_INTEVT2RIS_MEMRESIFG6_CLR 0x00000000U
3887 #define ADC_INTEVT2RIS_MEMRESIFG6_SET 0x00004000U
3888 /*
3889 
3890  Field: MEMRESIFG7
3891  From..to bits: 15...15
3892  DefaultValue: 0x0
3893  Access type: read-only
3894  Description: Raw interrupt status for MEMRES7.
3895  This bit is set to 1 when MEMRES7 is loaded with a new
3896  conversion result.
3897  To clear this bit, corresponding bit in ICLR should be set to 1
3898 
3899  ENUMs:
3900  CLR: No new data ready.
3901  SET: A new data is ready to be read.
3902 */
3903 #define ADC_INTEVT2RIS_MEMRESIFG7 0x00008000U
3904 #define ADC_INTEVT2RIS_MEMRESIFG7_M 0x00008000U
3905 #define ADC_INTEVT2RIS_MEMRESIFG7_S 15U
3906 #define ADC_INTEVT2RIS_MEMRESIFG7_CLR 0x00000000U
3907 #define ADC_INTEVT2RIS_MEMRESIFG7_SET 0x00008000U
3908 /*
3909 
3910  Field: MEMRESIFG8
3911  From..to bits: 16...16
3912  DefaultValue: 0x0
3913  Access type: read-only
3914  Description: Raw interrupt status for MEMRES8.
3915  This bit is set to 1 when MEMRES8 is loaded with a new
3916  conversion result.
3917  To clear this bit, corresponding bit in ICLR should be set to 1
3918 
3919  ENUMs:
3920  CLR: No new data ready.
3921  SET: A new data is ready to be read.
3922 */
3923 #define ADC_INTEVT2RIS_MEMRESIFG8 0x00010000U
3924 #define ADC_INTEVT2RIS_MEMRESIFG8_M 0x00010000U
3925 #define ADC_INTEVT2RIS_MEMRESIFG8_S 16U
3926 #define ADC_INTEVT2RIS_MEMRESIFG8_CLR 0x00000000U
3927 #define ADC_INTEVT2RIS_MEMRESIFG8_SET 0x00010000U
3928 /*
3929 
3930  Field: MEMRESIFG9
3931  From..to bits: 17...17
3932  DefaultValue: 0x0
3933  Access type: read-only
3934  Description: Raw interrupt status for MEMRES9.
3935  This bit is set to 1 when MEMRES9 is loaded with a new
3936  conversion result.
3937  To clear this bit, corresponding bit in ICLR should be set to 1
3938 
3939  ENUMs:
3940  CLR: No new data ready.
3941  SET: A new data is ready to be read.
3942 */
3943 #define ADC_INTEVT2RIS_MEMRESIFG9 0x00020000U
3944 #define ADC_INTEVT2RIS_MEMRESIFG9_M 0x00020000U
3945 #define ADC_INTEVT2RIS_MEMRESIFG9_S 17U
3946 #define ADC_INTEVT2RIS_MEMRESIFG9_CLR 0x00000000U
3947 #define ADC_INTEVT2RIS_MEMRESIFG9_SET 0x00020000U
3948 /*
3949 
3950  Field: MEMRESIFG10
3951  From..to bits: 18...18
3952  DefaultValue: 0x0
3953  Access type: read-only
3954  Description: Raw interrupt status for MEMRES10.
3955  This bit is set to 1 when MEMRES10 is loaded with a new
3956  conversion result.
3957  To clear this bit, corresponding bit in ICLR should be set to 1
3958 
3959  ENUMs:
3960  CLR: No new data ready.
3961  SET: A new data is ready to be read.
3962 */
3963 #define ADC_INTEVT2RIS_MEMRESIFG10 0x00040000U
3964 #define ADC_INTEVT2RIS_MEMRESIFG10_M 0x00040000U
3965 #define ADC_INTEVT2RIS_MEMRESIFG10_S 18U
3966 #define ADC_INTEVT2RIS_MEMRESIFG10_CLR 0x00000000U
3967 #define ADC_INTEVT2RIS_MEMRESIFG10_SET 0x00040000U
3968 /*
3969 
3970  Field: MEMRESIFG11
3971  From..to bits: 19...19
3972  DefaultValue: 0x0
3973  Access type: read-only
3974  Description: Raw interrupt status for MEMRES11.
3975  This bit is set to 1 when MEMRES11 is loaded with a new
3976  conversion result.
3977  To clear this bit, corresponding bit in ICLR should be set to 1
3978 
3979  ENUMs:
3980  CLR: No new data ready.
3981  SET: A new data is ready to be read.
3982 */
3983 #define ADC_INTEVT2RIS_MEMRESIFG11 0x00080000U
3984 #define ADC_INTEVT2RIS_MEMRESIFG11_M 0x00080000U
3985 #define ADC_INTEVT2RIS_MEMRESIFG11_S 19U
3986 #define ADC_INTEVT2RIS_MEMRESIFG11_CLR 0x00000000U
3987 #define ADC_INTEVT2RIS_MEMRESIFG11_SET 0x00080000U
3988 /*
3989 
3990  Field: MEMRESIFG12
3991  From..to bits: 20...20
3992  DefaultValue: 0x0
3993  Access type: read-only
3994  Description: Raw interrupt status for MEMRES12.
3995  This bit is set to 1 when MEMRES12 is loaded with a new
3996  conversion result.
3997  To clear this bit, corresponding bit in ICLR should be set to 1
3998 
3999  ENUMs:
4000  CLR: No new data ready.
4001  SET: A new data is ready to be read.
4002 */
4003 #define ADC_INTEVT2RIS_MEMRESIFG12 0x00100000U
4004 #define ADC_INTEVT2RIS_MEMRESIFG12_M 0x00100000U
4005 #define ADC_INTEVT2RIS_MEMRESIFG12_S 20U
4006 #define ADC_INTEVT2RIS_MEMRESIFG12_CLR 0x00000000U
4007 #define ADC_INTEVT2RIS_MEMRESIFG12_SET 0x00100000U
4008 /*
4009 
4010  Field: MEMRESIFG13
4011  From..to bits: 21...21
4012  DefaultValue: 0x0
4013  Access type: read-only
4014  Description: Raw interrupt status for MEMRES13.
4015  This bit is set to 1 when MEMRES13 is loaded with a new
4016  conversion result.
4017  To clear this bit, corresponding bit in ICLR should be set to 1
4018 
4019  ENUMs:
4020  CLR: No new data ready.
4021  SET: A new data is ready to be read.
4022 */
4023 #define ADC_INTEVT2RIS_MEMRESIFG13 0x00200000U
4024 #define ADC_INTEVT2RIS_MEMRESIFG13_M 0x00200000U
4025 #define ADC_INTEVT2RIS_MEMRESIFG13_S 21U
4026 #define ADC_INTEVT2RIS_MEMRESIFG13_CLR 0x00000000U
4027 #define ADC_INTEVT2RIS_MEMRESIFG13_SET 0x00200000U
4028 /*
4029 
4030  Field: MEMRESIFG14
4031  From..to bits: 22...22
4032  DefaultValue: 0x0
4033  Access type: read-only
4034  Description: Raw interrupt status for MEMRES14.
4035  This bit is set to 1 when MEMRES14 is loaded with a new
4036  conversion result.
4037  To clear this bit, corresponding bit in ICLR should be set to 1
4038 
4039  ENUMs:
4040  CLR: No new data ready.
4041  SET: A new data is ready to be read.
4042 */
4043 #define ADC_INTEVT2RIS_MEMRESIFG14 0x00400000U
4044 #define ADC_INTEVT2RIS_MEMRESIFG14_M 0x00400000U
4045 #define ADC_INTEVT2RIS_MEMRESIFG14_S 22U
4046 #define ADC_INTEVT2RIS_MEMRESIFG14_CLR 0x00000000U
4047 #define ADC_INTEVT2RIS_MEMRESIFG14_SET 0x00400000U
4048 /*
4049 
4050  Field: MEMRESIFG15
4051  From..to bits: 23...23
4052  DefaultValue: 0x0
4053  Access type: read-only
4054  Description: Raw interrupt status for MEMRES15.
4055  This bit is set to 1 when MEMRES15 is loaded with a new
4056  conversion result.
4057  To clear this bit, corresponding bit in ICLR should be set to 1
4058 
4059  ENUMs:
4060  CLR: No new data ready.
4061  SET: A new data is ready to be read.
4062 */
4063 #define ADC_INTEVT2RIS_MEMRESIFG15 0x00800000U
4064 #define ADC_INTEVT2RIS_MEMRESIFG15_M 0x00800000U
4065 #define ADC_INTEVT2RIS_MEMRESIFG15_S 23U
4066 #define ADC_INTEVT2RIS_MEMRESIFG15_CLR 0x00000000U
4067 #define ADC_INTEVT2RIS_MEMRESIFG15_SET 0x00800000U
4068 
4069 
4070 /*-----------------------------------REGISTER------------------------------------
4071  Register name: INTEVT2MIS
4072  Offset name: ADC_O_INTEVT2MIS
4073  Relative address: 0x1098
4074  Description: INTERNAL EVENT 2 MASKED IRQ STATUS
4075 
4076  Extension of Masked interrupt status. This is an AND of the IMASK and RIS registers.
4077  Default Value: 0x00000000
4078 
4079  Field: MEMRESIFG0
4080  From..to bits: 8...8
4081  DefaultValue: 0x0
4082  Access type: read-only
4083  Description: Raw interrupt status for MEMRES0.
4084  This bit is set to 1 when MEMRES0 is loaded with a new
4085  conversion result.
4086  To clear this bit, corresponding bit in ICLR should be set to 1
4087 
4088  ENUMs:
4089  CLR: No new data ready.
4090  SET: A new data is ready to be read.
4091 */
4092 #define ADC_INTEVT2MIS_MEMRESIFG0 0x00000100U
4093 #define ADC_INTEVT2MIS_MEMRESIFG0_M 0x00000100U
4094 #define ADC_INTEVT2MIS_MEMRESIFG0_S 8U
4095 #define ADC_INTEVT2MIS_MEMRESIFG0_CLR 0x00000000U
4096 #define ADC_INTEVT2MIS_MEMRESIFG0_SET 0x00000100U
4097 /*
4098 
4099  Field: MEMRESIFG1
4100  From..to bits: 9...9
4101  DefaultValue: 0x0
4102  Access type: read-only
4103  Description: Raw interrupt status for MEMRES1.
4104  This bit is set to 1 when MEMRES1 is loaded with a new
4105  conversion result.
4106  To clear this bit, corresponding bit in ICLR should be set to 1
4107 
4108  ENUMs:
4109  CLR: No new data ready.
4110  SET: A new data is ready to be read.
4111 */
4112 #define ADC_INTEVT2MIS_MEMRESIFG1 0x00000200U
4113 #define ADC_INTEVT2MIS_MEMRESIFG1_M 0x00000200U
4114 #define ADC_INTEVT2MIS_MEMRESIFG1_S 9U
4115 #define ADC_INTEVT2MIS_MEMRESIFG1_CLR 0x00000000U
4116 #define ADC_INTEVT2MIS_MEMRESIFG1_SET 0x00000200U
4117 /*
4118 
4119  Field: MEMRESIFG2
4120  From..to bits: 10...10
4121  DefaultValue: 0x0
4122  Access type: read-only
4123  Description: Raw interrupt status for MEMRES2.
4124  This bit is set to 1 when MEMRES2 is loaded with a new
4125  conversion result.
4126  To clear this bit, corresponding bit in ICLR should be set to 1
4127 
4128  ENUMs:
4129  CLR: No new data ready.
4130  SET: A new data is ready to be read.
4131 */
4132 #define ADC_INTEVT2MIS_MEMRESIFG2 0x00000400U
4133 #define ADC_INTEVT2MIS_MEMRESIFG2_M 0x00000400U
4134 #define ADC_INTEVT2MIS_MEMRESIFG2_S 10U
4135 #define ADC_INTEVT2MIS_MEMRESIFG2_CLR 0x00000000U
4136 #define ADC_INTEVT2MIS_MEMRESIFG2_SET 0x00000400U
4137 /*
4138 
4139  Field: MEMRESIFG3
4140  From..to bits: 11...11
4141  DefaultValue: 0x0
4142  Access type: read-only
4143  Description: Raw interrupt status for MEMRES3.
4144  This bit is set to 1 when MEMRES3 is loaded with a new
4145  conversion result.
4146  To clear this bit, corresponding bit in ICLR should be set to 1
4147 
4148  ENUMs:
4149  CLR: No new data ready.
4150  SET: A new data is ready to be read.
4151 */
4152 #define ADC_INTEVT2MIS_MEMRESIFG3 0x00000800U
4153 #define ADC_INTEVT2MIS_MEMRESIFG3_M 0x00000800U
4154 #define ADC_INTEVT2MIS_MEMRESIFG3_S 11U
4155 #define ADC_INTEVT2MIS_MEMRESIFG3_CLR 0x00000000U
4156 #define ADC_INTEVT2MIS_MEMRESIFG3_SET 0x00000800U
4157 /*
4158 
4159  Field: MEMRESIFG4
4160  From..to bits: 12...12
4161  DefaultValue: 0x0
4162  Access type: read-only
4163  Description: Raw interrupt status for MEMRES4.
4164  This bit is set to 1 when MEMRES4 is loaded with a new
4165  conversion result.
4166  To clear this bit, corresponding bit in ICLR should be set to 1
4167 
4168  ENUMs:
4169  CLR: No new data ready.
4170  SET: A new data is ready to be read.
4171 */
4172 #define ADC_INTEVT2MIS_MEMRESIFG4 0x00001000U
4173 #define ADC_INTEVT2MIS_MEMRESIFG4_M 0x00001000U
4174 #define ADC_INTEVT2MIS_MEMRESIFG4_S 12U
4175 #define ADC_INTEVT2MIS_MEMRESIFG4_CLR 0x00000000U
4176 #define ADC_INTEVT2MIS_MEMRESIFG4_SET 0x00001000U
4177 /*
4178 
4179  Field: MEMRESIFG5
4180  From..to bits: 13...13
4181  DefaultValue: 0x0
4182  Access type: read-only
4183  Description: Raw interrupt status for MEMRES5.
4184  This bit is set to 1 when MEMRES5 is loaded with a new
4185  conversion result.
4186  To clear this bit, corresponding bit in ICLR should be set to 1
4187 
4188  ENUMs:
4189  CLR: No new data ready.
4190  SET: A new data is ready to be read.
4191 */
4192 #define ADC_INTEVT2MIS_MEMRESIFG5 0x00002000U
4193 #define ADC_INTEVT2MIS_MEMRESIFG5_M 0x00002000U
4194 #define ADC_INTEVT2MIS_MEMRESIFG5_S 13U
4195 #define ADC_INTEVT2MIS_MEMRESIFG5_CLR 0x00000000U
4196 #define ADC_INTEVT2MIS_MEMRESIFG5_SET 0x00002000U
4197 /*
4198 
4199  Field: MEMRESIFG6
4200  From..to bits: 14...14
4201  DefaultValue: 0x0
4202  Access type: read-only
4203  Description: Raw interrupt status for MEMRES6.
4204  This bit is set to 1 when MEMRES6 is loaded with a new
4205  conversion result.
4206  To clear this bit, corresponding bit in ICLR should be set to 1
4207 
4208  ENUMs:
4209  CLR: No new data ready.
4210  SET: A new data is ready to be read.
4211 */
4212 #define ADC_INTEVT2MIS_MEMRESIFG6 0x00004000U
4213 #define ADC_INTEVT2MIS_MEMRESIFG6_M 0x00004000U
4214 #define ADC_INTEVT2MIS_MEMRESIFG6_S 14U
4215 #define ADC_INTEVT2MIS_MEMRESIFG6_CLR 0x00000000U
4216 #define ADC_INTEVT2MIS_MEMRESIFG6_SET 0x00004000U
4217 /*
4218 
4219  Field: MEMRESIFG7
4220  From..to bits: 15...15
4221  DefaultValue: 0x0
4222  Access type: read-only
4223  Description: Raw interrupt status for MEMRES7.
4224  This bit is set to 1 when MEMRES7 is loaded with a new
4225  conversion result.
4226  To clear this bit, corresponding bit in ICLR should be set to 1
4227 
4228  ENUMs:
4229  CLR: No new data ready.
4230  SET: A new data is ready to be read.
4231 */
4232 #define ADC_INTEVT2MIS_MEMRESIFG7 0x00008000U
4233 #define ADC_INTEVT2MIS_MEMRESIFG7_M 0x00008000U
4234 #define ADC_INTEVT2MIS_MEMRESIFG7_S 15U
4235 #define ADC_INTEVT2MIS_MEMRESIFG7_CLR 0x00000000U
4236 #define ADC_INTEVT2MIS_MEMRESIFG7_SET 0x00008000U
4237 /*
4238 
4239  Field: MEMRESIFG8
4240  From..to bits: 16...16
4241  DefaultValue: 0x0
4242  Access type: read-only
4243  Description: Raw interrupt status for MEMRES8.
4244  This bit is set to 1 when MEMRES8 is loaded with a new
4245  conversion result.
4246  To clear this bit, corresponding bit in ICLR should be set to 1
4247 
4248  ENUMs:
4249  CLR: No new data ready.
4250  SET: A new data is ready to be read.
4251 */
4252 #define ADC_INTEVT2MIS_MEMRESIFG8 0x00010000U
4253 #define ADC_INTEVT2MIS_MEMRESIFG8_M 0x00010000U
4254 #define ADC_INTEVT2MIS_MEMRESIFG8_S 16U
4255 #define ADC_INTEVT2MIS_MEMRESIFG8_CLR 0x00000000U
4256 #define ADC_INTEVT2MIS_MEMRESIFG8_SET 0x00010000U
4257 /*
4258 
4259  Field: MEMRESIFG9
4260  From..to bits: 17...17
4261  DefaultValue: 0x0
4262  Access type: read-only
4263  Description: Raw interrupt status for MEMRES9.
4264  This bit is set to 1 when MEMRES9 is loaded with a new
4265  conversion result.
4266  To clear this bit, corresponding bit in ICLR should be set to 1
4267 
4268  ENUMs:
4269  CLR: No new data ready.
4270  SET: A new data is ready to be read.
4271 */
4272 #define ADC_INTEVT2MIS_MEMRESIFG9 0x00020000U
4273 #define ADC_INTEVT2MIS_MEMRESIFG9_M 0x00020000U
4274 #define ADC_INTEVT2MIS_MEMRESIFG9_S 17U
4275 #define ADC_INTEVT2MIS_MEMRESIFG9_CLR 0x00000000U
4276 #define ADC_INTEVT2MIS_MEMRESIFG9_SET 0x00020000U
4277 /*
4278 
4279  Field: MEMRESIFG10
4280  From..to bits: 18...18
4281  DefaultValue: 0x0
4282  Access type: read-only
4283  Description: Raw interrupt status for MEMRES10.
4284  This bit is set to 1 when MEMRES10 is loaded with a new
4285  conversion result.
4286  To clear this bit, corresponding bit in ICLR should be set to 1
4287 
4288  ENUMs:
4289  CLR: No new data ready.
4290  SET: A new data is ready to be read.
4291 */
4292 #define ADC_INTEVT2MIS_MEMRESIFG10 0x00040000U
4293 #define ADC_INTEVT2MIS_MEMRESIFG10_M 0x00040000U
4294 #define ADC_INTEVT2MIS_MEMRESIFG10_S 18U
4295 #define ADC_INTEVT2MIS_MEMRESIFG10_CLR 0x00000000U
4296 #define ADC_INTEVT2MIS_MEMRESIFG10_SET 0x00040000U
4297 /*
4298 
4299  Field: MEMRESIFG11
4300  From..to bits: 19...19
4301  DefaultValue: 0x0
4302  Access type: read-only
4303  Description: Raw interrupt status for MEMRES11.
4304  This bit is set to 1 when MEMRES11 is loaded with a new
4305  conversion result.
4306  To clear this bit, corresponding bit in ICLR should be set to 1
4307 
4308  ENUMs:
4309  CLR: No new data ready.
4310  SET: A new data is ready to be read.
4311 */
4312 #define ADC_INTEVT2MIS_MEMRESIFG11 0x00080000U
4313 #define ADC_INTEVT2MIS_MEMRESIFG11_M 0x00080000U
4314 #define ADC_INTEVT2MIS_MEMRESIFG11_S 19U
4315 #define ADC_INTEVT2MIS_MEMRESIFG11_CLR 0x00000000U
4316 #define ADC_INTEVT2MIS_MEMRESIFG11_SET 0x00080000U
4317 /*
4318 
4319  Field: MEMRESIFG12
4320  From..to bits: 20...20
4321  DefaultValue: 0x0
4322  Access type: read-only
4323  Description: Raw interrupt status for MEMRES12.
4324  This bit is set to 1 when MEMRES12 is loaded with a new
4325  conversion result.
4326  To clear this bit, corresponding bit in ICLR should be set to 1
4327 
4328  ENUMs:
4329  CLR: No new data ready.
4330  SET: A new data is ready to be read.
4331 */
4332 #define ADC_INTEVT2MIS_MEMRESIFG12 0x00100000U
4333 #define ADC_INTEVT2MIS_MEMRESIFG12_M 0x00100000U
4334 #define ADC_INTEVT2MIS_MEMRESIFG12_S 20U
4335 #define ADC_INTEVT2MIS_MEMRESIFG12_CLR 0x00000000U
4336 #define ADC_INTEVT2MIS_MEMRESIFG12_SET 0x00100000U
4337 /*
4338 
4339  Field: MEMRESIFG13
4340  From..to bits: 21...21
4341  DefaultValue: 0x0
4342  Access type: read-only
4343  Description: Raw interrupt status for MEMRES13.
4344  This bit is set to 1 when MEMRES13 is loaded with a new
4345  conversion result.
4346  To clear this bit, corresponding bit in ICLR should be set to 1
4347 
4348  ENUMs:
4349  CLR: No new data ready.
4350  SET: A new data is ready to be read.
4351 */
4352 #define ADC_INTEVT2MIS_MEMRESIFG13 0x00200000U
4353 #define ADC_INTEVT2MIS_MEMRESIFG13_M 0x00200000U
4354 #define ADC_INTEVT2MIS_MEMRESIFG13_S 21U
4355 #define ADC_INTEVT2MIS_MEMRESIFG13_CLR 0x00000000U
4356 #define ADC_INTEVT2MIS_MEMRESIFG13_SET 0x00200000U
4357 /*
4358 
4359  Field: MEMRESIFG14
4360  From..to bits: 22...22
4361  DefaultValue: 0x0
4362  Access type: read-only
4363  Description: Raw interrupt status for MEMRES14.
4364  This bit is set to 1 when MEMRES14 is loaded with a new
4365  conversion result.
4366  To clear this bit, corresponding bit in ICLR should be set to 1
4367 
4368  ENUMs:
4369  CLR: No new data ready.
4370  SET: A new data is ready to be read.
4371 */
4372 #define ADC_INTEVT2MIS_MEMRESIFG14 0x00400000U
4373 #define ADC_INTEVT2MIS_MEMRESIFG14_M 0x00400000U
4374 #define ADC_INTEVT2MIS_MEMRESIFG14_S 22U
4375 #define ADC_INTEVT2MIS_MEMRESIFG14_CLR 0x00000000U
4376 #define ADC_INTEVT2MIS_MEMRESIFG14_SET 0x00400000U
4377 /*
4378 
4379  Field: MEMRESIFG15
4380  From..to bits: 23...23
4381  DefaultValue: 0x0
4382  Access type: read-only
4383  Description: Raw interrupt status for MEMRES15.
4384  This bit is set to 1 when MEMRES15 is loaded with a new
4385  conversion result.
4386  To clear this bit, corresponding bit in ICLR should be set to 1
4387 
4388  ENUMs:
4389  CLR: No new data ready.
4390  SET: A new data is ready to be read.
4391 */
4392 #define ADC_INTEVT2MIS_MEMRESIFG15 0x00800000U
4393 #define ADC_INTEVT2MIS_MEMRESIFG15_M 0x00800000U
4394 #define ADC_INTEVT2MIS_MEMRESIFG15_S 23U
4395 #define ADC_INTEVT2MIS_MEMRESIFG15_CLR 0x00000000U
4396 #define ADC_INTEVT2MIS_MEMRESIFG15_SET 0x00800000U
4397 
4398 
4399 /*-----------------------------------REGISTER------------------------------------
4400  Register name: INTEVT2SET
4401  Offset name: ADC_O_INTEVT2SET
4402  Relative address: 0x10A0
4403  Description: INTERNAL EVENT 2 IRQ SET
4404 
4405  Interrupt set. Allows interrupts to be set by software (useful in diagnostics and safety checks). Writing a 1 to a bit in INT_EVENT2_ISET will set the event and therefore the related RIS bit also gets set. If the interrupt is enabled through the mask, then the corresponding MIS bit is also set.
4406  Default Value: 0x00000000
4407 
4408  Field: MEMRESIFG0
4409  From..to bits: 8...8
4410  DefaultValue: 0x0
4411  Access type: write-only
4412  Description: Raw interrupt status for MEMRES0.
4413  This bit is set to 1 when MEMRES0 is loaded with a new
4414  conversion result.
4415  To clear this bit, corresponding bit in ICLR should be set to 1
4416 
4417  ENUMs:
4418  NO_EFFECT: No new data ready.
4419  SET: A new data is ready to be read.
4420 */
4421 #define ADC_INTEVT2SET_MEMRESIFG0 0x00000100U
4422 #define ADC_INTEVT2SET_MEMRESIFG0_M 0x00000100U
4423 #define ADC_INTEVT2SET_MEMRESIFG0_S 8U
4424 #define ADC_INTEVT2SET_MEMRESIFG0_NO_EFFECT 0x00000000U
4425 #define ADC_INTEVT2SET_MEMRESIFG0_SET 0x00000100U
4426 /*
4427 
4428  Field: MEMRESIFG1
4429  From..to bits: 9...9
4430  DefaultValue: 0x0
4431  Access type: write-only
4432  Description: Raw interrupt status for MEMRES1.
4433  This bit is set to 1 when MEMRES1 is loaded with a new
4434  conversion result.
4435  To clear this bit, corresponding bit in ICLR should be set to 1
4436 
4437  ENUMs:
4438  NO_EFFECT: No new data ready.
4439  SET: A new data is ready to be read.
4440 */
4441 #define ADC_INTEVT2SET_MEMRESIFG1 0x00000200U
4442 #define ADC_INTEVT2SET_MEMRESIFG1_M 0x00000200U
4443 #define ADC_INTEVT2SET_MEMRESIFG1_S 9U
4444 #define ADC_INTEVT2SET_MEMRESIFG1_NO_EFFECT 0x00000000U
4445 #define ADC_INTEVT2SET_MEMRESIFG1_SET 0x00000200U
4446 /*
4447 
4448  Field: MEMRESIFG2
4449  From..to bits: 10...10
4450  DefaultValue: 0x0
4451  Access type: write-only
4452  Description: Raw interrupt status for MEMRES2.
4453  This bit is set to 1 when MEMRES2 is loaded with a new
4454  conversion result.
4455  To clear this bit, corresponding bit in ICLR should be set to 1
4456 
4457  ENUMs:
4458  NO_EFFECT: No new data ready.
4459  SET: A new data is ready to be read.
4460 */
4461 #define ADC_INTEVT2SET_MEMRESIFG2 0x00000400U
4462 #define ADC_INTEVT2SET_MEMRESIFG2_M 0x00000400U
4463 #define ADC_INTEVT2SET_MEMRESIFG2_S 10U
4464 #define ADC_INTEVT2SET_MEMRESIFG2_NO_EFFECT 0x00000000U
4465 #define ADC_INTEVT2SET_MEMRESIFG2_SET 0x00000400U
4466 /*
4467 
4468  Field: MEMRESIFG3
4469  From..to bits: 11...11
4470  DefaultValue: 0x0
4471  Access type: write-only
4472  Description: Raw interrupt status for MEMRES3.
4473  This bit is set to 1 when MEMRES3 is loaded with a new
4474  conversion result.
4475  To clear this bit, corresponding bit in ICLR should be set to 1
4476 
4477  ENUMs:
4478  NO_EFFECT: No new data ready.
4479  SET: A new data is ready to be read.
4480 */
4481 #define ADC_INTEVT2SET_MEMRESIFG3 0x00000800U
4482 #define ADC_INTEVT2SET_MEMRESIFG3_M 0x00000800U
4483 #define ADC_INTEVT2SET_MEMRESIFG3_S 11U
4484 #define ADC_INTEVT2SET_MEMRESIFG3_NO_EFFECT 0x00000000U
4485 #define ADC_INTEVT2SET_MEMRESIFG3_SET 0x00000800U
4486 /*
4487 
4488  Field: MEMRESIFG4
4489  From..to bits: 12...12
4490  DefaultValue: 0x0
4491  Access type: write-only
4492  Description: Raw interrupt status for MEMRES4.
4493  This bit is set to 1 when MEMRES4 is loaded with a new
4494  conversion result.
4495  To clear this bit, corresponding bit in ICLR should be set to 1
4496 
4497  ENUMs:
4498  NO_EFFECT: No new data ready.
4499  SET: A new data is ready to be read.
4500 */
4501 #define ADC_INTEVT2SET_MEMRESIFG4 0x00001000U
4502 #define ADC_INTEVT2SET_MEMRESIFG4_M 0x00001000U
4503 #define ADC_INTEVT2SET_MEMRESIFG4_S 12U
4504 #define ADC_INTEVT2SET_MEMRESIFG4_NO_EFFECT 0x00000000U
4505 #define ADC_INTEVT2SET_MEMRESIFG4_SET 0x00001000U
4506 /*
4507 
4508  Field: MEMRESIFG5
4509  From..to bits: 13...13
4510  DefaultValue: 0x0
4511  Access type: write-only
4512  Description: Raw interrupt status for MEMRES5.
4513  This bit is set to 1 when MEMRES5 is loaded with a new
4514  conversion result.
4515  To clear this bit, corresponding bit in ICLR should be set to 1
4516 
4517  ENUMs:
4518  NO_EFFECT: No new data ready.
4519  SET: A new data is ready to be read.
4520 */
4521 #define ADC_INTEVT2SET_MEMRESIFG5 0x00002000U
4522 #define ADC_INTEVT2SET_MEMRESIFG5_M 0x00002000U
4523 #define ADC_INTEVT2SET_MEMRESIFG5_S 13U
4524 #define ADC_INTEVT2SET_MEMRESIFG5_NO_EFFECT 0x00000000U
4525 #define ADC_INTEVT2SET_MEMRESIFG5_SET 0x00002000U
4526 /*
4527 
4528  Field: MEMRESIFG6
4529  From..to bits: 14...14
4530  DefaultValue: 0x0
4531  Access type: write-only
4532  Description: Raw interrupt status for MEMRES6.
4533  This bit is set to 1 when MEMRES6 is loaded with a new
4534  conversion result.
4535  To clear this bit, corresponding bit in ICLR should be set to 1
4536 
4537  ENUMs:
4538  NO_EFFECT: No new data ready.
4539  SET: A new data is ready to be read.
4540 */
4541 #define ADC_INTEVT2SET_MEMRESIFG6 0x00004000U
4542 #define ADC_INTEVT2SET_MEMRESIFG6_M 0x00004000U
4543 #define ADC_INTEVT2SET_MEMRESIFG6_S 14U
4544 #define ADC_INTEVT2SET_MEMRESIFG6_NO_EFFECT 0x00000000U
4545 #define ADC_INTEVT2SET_MEMRESIFG6_SET 0x00004000U
4546 /*
4547 
4548  Field: MEMRESIFG7
4549  From..to bits: 15...15
4550  DefaultValue: 0x0
4551  Access type: write-only
4552  Description: Raw interrupt status for MEMRES7.
4553  This bit is set to 1 when MEMRES7 is loaded with a new
4554  conversion result.
4555  To clear this bit, corresponding bit in ICLR should be set to 1
4556 
4557  ENUMs:
4558  NO_EFFECT: No new data ready.
4559  SET: A new data is ready to be read.
4560 */
4561 #define ADC_INTEVT2SET_MEMRESIFG7 0x00008000U
4562 #define ADC_INTEVT2SET_MEMRESIFG7_M 0x00008000U
4563 #define ADC_INTEVT2SET_MEMRESIFG7_S 15U
4564 #define ADC_INTEVT2SET_MEMRESIFG7_NO_EFFECT 0x00000000U
4565 #define ADC_INTEVT2SET_MEMRESIFG7_SET 0x00008000U
4566 /*
4567 
4568  Field: MEMRESIFG8
4569  From..to bits: 16...16
4570  DefaultValue: 0x0
4571  Access type: write-only
4572  Description: Raw interrupt status for MEMRES8.
4573  This bit is set to 1 when MEMRES8 is loaded with a new
4574  conversion result.
4575  To clear this bit, corresponding bit in ICLR should be set to 1
4576 
4577  ENUMs:
4578  NO_EFFECT: No new data ready.
4579  SET: A new data is ready to be read.
4580 */
4581 #define ADC_INTEVT2SET_MEMRESIFG8 0x00010000U
4582 #define ADC_INTEVT2SET_MEMRESIFG8_M 0x00010000U
4583 #define ADC_INTEVT2SET_MEMRESIFG8_S 16U
4584 #define ADC_INTEVT2SET_MEMRESIFG8_NO_EFFECT 0x00000000U
4585 #define ADC_INTEVT2SET_MEMRESIFG8_SET 0x00010000U
4586 /*
4587 
4588  Field: MEMRESIFG9
4589  From..to bits: 17...17
4590  DefaultValue: 0x0
4591  Access type: write-only
4592  Description: Raw interrupt status for MEMRES9.
4593  This bit is set to 1 when MEMRES9 is loaded with a new
4594  conversion result.
4595  To clear this bit, corresponding bit in ICLR should be set to 1
4596 
4597  ENUMs:
4598  NO_EFFECT: No new data ready.
4599  SET: A new data is ready to be read.
4600 */
4601 #define ADC_INTEVT2SET_MEMRESIFG9 0x00020000U
4602 #define ADC_INTEVT2SET_MEMRESIFG9_M 0x00020000U
4603 #define ADC_INTEVT2SET_MEMRESIFG9_S 17U
4604 #define ADC_INTEVT2SET_MEMRESIFG9_NO_EFFECT 0x00000000U
4605 #define ADC_INTEVT2SET_MEMRESIFG9_SET 0x00020000U
4606 /*
4607 
4608  Field: MEMRESIFG10
4609  From..to bits: 18...18
4610  DefaultValue: 0x0
4611  Access type: write-only
4612  Description: Raw interrupt status for MEMRES10.
4613  This bit is set to 1 when MEMRES10 is loaded with a new
4614  conversion result.
4615  To clear this bit, corresponding bit in ICLR should be set to 1
4616 
4617  ENUMs:
4618  NO_EFFECT: No new data ready.
4619  SET: A new data is ready to be read.
4620 */
4621 #define ADC_INTEVT2SET_MEMRESIFG10 0x00040000U
4622 #define ADC_INTEVT2SET_MEMRESIFG10_M 0x00040000U
4623 #define ADC_INTEVT2SET_MEMRESIFG10_S 18U
4624 #define ADC_INTEVT2SET_MEMRESIFG10_NO_EFFECT 0x00000000U
4625 #define ADC_INTEVT2SET_MEMRESIFG10_SET 0x00040000U
4626 /*
4627 
4628  Field: MEMRESIFG11
4629  From..to bits: 19...19
4630  DefaultValue: 0x0
4631  Access type: write-only
4632  Description: Raw interrupt status for MEMRES11.
4633  This bit is set to 1 when MEMRES11 is loaded with a new
4634  conversion result.
4635  To clear this bit, corresponding bit in ICLR should be set to 1
4636 
4637  ENUMs:
4638  NO_EFFECT: No new data ready.
4639  SET: A new data is ready to be read.
4640 */
4641 #define ADC_INTEVT2SET_MEMRESIFG11 0x00080000U
4642 #define ADC_INTEVT2SET_MEMRESIFG11_M 0x00080000U
4643 #define ADC_INTEVT2SET_MEMRESIFG11_S 19U
4644 #define ADC_INTEVT2SET_MEMRESIFG11_NO_EFFECT 0x00000000U
4645 #define ADC_INTEVT2SET_MEMRESIFG11_SET 0x00080000U
4646 /*
4647 
4648  Field: MEMRESIFG12
4649  From..to bits: 20...20
4650  DefaultValue: 0x0
4651  Access type: write-only
4652  Description: Raw interrupt status for MEMRES12.
4653  This bit is set to 1 when MEMRES12 is loaded with a new
4654  conversion result.
4655  To clear this bit, corresponding bit in ICLR should be set to 1
4656 
4657  ENUMs:
4658  NO_EFFECT: No new data ready.
4659  SET: A new data is ready to be read.
4660 */
4661 #define ADC_INTEVT2SET_MEMRESIFG12 0x00100000U
4662 #define ADC_INTEVT2SET_MEMRESIFG12_M 0x00100000U
4663 #define ADC_INTEVT2SET_MEMRESIFG12_S 20U
4664 #define ADC_INTEVT2SET_MEMRESIFG12_NO_EFFECT 0x00000000U
4665 #define ADC_INTEVT2SET_MEMRESIFG12_SET 0x00100000U
4666 /*
4667 
4668  Field: MEMRESIFG13
4669  From..to bits: 21...21
4670  DefaultValue: 0x0
4671  Access type: write-only
4672  Description: Raw interrupt status for MEMRES13.
4673  This bit is set to 1 when MEMRES13 is loaded with a new
4674  conversion result.
4675  To clear this bit, corresponding bit in ICLR should be set to 1
4676 
4677  ENUMs:
4678  NO_EFFECT: No new data ready.
4679  SET: A new data is ready to be read.
4680 */
4681 #define ADC_INTEVT2SET_MEMRESIFG13 0x00200000U
4682 #define ADC_INTEVT2SET_MEMRESIFG13_M 0x00200000U
4683 #define ADC_INTEVT2SET_MEMRESIFG13_S 21U
4684 #define ADC_INTEVT2SET_MEMRESIFG13_NO_EFFECT 0x00000000U
4685 #define ADC_INTEVT2SET_MEMRESIFG13_SET 0x00200000U
4686 /*
4687 
4688  Field: MEMRESIFG14
4689  From..to bits: 22...22
4690  DefaultValue: 0x0
4691  Access type: write-only
4692  Description: Raw interrupt status for MEMRES14.
4693  This bit is set to 1 when MEMRES14 is loaded with a new
4694  conversion result.
4695  To clear this bit, corresponding bit in ICLR should be set to 1
4696 
4697  ENUMs:
4698  NO_EFFECT: No new data ready.
4699  SET: A new data is ready to be read.
4700 */
4701 #define ADC_INTEVT2SET_MEMRESIFG14 0x00400000U
4702 #define ADC_INTEVT2SET_MEMRESIFG14_M 0x00400000U
4703 #define ADC_INTEVT2SET_MEMRESIFG14_S 22U
4704 #define ADC_INTEVT2SET_MEMRESIFG14_NO_EFFECT 0x00000000U
4705 #define ADC_INTEVT2SET_MEMRESIFG14_SET 0x00400000U
4706 /*
4707 
4708  Field: MEMRESIFG15
4709  From..to bits: 23...23
4710  DefaultValue: 0x0
4711  Access type: write-only
4712  Description: Raw interrupt status for MEMRES15.
4713  This bit is set to 1 when MEMRES15 is loaded with a new
4714  conversion result.
4715  To clear this bit, corresponding bit in ICLR should be set to 1
4716 
4717  ENUMs:
4718  NO_EFFECT: No new data ready.
4719  SET: A new data is ready to be read.
4720 */
4721 #define ADC_INTEVT2SET_MEMRESIFG15 0x00800000U
4722 #define ADC_INTEVT2SET_MEMRESIFG15_M 0x00800000U
4723 #define ADC_INTEVT2SET_MEMRESIFG15_S 23U
4724 #define ADC_INTEVT2SET_MEMRESIFG15_NO_EFFECT 0x00000000U
4725 #define ADC_INTEVT2SET_MEMRESIFG15_SET 0x00800000U
4726 
4727 
4728 /*-----------------------------------REGISTER------------------------------------
4729  Register name: INTEVT2CLR
4730  Offset name: ADC_O_INTEVT2CLR
4731  Relative address: 0x10A8
4732  Description: INTERNAL EVENT 2 IRQ CLEAR
4733 
4734  Interrupt clear. Write a 1 to clear corresponding Interrupt.
4735  Default Value: 0x00000000
4736 
4737  Field: MEMRESIFG0
4738  From..to bits: 8...8
4739  DefaultValue: 0x0
4740  Access type: write-only
4741  Description: Raw interrupt status for MEMRES0.
4742  This bit is set to 1 when MEMRES0 is loaded with a new
4743  conversion result.
4744  To clear this bit, corresponding bit in ICLR should be set to 1
4745 
4746  ENUMs:
4747  NO_EFFECT: No new data ready.
4748  CLR: A new data is ready to be read.
4749 */
4750 #define ADC_INTEVT2CLR_MEMRESIFG0 0x00000100U
4751 #define ADC_INTEVT2CLR_MEMRESIFG0_M 0x00000100U
4752 #define ADC_INTEVT2CLR_MEMRESIFG0_S 8U
4753 #define ADC_INTEVT2CLR_MEMRESIFG0_NO_EFFECT 0x00000000U
4754 #define ADC_INTEVT2CLR_MEMRESIFG0_CLR 0x00000100U
4755 /*
4756 
4757  Field: MEMRESIFG1
4758  From..to bits: 9...9
4759  DefaultValue: 0x0
4760  Access type: write-only
4761  Description: Raw interrupt status for MEMRES1.
4762  This bit is set to 1 when MEMRES1 is loaded with a new
4763  conversion result.
4764  To clear this bit, corresponding bit in ICLR should be set to 1
4765 
4766  ENUMs:
4767  NO_EFFECT: No new data ready.
4768  CLR: A new data is ready to be read.
4769 */
4770 #define ADC_INTEVT2CLR_MEMRESIFG1 0x00000200U
4771 #define ADC_INTEVT2CLR_MEMRESIFG1_M 0x00000200U
4772 #define ADC_INTEVT2CLR_MEMRESIFG1_S 9U
4773 #define ADC_INTEVT2CLR_MEMRESIFG1_NO_EFFECT 0x00000000U
4774 #define ADC_INTEVT2CLR_MEMRESIFG1_CLR 0x00000200U
4775 /*
4776 
4777  Field: MEMRESIFG2
4778  From..to bits: 10...10
4779  DefaultValue: 0x0
4780  Access type: write-only
4781  Description: Raw interrupt status for MEMRES2.
4782  This bit is set to 1 when MEMRES2 is loaded with a new
4783  conversion result.
4784  To clear this bit, corresponding bit in ICLR should be set to 1
4785 
4786  ENUMs:
4787  NO_EFFECT: No new data ready.
4788  CLR: A new data is ready to be read.
4789 */
4790 #define ADC_INTEVT2CLR_MEMRESIFG2 0x00000400U
4791 #define ADC_INTEVT2CLR_MEMRESIFG2_M 0x00000400U
4792 #define ADC_INTEVT2CLR_MEMRESIFG2_S 10U
4793 #define ADC_INTEVT2CLR_MEMRESIFG2_NO_EFFECT 0x00000000U
4794 #define ADC_INTEVT2CLR_MEMRESIFG2_CLR 0x00000400U
4795 /*
4796 
4797  Field: MEMRESIFG3
4798  From..to bits: 11...11
4799  DefaultValue: 0x0
4800  Access type: write-only
4801  Description: Raw interrupt status for MEMRES3.
4802  This bit is set to 1 when MEMRES3 is loaded with a new
4803  conversion result.
4804  To clear this bit, corresponding bit in ICLR should be set to 1
4805 
4806  ENUMs:
4807  NO_EFFECT: No new data ready.
4808  CLR: A new data is ready to be read.
4809 */
4810 #define ADC_INTEVT2CLR_MEMRESIFG3 0x00000800U
4811 #define ADC_INTEVT2CLR_MEMRESIFG3_M 0x00000800U
4812 #define ADC_INTEVT2CLR_MEMRESIFG3_S 11U
4813 #define ADC_INTEVT2CLR_MEMRESIFG3_NO_EFFECT 0x00000000U
4814 #define ADC_INTEVT2CLR_MEMRESIFG3_CLR 0x00000800U
4815 /*
4816 
4817  Field: MEMRESIFG4
4818  From..to bits: 12...12
4819  DefaultValue: 0x0
4820  Access type: write-only
4821  Description: Raw interrupt status for MEMRES4.
4822  This bit is set to 1 when MEMRES4 is loaded with a new
4823  conversion result.
4824  To clear this bit, corresponding bit in ICLR should be set to 1
4825 
4826  ENUMs:
4827  NO_EFFECT: No new data ready.
4828  CLR: A new data is ready to be read.
4829 */
4830 #define ADC_INTEVT2CLR_MEMRESIFG4 0x00001000U
4831 #define ADC_INTEVT2CLR_MEMRESIFG4_M 0x00001000U
4832 #define ADC_INTEVT2CLR_MEMRESIFG4_S 12U
4833 #define ADC_INTEVT2CLR_MEMRESIFG4_NO_EFFECT 0x00000000U
4834 #define ADC_INTEVT2CLR_MEMRESIFG4_CLR 0x00001000U
4835 /*
4836 
4837  Field: MEMRESIFG5
4838  From..to bits: 13...13
4839  DefaultValue: 0x0
4840  Access type: write-only
4841  Description: Raw interrupt status for MEMRES5.
4842  This bit is set to 1 when MEMRES5 is loaded with a new
4843  conversion result.
4844  To clear this bit, corresponding bit in ICLR should be set to 1
4845 
4846  ENUMs:
4847  NO_EFFECT: No new data ready.
4848  CLR: A new data is ready to be read.
4849 */
4850 #define ADC_INTEVT2CLR_MEMRESIFG5 0x00002000U
4851 #define ADC_INTEVT2CLR_MEMRESIFG5_M 0x00002000U
4852 #define ADC_INTEVT2CLR_MEMRESIFG5_S 13U
4853 #define ADC_INTEVT2CLR_MEMRESIFG5_NO_EFFECT 0x00000000U
4854 #define ADC_INTEVT2CLR_MEMRESIFG5_CLR 0x00002000U
4855 /*
4856 
4857  Field: MEMRESIFG6
4858  From..to bits: 14...14
4859  DefaultValue: 0x0
4860  Access type: write-only
4861  Description: Raw interrupt status for MEMRES6.
4862  This bit is set to 1 when MEMRES6 is loaded with a new
4863  conversion result.
4864  To clear this bit, corresponding bit in ICLR should be set to 1
4865 
4866  ENUMs:
4867  NO_EFFECT: No new data ready.
4868  CLR: A new data is ready to be read.
4869 */
4870 #define ADC_INTEVT2CLR_MEMRESIFG6 0x00004000U
4871 #define ADC_INTEVT2CLR_MEMRESIFG6_M 0x00004000U
4872 #define ADC_INTEVT2CLR_MEMRESIFG6_S 14U
4873 #define ADC_INTEVT2CLR_MEMRESIFG6_NO_EFFECT 0x00000000U
4874 #define ADC_INTEVT2CLR_MEMRESIFG6_CLR 0x00004000U
4875 /*
4876 
4877  Field: MEMRESIFG7
4878  From..to bits: 15...15
4879  DefaultValue: 0x0
4880  Access type: write-only
4881  Description: Raw interrupt status for MEMRES7.
4882  This bit is set to 1 when MEMRES7 is loaded with a new
4883  conversion result.
4884  To clear this bit, corresponding bit in ICLR should be set to 1
4885 
4886  ENUMs:
4887  NO_EFFECT: No new data ready.
4888  CLR: A new data is ready to be read.
4889 */
4890 #define ADC_INTEVT2CLR_MEMRESIFG7 0x00008000U
4891 #define ADC_INTEVT2CLR_MEMRESIFG7_M 0x00008000U
4892 #define ADC_INTEVT2CLR_MEMRESIFG7_S 15U
4893 #define ADC_INTEVT2CLR_MEMRESIFG7_NO_EFFECT 0x00000000U
4894 #define ADC_INTEVT2CLR_MEMRESIFG7_CLR 0x00008000U
4895 /*
4896 
4897  Field: MEMRESIFG8
4898  From..to bits: 16...16
4899  DefaultValue: 0x0
4900  Access type: write-only
4901  Description: Raw interrupt status for MEMRES8.
4902  This bit is set to 1 when MEMRES8 is loaded with a new
4903  conversion result.
4904  To clear this bit, corresponding bit in ICLR should be set to 1
4905 
4906  ENUMs:
4907  NO_EFFECT: No new data ready.
4908  CLR: A new data is ready to be read.
4909 */
4910 #define ADC_INTEVT2CLR_MEMRESIFG8 0x00010000U
4911 #define ADC_INTEVT2CLR_MEMRESIFG8_M 0x00010000U
4912 #define ADC_INTEVT2CLR_MEMRESIFG8_S 16U
4913 #define ADC_INTEVT2CLR_MEMRESIFG8_NO_EFFECT 0x00000000U
4914 #define ADC_INTEVT2CLR_MEMRESIFG8_CLR 0x00010000U
4915 /*
4916 
4917  Field: MEMRESIFG9
4918  From..to bits: 17...17
4919  DefaultValue: 0x0
4920  Access type: write-only
4921  Description: Raw interrupt status for MEMRES9.
4922  This bit is set to 1 when MEMRES9 is loaded with a new
4923  conversion result.
4924  To clear this bit, corresponding bit in ICLR should be set to 1
4925 
4926  ENUMs:
4927  NO_EFFECT: No new data ready.
4928  CLR: A new data is ready to be read.
4929 */
4930 #define ADC_INTEVT2CLR_MEMRESIFG9 0x00020000U
4931 #define ADC_INTEVT2CLR_MEMRESIFG9_M 0x00020000U
4932 #define ADC_INTEVT2CLR_MEMRESIFG9_S 17U
4933 #define ADC_INTEVT2CLR_MEMRESIFG9_NO_EFFECT 0x00000000U
4934 #define ADC_INTEVT2CLR_MEMRESIFG9_CLR 0x00020000U
4935 /*
4936 
4937  Field: MEMRESIFG10
4938  From..to bits: 18...18
4939  DefaultValue: 0x0
4940  Access type: write-only
4941  Description: Raw interrupt status for MEMRES10.
4942  This bit is set to 1 when MEMRES10 is loaded with a new
4943  conversion result.
4944  To clear this bit, corresponding bit in ICLR should be set to 1
4945 
4946  ENUMs:
4947  NO_EFFECT: No new data ready.
4948  CLR: A new data is ready to be read.
4949 */
4950 #define ADC_INTEVT2CLR_MEMRESIFG10 0x00040000U
4951 #define ADC_INTEVT2CLR_MEMRESIFG10_M 0x00040000U
4952 #define ADC_INTEVT2CLR_MEMRESIFG10_S 18U
4953 #define ADC_INTEVT2CLR_MEMRESIFG10_NO_EFFECT 0x00000000U
4954 #define ADC_INTEVT2CLR_MEMRESIFG10_CLR 0x00040000U
4955 /*
4956 
4957  Field: MEMRESIFG11
4958  From..to bits: 19...19
4959  DefaultValue: 0x0
4960  Access type: write-only
4961  Description: Raw interrupt status for MEMRES11.
4962  This bit is set to 1 when MEMRES11 is loaded with a new
4963  conversion result.
4964  To clear this bit, corresponding bit in ICLR should be set to 1
4965 
4966  ENUMs:
4967  NO_EFFECT: No new data ready.
4968  CLR: A new data is ready to be read.
4969 */
4970 #define ADC_INTEVT2CLR_MEMRESIFG11 0x00080000U
4971 #define ADC_INTEVT2CLR_MEMRESIFG11_M 0x00080000U
4972 #define ADC_INTEVT2CLR_MEMRESIFG11_S 19U
4973 #define ADC_INTEVT2CLR_MEMRESIFG11_NO_EFFECT 0x00000000U
4974 #define ADC_INTEVT2CLR_MEMRESIFG11_CLR 0x00080000U
4975 /*
4976 
4977  Field: MEMRESIFG12
4978  From..to bits: 20...20
4979  DefaultValue: 0x0
4980  Access type: write-only
4981  Description: Raw interrupt status for MEMRES12.
4982  This bit is set to 1 when MEMRES12 is loaded with a new
4983  conversion result.
4984  To clear this bit, corresponding bit in ICLR should be set to 1
4985 
4986  ENUMs:
4987  NO_EFFECT: No new data ready.
4988  CLR: A new data is ready to be read.
4989 */
4990 #define ADC_INTEVT2CLR_MEMRESIFG12 0x00100000U
4991 #define ADC_INTEVT2CLR_MEMRESIFG12_M 0x00100000U
4992 #define ADC_INTEVT2CLR_MEMRESIFG12_S 20U
4993 #define ADC_INTEVT2CLR_MEMRESIFG12_NO_EFFECT 0x00000000U
4994 #define ADC_INTEVT2CLR_MEMRESIFG12_CLR 0x00100000U
4995 /*
4996 
4997  Field: MEMRESIFG13
4998  From..to bits: 21...21
4999  DefaultValue: 0x0
5000  Access type: write-only
5001  Description: Raw interrupt status for MEMRES13.
5002  This bit is set to 1 when MEMRES13 is loaded with a new
5003  conversion result.
5004  To clear this bit, corresponding bit in ICLR should be set to 1
5005 
5006  ENUMs:
5007  NO_EFFECT: No new data ready.
5008  CLR: A new data is ready to be read.
5009 */
5010 #define ADC_INTEVT2CLR_MEMRESIFG13 0x00200000U
5011 #define ADC_INTEVT2CLR_MEMRESIFG13_M 0x00200000U
5012 #define ADC_INTEVT2CLR_MEMRESIFG13_S 21U
5013 #define ADC_INTEVT2CLR_MEMRESIFG13_NO_EFFECT 0x00000000U
5014 #define ADC_INTEVT2CLR_MEMRESIFG13_CLR 0x00200000U
5015 /*
5016 
5017  Field: MEMRESIFG14
5018  From..to bits: 22...22
5019  DefaultValue: 0x0
5020  Access type: write-only
5021  Description: Raw interrupt status for MEMRES14.
5022  This bit is set to 1 when MEMRES14 is loaded with a new
5023  conversion result.
5024  To clear this bit, corresponding bit in ICLR should be set to 1
5025 
5026  ENUMs:
5027  NO_EFFECT: No new data ready.
5028  CLR: A new data is ready to be read.
5029 */
5030 #define ADC_INTEVT2CLR_MEMRESIFG14 0x00400000U
5031 #define ADC_INTEVT2CLR_MEMRESIFG14_M 0x00400000U
5032 #define ADC_INTEVT2CLR_MEMRESIFG14_S 22U
5033 #define ADC_INTEVT2CLR_MEMRESIFG14_NO_EFFECT 0x00000000U
5034 #define ADC_INTEVT2CLR_MEMRESIFG14_CLR 0x00400000U
5035 /*
5036 
5037  Field: MEMRESIFG15
5038  From..to bits: 23...23
5039  DefaultValue: 0x0
5040  Access type: write-only
5041  Description: Raw interrupt status for MEMRES15.
5042  This bit is set to 1 when MEMRES15 is loaded with a new
5043  conversion result.
5044  To clear this bit, corresponding bit in ICLR should be set to 1
5045 
5046  ENUMs:
5047  NO_EFFECT: No new data ready.
5048  CLR: A new data is ready to be read.
5049 */
5050 #define ADC_INTEVT2CLR_MEMRESIFG15 0x00800000U
5051 #define ADC_INTEVT2CLR_MEMRESIFG15_M 0x00800000U
5052 #define ADC_INTEVT2CLR_MEMRESIFG15_S 23U
5053 #define ADC_INTEVT2CLR_MEMRESIFG15_NO_EFFECT 0x00000000U
5054 #define ADC_INTEVT2CLR_MEMRESIFG15_CLR 0x00800000U
5055 
5056 
5057 /*-----------------------------------REGISTER------------------------------------
5058  Register name: EVTMOD
5059  Offset name: ADC_O_EVTMOD
5060  Relative address: 0x10E0
5061  Description: EVENT MODE
5062 
5063  Event mode register. It is used to select whether each line is disabled, in software mode (software clears the RIS) or in hardware mode (hardware clears the RIS)
5064  Default Value: 0x00000001
5065 
5066  Field: INT0CFG
5067  From..to bits: 0...1
5068  DefaultValue: 0x1
5069  Access type: read-write
5070  Description: INTERNAL 0 CONFIG
5071 
5072  Event line mode select for event corresponding to [IPSTANDARD.INT_EVENT0]
5073 
5074  ENUMs:
5075  DISABLE: The interrupt or event line is disabled.
5076  SOFTWARE: The interrupt or event line is in software mode. Software must clear the RIS.
5077  HARDWARE: The interrupt or event line is in hardware mode. The hardware (another module) clears automatically the associated RIS flag.
5078 */
5079 #define ADC_EVTMOD_INT0CFG_W 2U
5080 #define ADC_EVTMOD_INT0CFG_M 0x00000003U
5081 #define ADC_EVTMOD_INT0CFG_S 0U
5082 #define ADC_EVTMOD_INT0CFG_DISABLE 0x00000000U
5083 #define ADC_EVTMOD_INT0CFG_SOFTWARE 0x00000001U
5084 #define ADC_EVTMOD_INT0CFG_HARDWARE 0x00000002U
5085 /*
5086 
5087  Field: EVT1CFG
5088  From..to bits: 2...3
5089  DefaultValue: 0x0
5090  Access type: read-write
5091  Description: EVENT 1 CONFIG
5092 
5093  Event line mode select for event corresponding to [IPSTANDARD.INT_EVENT1]
5094 
5095  ENUMs:
5096  DISABLE: The interrupt or event line is disabled.
5097  SOFTWARE: The interrupt or event line is in software mode. Software must clear the RIS.
5098  HARDWARE: The interrupt or event line is in hardware mode. The hardware (another module) clears automatically the associated RIS flag.
5099 */
5100 #define ADC_EVTMOD_EVT1CFG_W 2U
5101 #define ADC_EVTMOD_EVT1CFG_M 0x0000000CU
5102 #define ADC_EVTMOD_EVT1CFG_S 2U
5103 #define ADC_EVTMOD_EVT1CFG_DISABLE 0x00000000U
5104 #define ADC_EVTMOD_EVT1CFG_SOFTWARE 0x00000004U
5105 #define ADC_EVTMOD_EVT1CFG_HARDWARE 0x00000008U
5106 
5107 
5108 /*-----------------------------------REGISTER------------------------------------
5109  Register name: DESC
5110  Offset name: ADC_O_DESC
5111  Relative address: 0x10FC
5112  Description: This register identifies the peripheral and its exact version.
5113  Default Value: 0x00000000
5114 
5115  Field: MINREV
5116  From..to bits: 0...3
5117  DefaultValue: 0x0
5118  Access type: read-only
5119  Description: Minor rev of the IP
5120 
5121  ENUMs:
5122  MINIMUM: Smallest value
5123  MAXIMUM: Highest possible value
5124 */
5125 #define ADC_DESC_MINREV_W 4U
5126 #define ADC_DESC_MINREV_M 0x0000000FU
5127 #define ADC_DESC_MINREV_S 0U
5128 #define ADC_DESC_MINREV_MINIMUM 0x00000000U
5129 #define ADC_DESC_MINREV_MAXIMUM 0x0000000FU
5130 /*
5131 
5132  Field: MAJREV
5133  From..to bits: 4...7
5134  DefaultValue: 0x0
5135  Access type: read-only
5136  Description: Major rev of the IP
5137 
5138  ENUMs:
5139  MINIMUM: Smallest value
5140  MAXIMUM: Highest possible value
5141 */
5142 #define ADC_DESC_MAJREV_W 4U
5143 #define ADC_DESC_MAJREV_M 0x000000F0U
5144 #define ADC_DESC_MAJREV_S 4U
5145 #define ADC_DESC_MAJREV_MINIMUM 0x00000000U
5146 #define ADC_DESC_MAJREV_MAXIMUM 0x000000F0U
5147 /*
5148 
5149  Field: INSTNUM
5150  From..to bits: 8...11
5151  DefaultValue: 0x0
5152  Access type: read-only
5153  Description: Instance Number within the device. This will be a parameter to the RTL for modules that can have multiple instances
5154 
5155 */
5156 #define ADC_DESC_INSTNUM_W 4U
5157 #define ADC_DESC_INSTNUM_M 0x00000F00U
5158 #define ADC_DESC_INSTNUM_S 8U
5159 /*
5160 
5161  Field: FEATUREVER
5162  From..to bits: 12...15
5163  DefaultValue: 0x0
5164  Access type: read-only
5165  Description: Feature Set for the module *instance*
5166 
5167  ENUMs:
5168  MINIMUM: Smallest value
5169  MAXIMUM: Highest possible value
5170 */
5171 #define ADC_DESC_FEATUREVER_W 4U
5172 #define ADC_DESC_FEATUREVER_M 0x0000F000U
5173 #define ADC_DESC_FEATUREVER_S 12U
5174 #define ADC_DESC_FEATUREVER_MINIMUM 0x00000000U
5175 #define ADC_DESC_FEATUREVER_MAXIMUM 0x0000F000U
5176 /*
5177 
5178  Field: MODULEID
5179  From..to bits: 16...31
5180  DefaultValue: 0x0
5181  Access type: read-only
5182  Description: Module identification contains a unique peripheral identification number. The assignments are maintained in a central database for all of the platform modules to ensure uniqueness.
5183 
5184  ENUMs:
5185  MINIMUM: Smallest value
5186  MAXIMUM: Highest possible value
5187 */
5188 #define ADC_DESC_MODULEID_W 16U
5189 #define ADC_DESC_MODULEID_M 0xFFFF0000U
5190 #define ADC_DESC_MODULEID_S 16U
5191 #define ADC_DESC_MODULEID_MINIMUM 0x00000000U
5192 #define ADC_DESC_MODULEID_MAXIMUM 0xFFFF0000U
5193 
5194 
5195 /*-----------------------------------REGISTER------------------------------------
5196  Register name: CTL0
5197  Offset name: ADC_O_CTL0
5198  Relative address: 0x1100
5199  Description: ULP_ADCHP Control Register 0
5200  Default Value: 0x00000000
5201 
5202  Field: ENC
5203  From..to bits: 0...0
5204  DefaultValue: 0x0
5205  Access type: read-write
5206  Description: ULP_ADCHP Enable Conversions.
5207 
5208  ENUMs:
5209  OFF: ULP_ADCHP primary sequencer is off
5210  Transition from ON to OFF will abort the primary single or repeat sequence on a MEMCTLx boundary. (The current conversion will finish and result stored in corresponding MEMRESx)
5211  ON: ULP_ADCHP primary sequencer is ON.
5212  Waiting for valid trigger (Software or Hardware)
5213 */
5214 #define ADC_CTL0_ENC 0x00000001U
5215 #define ADC_CTL0_ENC_M 0x00000001U
5216 #define ADC_CTL0_ENC_S 0U
5217 #define ADC_CTL0_ENC_OFF 0x00000000U
5218 #define ADC_CTL0_ENC_ON 0x00000001U
5219 /*
5220 
5221  Field: PWRDN
5222  From..to bits: 16...16
5223  DefaultValue: 0x0
5224  Access type: read-write
5225  Description: Auto or manual power down mode.
5226 
5227  ENUMs:
5228  AUTO: ADC is powered down on completion of a conversion, if there isn't a pending trigger.
5229  MANUAL: ADC is kept powered up as long as ADCEN bit is set.
5230 */
5231 #define ADC_CTL0_PWRDN 0x00010000U
5232 #define ADC_CTL0_PWRDN_M 0x00010000U
5233 #define ADC_CTL0_PWRDN_S 16U
5234 #define ADC_CTL0_PWRDN_AUTO 0x00000000U
5235 #define ADC_CTL0_PWRDN_MANUAL 0x00010000U
5236 /*
5237 
5238  Field: SCLKDIV
5239  From..to bits: 24...26
5240  DefaultValue: 0x0
5241  Access type: read-write
5242  Description: NU - should keep as '0'.
5243 
5244  Selects divide ratio of of sample clock.
5245 
5246  ENUMs:
5247  DIV_BY_1: Do not divide clock source
5248  DIV_BY_2: Divide clock source by 2
5249  DIV_BY_4: Divide clock source by 3
5250  DIV_BY_8: Divide clock source by 4
5251  DIV_BY_16: Divide clock source by 5
5252  DIV_BY_24: Divide clock source by 6
5253  DIV_BY_32: Divide clock source by 7
5254  DIV_BY_48: Divide clock source by 8
5255 */
5256 #define ADC_CTL0_SCLKDIV_W 3U
5257 #define ADC_CTL0_SCLKDIV_M 0x07000000U
5258 #define ADC_CTL0_SCLKDIV_S 24U
5259 #define ADC_CTL0_SCLKDIV_DIV_BY_1 0x00000000U
5260 #define ADC_CTL0_SCLKDIV_DIV_BY_2 0x01000000U
5261 #define ADC_CTL0_SCLKDIV_DIV_BY_4 0x02000000U
5262 #define ADC_CTL0_SCLKDIV_DIV_BY_8 0x03000000U
5263 #define ADC_CTL0_SCLKDIV_DIV_BY_16 0x04000000U
5264 #define ADC_CTL0_SCLKDIV_DIV_BY_24 0x05000000U
5265 #define ADC_CTL0_SCLKDIV_DIV_BY_32 0x06000000U
5266 #define ADC_CTL0_SCLKDIV_DIV_BY_48 0x07000000U
5267 
5268 
5269 /*-----------------------------------REGISTER------------------------------------
5270  Register name: CTL1
5271  Offset name: ADC_O_CTL1
5272  Relative address: 0x1104
5273  Description: Primary Sequence Control Register
5274  Default Value: 0x00000000
5275 
5276  Field: TRIGSRC
5277  From..to bits: 0...0
5278  DefaultValue: 0x0
5279  Access type: read-write
5280  Description: ULP_ADCHP Primary Sequence Trigger Source.
5281 
5282  ENUMs:
5283  SOFTWARE: Primary sequence or single conversion is triggered by software.
5284 
5285 
5286  EVENT: Primary sequence or single conversion is triggered by hardware event_0.
5287  (See device specific data-sheet for source for availability of this trigger)
5288 */
5289 #define ADC_CTL1_TRIGSRC 0x00000001U
5290 #define ADC_CTL1_TRIGSRC_M 0x00000001U
5291 #define ADC_CTL1_TRIGSRC_S 0U
5292 #define ADC_CTL1_TRIGSRC_SOFTWARE 0x00000000U
5293 #define ADC_CTL1_TRIGSRC_EVENT 0x00000001U
5294 /*
5295 
5296  Field: SC
5297  From..to bits: 8...8
5298  DefaultValue: 0x0
5299  Access type: read-write
5300  Description: ULP_ADCHP Sequencer Start Of Conversion.
5301  If ULP_ADCHP is configured as FOLLOWER, this bit has no effect.
5302 
5303  ENUMs:
5304  START: When PSAMPMODE is set to MANUAL (1), setting this bit, will start the sampling phase. Sample phase will last as long as this bit is set.
5305  When PSAMPMODE is set to AUTO mode (0), setting this bit will trigger the timer based sample time.
5306  STOP: When PSAMPMODE is set to MANUAL (1) mode, clearing this bit will end the sampling phase and the conversion phase will start.
5307  When PSAMPMODE is set to AUTO mode (0), writing 0 has no effect.
5308  This bit is automatically cleared at the end of the current conversion.
5309 */
5310 #define ADC_CTL1_SC 0x00000100U
5311 #define ADC_CTL1_SC_M 0x00000100U
5312 #define ADC_CTL1_SC_S 8U
5313 #define ADC_CTL1_SC_START 0x00000100U
5314 #define ADC_CTL1_SC_STOP 0x00000000U
5315 /*
5316 
5317  Field: CONSEQ
5318  From..to bits: 16...17
5319  DefaultValue: 0x0
5320  Access type: read-write
5321  Description: ULP_ADCHP Primary Sequencer Conversion Sequence Mode Select.
5322 
5323  ENUMs:
5324  SINGLE: The MEMCTLx pointed by PSTARTADD will be converted once.
5325  SEQUENCE: The primary sequence pointed by PSTARTADD will be converted once.
5326  REPEATSINGLE: The MEMCTLx pointed by PSTARTADD will be converted in repeat mode.
5327  REPEATSEQUENCE: Primary sequence pointed by PSTARTADD will be converted in repeat mode.
5328 */
5329 #define ADC_CTL1_CONSEQ_W 2U
5330 #define ADC_CTL1_CONSEQ_M 0x00030000U
5331 #define ADC_CTL1_CONSEQ_S 16U
5332 #define ADC_CTL1_CONSEQ_SINGLE 0x00000000U
5333 #define ADC_CTL1_CONSEQ_SEQUENCE 0x00010000U
5334 #define ADC_CTL1_CONSEQ_REPEATSINGLE 0x00020000U
5335 #define ADC_CTL1_CONSEQ_REPEATSEQUENCE 0x00030000U
5336 /*
5337 
5338  Field: SAMPMODE
5339  From..to bits: 20...20
5340  DefaultValue: 0x0
5341  Access type: read-write
5342  Description: ULP_ADCHP Primary Sequencer Sample Mode.
5343  This bit select the source of the sampling signal.
5344 
5345  ENUMs:
5346  AUTO: The sample timer high phase is used as sample signal.
5347  MANUAL: The external or software trigger is used as sample signal.
5348 */
5349 #define ADC_CTL1_SAMPMODE 0x00100000U
5350 #define ADC_CTL1_SAMPMODE_M 0x00100000U
5351 #define ADC_CTL1_SAMPMODE_S 20U
5352 #define ADC_CTL1_SAMPMODE_AUTO 0x00000000U
5353 #define ADC_CTL1_SAMPMODE_MANUAL 0x00100000U
5354 /*
5355 
5356  Field: AVGN
5357  From..to bits: 24...26
5358  DefaultValue: 0x0
5359  Access type: read-write
5360  Description: Hardware averager numerator. Selects number of conversions to accumulate for current MEMCTLx and then is get divided by AVGD. Result will be stored in MEMRESx.
5361 
5362  ENUMs:
5363  DISABLE: Disables averager.
5364  AVG_2: Averages 2 conversions before storing in MEMRES register.
5365  AVG_4: Averages 4 conversions before storing in MEMRES register.
5366  AVG_8: Averages 8 conversions before storing in MEMRES register.
5367  AVG_16: Averages 16 conversions before storing in MEMRES register.
5368  AVG_32: Averages 32 conversions before storing in MEMRES register.
5369  AVG_64: Averages 64 conversions before storing in MEMRES register.
5370  AVG_128: Averages 128 conversions before storing in MEMRES register.
5371 */
5372 #define ADC_CTL1_AVGN_W 3U
5373 #define ADC_CTL1_AVGN_M 0x07000000U
5374 #define ADC_CTL1_AVGN_S 24U
5375 #define ADC_CTL1_AVGN_DISABLE 0x00000000U
5376 #define ADC_CTL1_AVGN_AVG_2 0x01000000U
5377 #define ADC_CTL1_AVGN_AVG_4 0x02000000U
5378 #define ADC_CTL1_AVGN_AVG_8 0x03000000U
5379 #define ADC_CTL1_AVGN_AVG_16 0x04000000U
5380 #define ADC_CTL1_AVGN_AVG_32 0x05000000U
5381 #define ADC_CTL1_AVGN_AVG_64 0x06000000U
5382 #define ADC_CTL1_AVGN_AVG_128 0x07000000U
5383 /*
5384 
5385  Field: AVGD
5386  From..to bits: 28...30
5387  DefaultValue: 0x0
5388  Access type: read-write
5389  Description: Hardware average denominator. The number to divide the accumulated value by (this is a shift). Note results register is maximum of 16-bits long so if not shifted appropriately result will be truncated.
5390 
5391  ENUMs:
5392  SHIFT0: 0 bit shift
5393  SHIFT1: 1 bit shift
5394  SHIFT2: 2 bit shift
5395  SHIFT3: 3 bit shift
5396  SHIFT4: 4 bit shift
5397  SHIFT5: 5 bit shift
5398  SHIFT6: 6 bit shift
5399  SHIFT7: 7 bit shift
5400 */
5401 #define ADC_CTL1_AVGD_W 3U
5402 #define ADC_CTL1_AVGD_M 0x70000000U
5403 #define ADC_CTL1_AVGD_S 28U
5404 #define ADC_CTL1_AVGD_SHIFT0 0x00000000U
5405 #define ADC_CTL1_AVGD_SHIFT1 0x10000000U
5406 #define ADC_CTL1_AVGD_SHIFT2 0x20000000U
5407 #define ADC_CTL1_AVGD_SHIFT3 0x30000000U
5408 #define ADC_CTL1_AVGD_SHIFT4 0x40000000U
5409 #define ADC_CTL1_AVGD_SHIFT5 0x50000000U
5410 #define ADC_CTL1_AVGD_SHIFT6 0x60000000U
5411 #define ADC_CTL1_AVGD_SHIFT7 0x70000000U
5412 
5413 
5414 /*-----------------------------------REGISTER------------------------------------
5415  Register name: CTL2
5416  Offset name: ADC_O_CTL2
5417  Relative address: 0x1108
5418  Description: Primary Sequence Control Register
5419  Default Value: 0x00000000
5420 
5421  Field: DF
5422  From..to bits: 0...0
5423  DefaultValue: 0x0
5424  Access type: read-write
5425  Description: ULP_ADCHP data read-back format. Data is always stored in binary unsigned format.
5426 
5427  ENUMs:
5428  UNSIGNED: Digital result reads as Binary Unsigned.
5429  SIGNED: Digital result reads Signed Binary. (2s complement), left aligned.
5430 */
5431 #define ADC_CTL2_DF 0x00000001U
5432 #define ADC_CTL2_DF_M 0x00000001U
5433 #define ADC_CTL2_DF_S 0U
5434 #define ADC_CTL2_DF_UNSIGNED 0x00000000U
5435 #define ADC_CTL2_DF_SIGNED 0x00000001U
5436 /*
5437 
5438  Field: RES
5439  From..to bits: 1...2
5440  DefaultValue: 0x0
5441  Access type: read-write
5442  Description: ULP_ADCHP resolution. This bits define the conversion result resolution.
5443  Note : A value of 3 defaults to 12 bit resolution.
5444 
5445  ENUMs:
5446  BIT_12: 16-bits resolution
5447 */
5448 #define ADC_CTL2_RES_W 2U
5449 #define ADC_CTL2_RES_M 0x00000006U
5450 #define ADC_CTL2_RES_S 1U
5451 #define ADC_CTL2_RES_BIT_12 0x00000000U
5452 /*
5453 
5454  Field: DMAEN
5455  From..to bits: 8...8
5456  DefaultValue: 0x0
5457  Access type: read-write
5458  Description: Enable DMA for data transfer.
5459 
5460  ENUMs:
5461  DISABLE: DMA triggers are not enabled.
5462  ENABLE: Enable DMA.
5463 */
5464 #define ADC_CTL2_DMAEN 0x00000100U
5465 #define ADC_CTL2_DMAEN_M 0x00000100U
5466 #define ADC_CTL2_DMAEN_S 8U
5467 #define ADC_CTL2_DMAEN_DISABLE 0x00000000U
5468 #define ADC_CTL2_DMAEN_ENABLE 0x00000100U
5469 /*
5470 
5471  Field: FIFOEN
5472  From..to bits: 10...10
5473  DefaultValue: 0x0
5474  Access type: read-write
5475  Description: Enables configuring of MEMRES register in FIFO mode.
5476 
5477  ENUMs:
5478  ENABLE: Enables FIFO mode of operation.
5479  DISABLE: Disabled FIFO mode of operation,
5480 */
5481 #define ADC_CTL2_FIFOEN 0x00000400U
5482 #define ADC_CTL2_FIFOEN_M 0x00000400U
5483 #define ADC_CTL2_FIFOEN_S 10U
5484 #define ADC_CTL2_FIFOEN_ENABLE 0x00000400U
5485 #define ADC_CTL2_FIFOEN_DISABLE 0x00000000U
5486 /*
5487 
5488  Field: STARTADD
5489  From..to bits: 16...20
5490  DefaultValue: 0x0
5491  Access type: read-write
5492  Description: ULP_ADCHP Primary Sequence Start Address.
5493  These bits select which MEMCTLx is used for single conversion or as first MEMCTL for primary sequence mode.
5494  The value of PSTARTADD is 0x00 to 0x1F, corresponding to MEMRES0 to MEMRES31.
5495 
5496  ENUMs:
5497  ADDR_00: MEMCTL0 is selected as start address of a primary sequence or as a single conversion.
5498  ADDR_01: MEMCTL1 is selected as start address of a primary sequence or as a single conversion.
5499  ADDR_02: MEMCTL2 is selected as start address of a primary sequence or as a single conversion.
5500  ADDR_03: MEMCTL3 is selected as start address of a primary sequence or as a single conversion.
5501  ADDR_04: MEMCTL4 is selected as start address of a primary sequence or as a single conversion.
5502  ADDR_05: MEMCTL5 is selected as start address of a primary sequence or as a single conversion.
5503  ADDR_06: MEMCTL6 is selected as start address of a primary sequence or as a single conversion.
5504  ADDR_07: MEMCTL7 is selected as start address of a primary sequence or as a single conversion.
5505  ADDR_08: MEMCTL8 is selected as start address of a primary sequence or as a single conversion.
5506  ADDR_09: MEMCTL9 is selected as start address of a primary sequence or as a single conversion.
5507  ADDR_10: MEMCTL10 is selected as start address of a primary sequence or as a single conversion.
5508  ADDR_11: MEMCTL11 is selected as start address of a primary sequence or as a single conversion.
5509  ADDR_12: MEMCTL12 is selected as start address of a primary sequence or as a single conversion.
5510  ADDR_13: MEMCTL13 is selected as start address of a primary sequence or as a single conversion.
5511  ADDR_14: MEMCTL14 is selected as start address of a primary sequence or as a single conversion.
5512  ADDR_15: MEMCTL15 is selected as start address of a primary sequence or as a single conversion.
5513  ADDR_16: MEMCTL16 is selected as start address of a primary sequence or as a single conversion.
5514  ADDR_17: MEMCTL17 is selected as start address of a primary sequence or as a single conversion.
5515  ADDR_18: MEMCTL18 is selected as start address of a primary sequence or as a single conversion.
5516  ADDR_19: MEMCTL19 is selected as start address of a primary sequence or as a single conversion.
5517  ADDR_20: MEMCTL20 is selected as start address of a primary sequence or as a single conversion.
5518  ADDR_21: MEMCTL21 is selected as start address of a primary sequence or as a single conversion.
5519  ADDR_22: MEMCTL22 is selected as start address of a primary sequence or as a single conversion.
5520  ADDR_23: MEMCTL23 is selected as start address of a primary sequence or as a single conversion.
5521  ADDR_24: MEMCTL24 is selected as start address of a primary sequence or as a single conversion.
5522  ADDR_25: MEMCTL25 is selected as start address of a primary sequence or as a single conversion.
5523  ADDR_26: MEMCTL26 is selected as start address of a primary sequence or as a single conversion.
5524  ADDR_31: MEMCTL31 is selected as start address of a primary sequence or as a single conversion.
5525  ADDR_30: MEMCTL30 is selected as start address of a primary sequence or as a single conversion.
5526  ADDR_29: MEMCTL29 is selected as start address of a primary sequence or as a single conversion.
5527  ADDR_28: MEMCTL28 is selected as start address of a primary sequence or as a single conversion.
5528  ADDR_27: MEMCTL27 is selected as start address of a primary sequence or as a single conversion.
5529 */
5530 #define ADC_CTL2_STARTADD_W 5U
5531 #define ADC_CTL2_STARTADD_M 0x001F0000U
5532 #define ADC_CTL2_STARTADD_S 16U
5533 #define ADC_CTL2_STARTADD_ADDR_00 0x00000000U
5534 #define ADC_CTL2_STARTADD_ADDR_01 0x00010000U
5535 #define ADC_CTL2_STARTADD_ADDR_02 0x00020000U
5536 #define ADC_CTL2_STARTADD_ADDR_03 0x00030000U
5537 #define ADC_CTL2_STARTADD_ADDR_04 0x00040000U
5538 #define ADC_CTL2_STARTADD_ADDR_05 0x00050000U
5539 #define ADC_CTL2_STARTADD_ADDR_06 0x00060000U
5540 #define ADC_CTL2_STARTADD_ADDR_07 0x00070000U
5541 #define ADC_CTL2_STARTADD_ADDR_08 0x00080000U
5542 #define ADC_CTL2_STARTADD_ADDR_09 0x00090000U
5543 #define ADC_CTL2_STARTADD_ADDR_10 0x000A0000U
5544 #define ADC_CTL2_STARTADD_ADDR_11 0x000B0000U
5545 #define ADC_CTL2_STARTADD_ADDR_12 0x000C0000U
5546 #define ADC_CTL2_STARTADD_ADDR_13 0x000D0000U
5547 #define ADC_CTL2_STARTADD_ADDR_14 0x000E0000U
5548 #define ADC_CTL2_STARTADD_ADDR_15 0x000F0000U
5549 #define ADC_CTL2_STARTADD_ADDR_16 0x00100000U
5550 #define ADC_CTL2_STARTADD_ADDR_17 0x00110000U
5551 #define ADC_CTL2_STARTADD_ADDR_18 0x00120000U
5552 #define ADC_CTL2_STARTADD_ADDR_19 0x00130000U
5553 #define ADC_CTL2_STARTADD_ADDR_20 0x00140000U
5554 #define ADC_CTL2_STARTADD_ADDR_21 0x00150000U
5555 #define ADC_CTL2_STARTADD_ADDR_22 0x00160000U
5556 #define ADC_CTL2_STARTADD_ADDR_23 0x00170000U
5557 #define ADC_CTL2_STARTADD_ADDR_24 0x00180000U
5558 #define ADC_CTL2_STARTADD_ADDR_25 0x00190000U
5559 #define ADC_CTL2_STARTADD_ADDR_26 0x001A0000U
5560 #define ADC_CTL2_STARTADD_ADDR_31 0x001F0000U
5561 #define ADC_CTL2_STARTADD_ADDR_30 0x001E0000U
5562 #define ADC_CTL2_STARTADD_ADDR_29 0x001D0000U
5563 #define ADC_CTL2_STARTADD_ADDR_28 0x001C0000U
5564 #define ADC_CTL2_STARTADD_ADDR_27 0x001B0000U
5565 /*
5566 
5567  Field: ENDADD
5568  From..to bits: 24...28
5569  DefaultValue: 0x0
5570  Access type: read-write
5571  Description: ULP_ADCHP Primary Sequence End Address.
5572  These bits select which MEMCTLx is the last MEMCTL for primary sequence mode.
5573  The value of PSTARTADD is 0x00 to 0x1F, corresponding to MEMRES0 to MEMRES31.
5574 
5575  ENUMs:
5576  ADDR_00: MEMCTL0 is selected as end address of primary sequence.
5577  ADDR_01: MEMCTL1 is selected as end address of primary sequence.
5578  ADDR_02: MEMCTL2 is selected as end address of primary sequence.
5579  ADDR_03: MEMCTL3 is selected as end address of primary sequence.
5580  ADDR_04: MEMCTL4 is selected as end address of primary sequence.
5581  ADDR_05: MEMCTL5 is selected as end address of primary sequence.
5582  ADDR_06: MEMCTL6 is selected as end address of primary sequence.
5583  ADDR_07: MEMCTL7 is selected as end address of primary sequence.
5584  ADDR_08: MEMCTL8 is selected as end address of primary sequence.
5585  ADDR_09: MEMCTL9 is selected as end address of primary sequence.
5586  ADDR_10: MEMCTL10 is selected as end address of primary sequence.
5587  ADDR_11: MEMCTL11 is selected as end address of primary sequence.
5588  ADDR_12: MEMCTL12 is selected as end address of primary sequence.
5589  ADDR_13: MEMCTL13 is selected as end address of primary sequence.
5590  ADDR_14: MEMCTL14 is selected as end address of primary sequence.
5591  ADDR_15: MEMCTL15 is selected as end address of primary sequence.
5592  ADDR_16: MEMCTL16 is selected as end address of primary sequence.
5593  ADDR_17: MEMCTL17 is selected as end address of primary sequence.
5594  ADDR_18: MEMCTL18 is selected as end address of primary sequence.
5595  ADDR_19: MEMCTL19 is selected as end address of primary sequence.
5596  ADDR_20: MEMCTL20 is selected as end address of primary sequence.
5597  ADDR_21: MEMCTL21 is selected as end address of primary sequence.
5598  ADDR_22: MEMCTL22 is selected as end address of primary sequence.
5599  ADDR_23: MEMCTL23 is selected as end address of primary sequence.
5600  ADDR_24: MEMCTL24 is selected as end address of primary sequence.
5601  ADDR_25: MEMCTL25 is selected as end address of primary sequence.
5602  ADDR_26: MEMCTL26 is selected as end address of primary sequence.
5603  ADDR_27: MEMCTL27 is selected as end address of primary sequence.
5604  ADDR_28: MEMCTL28 is selected as end address of primary sequence.
5605  ADDR_29: MEMCTL29 is selected as end address of primary sequence.
5606  ADDR_30: MEMCTL30 is selected as end address of primary sequence.
5607  ADDR_31: MEMCTL31 is selected as end address of primary sequence.
5608 */
5609 #define ADC_CTL2_ENDADD_W 5U
5610 #define ADC_CTL2_ENDADD_M 0x1F000000U
5611 #define ADC_CTL2_ENDADD_S 24U
5612 #define ADC_CTL2_ENDADD_ADDR_00 0x00000000U
5613 #define ADC_CTL2_ENDADD_ADDR_01 0x01000000U
5614 #define ADC_CTL2_ENDADD_ADDR_02 0x02000000U
5615 #define ADC_CTL2_ENDADD_ADDR_03 0x03000000U
5616 #define ADC_CTL2_ENDADD_ADDR_04 0x04000000U
5617 #define ADC_CTL2_ENDADD_ADDR_05 0x05000000U
5618 #define ADC_CTL2_ENDADD_ADDR_06 0x06000000U
5619 #define ADC_CTL2_ENDADD_ADDR_07 0x07000000U
5620 #define ADC_CTL2_ENDADD_ADDR_08 0x08000000U
5621 #define ADC_CTL2_ENDADD_ADDR_09 0x09000000U
5622 #define ADC_CTL2_ENDADD_ADDR_10 0x0A000000U
5623 #define ADC_CTL2_ENDADD_ADDR_11 0x0B000000U
5624 #define ADC_CTL2_ENDADD_ADDR_12 0x0C000000U
5625 #define ADC_CTL2_ENDADD_ADDR_13 0x0D000000U
5626 #define ADC_CTL2_ENDADD_ADDR_14 0x0E000000U
5627 #define ADC_CTL2_ENDADD_ADDR_15 0x0F000000U
5628 #define ADC_CTL2_ENDADD_ADDR_16 0x10000000U
5629 #define ADC_CTL2_ENDADD_ADDR_17 0x11000000U
5630 #define ADC_CTL2_ENDADD_ADDR_18 0x12000000U
5631 #define ADC_CTL2_ENDADD_ADDR_19 0x13000000U
5632 #define ADC_CTL2_ENDADD_ADDR_20 0x14000000U
5633 #define ADC_CTL2_ENDADD_ADDR_21 0x15000000U
5634 #define ADC_CTL2_ENDADD_ADDR_22 0x16000000U
5635 #define ADC_CTL2_ENDADD_ADDR_23 0x17000000U
5636 #define ADC_CTL2_ENDADD_ADDR_24 0x18000000U
5637 #define ADC_CTL2_ENDADD_ADDR_25 0x19000000U
5638 #define ADC_CTL2_ENDADD_ADDR_26 0x1A000000U
5639 #define ADC_CTL2_ENDADD_ADDR_27 0x1B000000U
5640 #define ADC_CTL2_ENDADD_ADDR_28 0x1C000000U
5641 #define ADC_CTL2_ENDADD_ADDR_29 0x1D000000U
5642 #define ADC_CTL2_ENDADD_ADDR_30 0x1E000000U
5643 #define ADC_CTL2_ENDADD_ADDR_31 0x1F000000U
5644 
5645 
5646 /*-----------------------------------REGISTER------------------------------------
5647  Register name: CTL3
5648  Offset name: ADC_O_CTL3
5649  Relative address: 0x110C
5650  Description: Control Register 3. This register is used to configure ADC for ad-hoc single conversion.
5651  Default Value: 0x00000000
5652 
5653  Field: ASCCHSEL
5654  From..to bits: 0...4
5655  DefaultValue: 0x0
5656  Access type: read-write
5657  Description: ASC channel select
5658 
5659  ENUMs:
5660  CHAN_0: Selects channel 0
5661  CHAN_1: Selects channel 1
5662  CHAN_2: Selects channel 2
5663  CHAN_3: Selects channel 3
5664  CHAN_4: Selects channel 4
5665  CHAN_5: Selects channel 5
5666  CHAN_6: Selects channel 6
5667  CHAN_7: Selects channel 7
5668  CHAN_8: Selects channel 8
5669  CHAN_9: Selects channel 9
5670  CHAN_10: Selects channel 10
5671  CHAN_11: Selects channel 11
5672  CHAN_12: Selects channel 12
5673  CHAN_13: Selects channel 13
5674  CHAN_14: Selects channel 14
5675  CHAN_15: Selects channel 15
5676  CHAN_16: Selects channel 16
5677  CHAN_17: Selects channel 17
5678  CHAN_18: Selects channel 18
5679  CHAN_19: Selects channel 19
5680  CHAN_20: Selects channel 20
5681  CHAN_21: Selects channel 21
5682  CHAN_22: Selects channel 22
5683  CHAN_23: Selects channel 23
5684  CHAN_24: Selects channel 24
5685  CHAN_25: Selects channel 25
5686  CHAN_26: Selects channel 26
5687  CHAN_27: Selects channel 27
5688  CHAN_28: Selects channel 28
5689  CHAN_29: Selects channel 29
5690  CHAN_30: Selects channel 30
5691  CHAN_31: Selects channel 31
5692 */
5693 #define ADC_CTL3_ASCCHSEL_W 5U
5694 #define ADC_CTL3_ASCCHSEL_M 0x0000001FU
5695 #define ADC_CTL3_ASCCHSEL_S 0U
5696 #define ADC_CTL3_ASCCHSEL_CHAN_0 0x00000000U
5697 #define ADC_CTL3_ASCCHSEL_CHAN_1 0x00000001U
5698 #define ADC_CTL3_ASCCHSEL_CHAN_2 0x00000002U
5699 #define ADC_CTL3_ASCCHSEL_CHAN_3 0x00000003U
5700 #define ADC_CTL3_ASCCHSEL_CHAN_4 0x00000004U
5701 #define ADC_CTL3_ASCCHSEL_CHAN_5 0x00000005U
5702 #define ADC_CTL3_ASCCHSEL_CHAN_6 0x00000006U
5703 #define ADC_CTL3_ASCCHSEL_CHAN_7 0x00000007U
5704 #define ADC_CTL3_ASCCHSEL_CHAN_8 0x00000008U
5705 #define ADC_CTL3_ASCCHSEL_CHAN_9 0x00000009U
5706 #define ADC_CTL3_ASCCHSEL_CHAN_10 0x0000000AU
5707 #define ADC_CTL3_ASCCHSEL_CHAN_11 0x0000000BU
5708 #define ADC_CTL3_ASCCHSEL_CHAN_12 0x0000000CU
5709 #define ADC_CTL3_ASCCHSEL_CHAN_13 0x0000000DU
5710 #define ADC_CTL3_ASCCHSEL_CHAN_14 0x0000000EU
5711 #define ADC_CTL3_ASCCHSEL_CHAN_15 0x0000000FU
5712 #define ADC_CTL3_ASCCHSEL_CHAN_16 0x00000010U
5713 #define ADC_CTL3_ASCCHSEL_CHAN_17 0x00000011U
5714 #define ADC_CTL3_ASCCHSEL_CHAN_18 0x00000012U
5715 #define ADC_CTL3_ASCCHSEL_CHAN_19 0x00000013U
5716 #define ADC_CTL3_ASCCHSEL_CHAN_20 0x00000014U
5717 #define ADC_CTL3_ASCCHSEL_CHAN_21 0x00000015U
5718 #define ADC_CTL3_ASCCHSEL_CHAN_22 0x00000016U
5719 #define ADC_CTL3_ASCCHSEL_CHAN_23 0x00000017U
5720 #define ADC_CTL3_ASCCHSEL_CHAN_24 0x00000018U
5721 #define ADC_CTL3_ASCCHSEL_CHAN_25 0x00000019U
5722 #define ADC_CTL3_ASCCHSEL_CHAN_26 0x0000001AU
5723 #define ADC_CTL3_ASCCHSEL_CHAN_27 0x0000001BU
5724 #define ADC_CTL3_ASCCHSEL_CHAN_28 0x0000001CU
5725 #define ADC_CTL3_ASCCHSEL_CHAN_29 0x0000001DU
5726 #define ADC_CTL3_ASCCHSEL_CHAN_30 0x0000001EU
5727 #define ADC_CTL3_ASCCHSEL_CHAN_31 0x0000001FU
5728 /*
5729 
5730  Field: ASCSTIME
5731  From..to bits: 8...8
5732  DefaultValue: 0x0
5733  Access type: read-write
5734  Description: ASC sample time compare value select. This is used to select between SCOMP0 and SCOMP1 registers for ASC operation.
5735 
5736  ENUMs:
5737  SEL_SCOMP0: Select SCOMP0
5738  SEL_SCOMP1: Select SCOMP1
5739 */
5740 #define ADC_CTL3_ASCSTIME 0x00000100U
5741 #define ADC_CTL3_ASCSTIME_M 0x00000100U
5742 #define ADC_CTL3_ASCSTIME_S 8U
5743 #define ADC_CTL3_ASCSTIME_SEL_SCOMP0 0x00000000U
5744 #define ADC_CTL3_ASCSTIME_SEL_SCOMP1 0x00000100U
5745 /*
5746 
5747  Field: ASCVRSEL
5748  From..to bits: 12...13
5749  DefaultValue: 0x0
5750  Access type: read-write
5751  Description: Selects the voltage reference for ASC operation. VEREFM must be connected to on-board ground when external reference option is selected.
5752  Note: Writing value 0x3 defaults to INTREF.
5753 
5754  ENUMs:
5755  EXTREF: EXTREF pin reference.
5756  INTREF: Internal reference.
5757 */
5758 #define ADC_CTL3_ASCVRSEL_W 2U
5759 #define ADC_CTL3_ASCVRSEL_M 0x00003000U
5760 #define ADC_CTL3_ASCVRSEL_S 12U
5761 #define ADC_CTL3_ASCVRSEL_EXTREF 0x00001000U
5762 #define ADC_CTL3_ASCVRSEL_INTREF 0x00002000U
5763 /*
5764 
5765  Field: ASCFSR
5766  From..to bits: 14...14
5767  DefaultValue: 0x0
5768  Access type: read-write
5769  Description: Full scale range of ADC limited to 1.8V or 3.3V
5770 
5771  *Exact range may be limited below the above mentioned voltages based on the design constraints
5772 
5773 */
5774 #define ADC_CTL3_ASCFSR 0x00004000U
5775 #define ADC_CTL3_ASCFSR_M 0x00004000U
5776 #define ADC_CTL3_ASCFSR_S 14U
5777 /*
5778 
5779  Field: ASCMODE
5780  From..to bits: 15...15
5781  DefaultValue: 0x0
5782  Access type: read-write
5783  Description: Single vs Differential
5784 
5785 */
5786 #define ADC_CTL3_ASCMODE 0x00008000U
5787 #define ADC_CTL3_ASCMODE_M 0x00008000U
5788 #define ADC_CTL3_ASCMODE_S 15U
5789 
5790 
5791 /*-----------------------------------REGISTER------------------------------------
5792  Register name: CLKFREQ
5793  Offset name: ADC_O_CLKFREQ
5794  Relative address: 0x1110
5795  Description: ADC sampling clock frequency range register.
5796  Default Value: 0x00000000
5797 
5798  Field: FRANGE
5799  From..to bits: 0...2
5800  DefaultValue: 0x0
5801  Access type: read-write
5802  Description: Frequency Range.
5803 
5804  NU
5805 
5806  ENUMs:
5807  RANGE1TO4: 1 to 4 MHz
5808  RANGE4TO8: 4 to 8 MHz
5809  RANGE8TO16: 8 to 16 MHz
5810  RANGE16TO20: 16 to 20 MHz
5811  RANGE20TO24: 20 to 24 MHz
5812  RANGE24TO32: 24 to 32 MHz
5813  RANGE32TO40: 32 to 40 MHz
5814  RANGE40TO48: 40 to 48 MHz
5815 */
5816 #define ADC_CLKFREQ_FRANGE_W 3U
5817 #define ADC_CLKFREQ_FRANGE_M 0x00000007U
5818 #define ADC_CLKFREQ_FRANGE_S 0U
5819 #define ADC_CLKFREQ_FRANGE_RANGE1TO4 0x00000000U
5820 #define ADC_CLKFREQ_FRANGE_RANGE4TO8 0x00000001U
5821 #define ADC_CLKFREQ_FRANGE_RANGE8TO16 0x00000002U
5822 #define ADC_CLKFREQ_FRANGE_RANGE16TO20 0x00000003U
5823 #define ADC_CLKFREQ_FRANGE_RANGE20TO24 0x00000004U
5824 #define ADC_CLKFREQ_FRANGE_RANGE24TO32 0x00000005U
5825 #define ADC_CLKFREQ_FRANGE_RANGE32TO40 0x00000006U
5826 #define ADC_CLKFREQ_FRANGE_RANGE40TO48 0x00000007U
5827 
5828 
5829 /*-----------------------------------REGISTER------------------------------------
5830  Register name: SCOMP0
5831  Offset name: ADC_O_SCOMP0
5832  Relative address: 0x1114
5833  Description: ULP_ADCHP sample time register x
5834  Specifies the sample time, in number of ADCCLK cycles, when PSSM = 0 (AUTO) or SSSM = 0 (AUTO).
5835  CTL0.ENC must be set to 0 to write to this register.
5836  Default Value: 0x00000000
5837 
5838  Field: SMP
5839  From..to bits: 0...13
5840  DefaultValue: 0x0
5841  Access type: read-write
5842  Description: SAMPLE
5843 
5844  This bit-field specify the number of sample time clocks (SCOMPx +1) for a conversion when SAMPLE_TIME in MEMCTLx is set to SCOMPx.
5845 
5846 */
5847 #define ADC_SCOMP0_SMP_W 14U
5848 #define ADC_SCOMP0_SMP_M 0x00003FFFU
5849 #define ADC_SCOMP0_SMP_S 0U
5850 
5851 
5852 /*-----------------------------------REGISTER------------------------------------
5853  Register name: SCOMP1
5854  Offset name: ADC_O_SCOMP1
5855  Relative address: 0x1118
5856  Description: ULP_ADCHP sample time register x
5857  Specifies the sample time, in number of ADCCLK cycles, when PSSM = 0 (AUTO) or SSSM = 0 (AUTO).
5858  CTL0.ENC must be set to 0 to write to this register.
5859  Default Value: 0x00000000
5860 
5861  Field: SMP
5862  From..to bits: 0...13
5863  DefaultValue: 0x0
5864  Access type: read-write
5865  Description: SAMPLE
5866 
5867  This bitfield specify the number of sample time clocks (SCOMPx +1) for a conversion when SAMPLE_TIME in MEMCTLx is set to SCOMPx.
5868 
5869 */
5870 #define ADC_SCOMP1_SMP_W 14U
5871 #define ADC_SCOMP1_SMP_M 0x00003FFFU
5872 #define ADC_SCOMP1_SMP_S 0U
5873 
5874 
5875 /*-----------------------------------REGISTER------------------------------------
5876  Register name: REFCFG
5877  Offset name: ADC_O_REFCFG
5878  Relative address: 0x111C
5879  Description: REFBUF configuration register
5880  Default Value: 0x00000000
5881 
5882  Field: REFEN
5883  From..to bits: 0...0
5884  DefaultValue: 0x0
5885  Access type: read-write
5886  Description: REFBUF enable
5887 
5888  ENUMs:
5889  DISABLE: Disable
5890  ENABLE: Enable
5891 */
5892 #define ADC_REFCFG_REFEN 0x00000001U
5893 #define ADC_REFCFG_REFEN_M 0x00000001U
5894 #define ADC_REFCFG_REFEN_S 0U
5895 #define ADC_REFCFG_REFEN_DISABLE 0x00000000U
5896 #define ADC_REFCFG_REFEN_ENABLE 0x00000001U
5897 /*
5898 
5899  Field: REFVSEL
5900  From..to bits: 1...1
5901  DefaultValue: 0x0
5902  Access type: read-write
5903  Description: Configures REFBUF output voltage
5904 
5905  ENUMs:
5906  V1P4: REFBUF generates 1.4V output
5907 */
5908 #define ADC_REFCFG_REFVSEL 0x00000002U
5909 #define ADC_REFCFG_REFVSEL_M 0x00000002U
5910 #define ADC_REFCFG_REFVSEL_S 1U
5911 #define ADC_REFCFG_REFVSEL_V1P4 0x00000000U
5912 /*
5913 
5914  Field: IBEN
5915  From..to bits: 2...2
5916  DefaultValue: 0x0
5917  Access type: read-write
5918  Description: REFBUF IBIAS enable
5919 
5920  ENUMs:
5921  DISABLE: Disable
5922  ENABLE: Enable
5923 */
5924 #define ADC_REFCFG_IBEN 0x00000004U
5925 #define ADC_REFCFG_IBEN_M 0x00000004U
5926 #define ADC_REFCFG_IBEN_S 2U
5927 #define ADC_REFCFG_IBEN_DISABLE 0x00000000U
5928 #define ADC_REFCFG_IBEN_ENABLE 0x00000004U
5929 /*
5930 
5931  Field: IBPROG
5932  From..to bits: 3...4
5933  DefaultValue: 0x0
5934  Access type: read-write
5935  Description: Configures REFBUF IBIAS current output value
5936 
5937  ENUMs:
5938  VAL0: 1uA
5939  VAL1: 0.5uA
5940  VAL2: 2uA
5941  VAL3: 0.67uA
5942 */
5943 #define ADC_REFCFG_IBPROG_W 2U
5944 #define ADC_REFCFG_IBPROG_M 0x00000018U
5945 #define ADC_REFCFG_IBPROG_S 3U
5946 #define ADC_REFCFG_IBPROG_VAL0 0x00000000U
5947 #define ADC_REFCFG_IBPROG_VAL1 0x00000008U
5948 #define ADC_REFCFG_IBPROG_VAL2 0x00000010U
5949 #define ADC_REFCFG_IBPROG_VAL3 0x00000018U
5950 /*
5951 
5952  Field: OSPRPWRDN
5953  From..to bits: 5...5
5954  DefaultValue: 0x0
5955  Access type: read-write
5956  Description: OSPREY POWER DOWN
5957 
5958  Similar to ADC PWRDN control to save power in duty cycled mode of operation. 0 - AUTO, 1 - MANUAL
5959 
5960  In case of ADC, Sample time MMR needs to take into account time required to power on ADC. Since REF BUF may take time in us, recommendation is to use REFOKf th output oe buffer instead to start ADC conversion
5961 
5962 */
5963 #define ADC_REFCFG_OSPRPWRDN 0x00000020U
5964 #define ADC_REFCFG_OSPRPWRDN_M 0x00000020U
5965 #define ADC_REFCFG_OSPRPWRDN_S 5U
5966 /*
5967 
5968  Field: SPAR
5969  From..to bits: 6...7
5970  DefaultValue: 0x0
5971  Access type: read-write
5972  Description: SPARE
5973 
5974 */
5975 #define ADC_REFCFG_SPAR_W 2U
5976 #define ADC_REFCFG_SPAR_M 0x000000C0U
5977 #define ADC_REFCFG_SPAR_S 6U
5978 
5979 
5980 /*-----------------------------------REGISTER------------------------------------
5981  Register name: WCLOW
5982  Offset name: ADC_O_WCLOW
5983  Relative address: 0x1148
5984  Description: ULP_ADCHP Window Comparator Low Threshold 0 Register.
5985  The data format that is used to write and read WCLOW0 depends on the value of the DATAFORMAT bit in the CTL1 register. If DATAFORMAT = 0, the data is binary unsigned and right aligned. If DATAFORMAT = 1, the data is 2s complement and left aligned. Refer to the WCLOW0 bit-field description for details.
5986  CTL0.ENC must be set to 0 to write to this register.
5987  Design Note: To minimize cycles transforming data, the data written to WCLOW0 should be transformed into DATAFORMAT = 0 to match the MEMRESx register so a direct comparison can be done. Thus, there are extra cycles to write to this register but no penalty when a comparison is done.
5988  Default Value: 0x00000000
5989 
5990  Field: DATA
5991  From..to bits: 0...15
5992  DefaultValue: 0x0
5993  Access type: read-write
5994  Description: Low threshold register 0.
5995  If DATAFORMAT = 0, unsigned binary format has to be used:
5996  The value based on the resolution has to be right aligned with the MSB on the left.
5997  For 14-bits and 12-bits resolution, unused bit have to be 0s
5998  Reset value is 0x0000.
5999  If DATAFORMAT = 1, 2s-complement format has to be used.
6000  The value based on the resolution has to be left aligned with the LSB on the right.
6001  For 14-bits and 12-bits resolution, unused bit have to be 0s
6002  Reset value is 0x8000.
6003 
6004 */
6005 #define ADC_WCLOW_DATA_W 16U
6006 #define ADC_WCLOW_DATA_M 0x0000FFFFU
6007 #define ADC_WCLOW_DATA_S 0U
6008 
6009 
6010 /*-----------------------------------REGISTER------------------------------------
6011  Register name: WCHI
6012  Offset name: ADC_O_WCHI
6013  Relative address: 0x1150
6014  Description: WC HIGH
6015 
6016  ULP_ADCHP Window Comparator High Threshold 0 Register.
6017  The data format that is used to write and read WCHIGH0 depends on the value of the DATAFORMAT bit in the CTL1 register. If DATAFORMAT = 0, the data is binary unsigned and right aligned. If DATAFORMAT = 1, the data is 2s complement and left aligned. Refer to the WCHIGH0 bit-field description for details.
6018  CTL0.ENC must be set to 0 to write to this register.
6019  Design Note: To minimize cycles transforming data, the data written to WCHIGH0 should be transformed in DATAFORMAT = 0 to match the MEMRESx register so a direct comparison can be done. Thus, there are extra cycles to write to this register but no penalty when a comparison is done.
6020  Default Value: 0x00000000
6021 
6022  Field: DATA
6023  From..to bits: 0...15
6024  DefaultValue: 0x0
6025  Access type: read-write
6026  Description: ULP_ADCHP Low threshold register 0.
6027  If DATAFORMAT = 0, unsigned binary format has to be used:
6028  The threshold value has to be right aligned, with the MSB on the left.
6029  Reset value are: 0xFFFF (16-bit), 0x3FFF (14-bit) or 0x0FFF (12-bit)
6030 
6031  If DATAFORMAT = 1, 2s-complement format has to be used.
6032  The value based on the resolution has to be left aligned with the LSB on the right.
6033  For 14-bits and 12-bits resolution, unused bit have to be 0s
6034  Reset value are: 0x7FFF (16-bit), 0x7FFC (14-bit) or 0x7FF0 (12-bit)
6035 
6036 
6037 */
6038 #define ADC_WCHI_DATA_W 16U
6039 #define ADC_WCHI_DATA_M 0x0000FFFFU
6040 #define ADC_WCHI_DATA_S 0U
6041 
6042 
6043 /*-----------------------------------REGISTER------------------------------------
6044  Register name: FIFODATA
6045  Offset name: ADC_O_FIFODATA
6046  Relative address: 0x1160
6047  Description: Virtual data register used to do a read from FIFO.
6048  Default Value: NA
6049 
6050  Field: DATA
6051  From..to bits: 0...31
6052  DefaultValue: NA
6053  Access type: read-only
6054  Description: Read from data field returns the data from the top of FIFO.
6055 
6056 */
6057 #define ADC_FIFODATA_DATA_W 32U
6058 #define ADC_FIFODATA_DATA_M 0xFFFFFFFFU
6059 #define ADC_FIFODATA_DATA_S 0U
6060 
6061 
6062 /*-----------------------------------REGISTER------------------------------------
6063  Register name: ASCRES
6064  Offset name: ADC_O_ASCRES
6065  Relative address: 0x1170
6066  Description: ASC result register.
6067  Default Value: 0x00000000
6068 
6069  Field: DATA
6070  From..to bits: 0...15
6071  DefaultValue: 0x0
6072  Access type: read-only
6073  Description: Data
6074 
6075 */
6076 #define ADC_ASCRES_DATA_W 16U
6077 #define ADC_ASCRES_DATA_M 0x0000FFFFU
6078 #define ADC_ASCRES_DATA_S 0U
6079 
6080 
6081 /*-----------------------------------REGISTER------------------------------------
6082  Register name: MEMCTL_0
6083  Offset name: ADC_O_MEMCTL_0
6084  Relative address: 0x1180
6085  Description: ULP_ADCHP Conversion Memory Control Register x (x=0 to 31)
6086  CTL0.ENC must be set to 0 to write to this register.
6087  Default Value: 0x00000100
6088 
6089  Field: CHANSEL
6090  From..to bits: 0...4
6091  DefaultValue: 0x0
6092  Access type: read-write
6093  Description: ULP_ADCHP Input channel select.
6094  In single ended mode, any of the 32 channels can be selected.
6095  In differential mode, this field will select which EVEN channel to be connected to the vin+ input.
6096  The vin- is automatically set to the next ODD channel. (CHANSEL+1)
6097 
6098  ENUMs:
6099  CHAN_0: If DIFIN= 0: Ain+ = A0. If DIFIN = 1: Ain+ = A0, Ain- = A1
6100 
6101  CHAN_1: If DIFIN= 0: Ain+ = A1. If DIFIN = 1: Ain+ = A0, Ain- = A1
6102  CHAN_2: If DIFIN = 0: Ain+ = A2. If DIFIN = 1: Ain+ = A2, Ain- = A3
6103  CHAN_3: If DIFIN = 0: Ain+ = A3. If DIFIN = 1: Ain+ = A2, Ain- = A3
6104  CHAN_4: If DIFIN = 0: Ain+ = A4. If DIFIN = 1: Ain+ = A4, Ain- = A5
6105  CHAN_5: If DIFIN = 0: Ain+ = A5. If DIFIN = 1: Ain+ = A4, Ain- = A5
6106  CHAN_6: If DIFIN = 0: Ain+ = A6. If DIFIN = 1: Ain+ = A6, Ain- = A7
6107  CHAN_7: If DIFIN = 0: Ain+ = A7. If DIFIN = 1: Ain+ = A6, Ain- = A7
6108  CHAN_8: If DIFIN = 0: Ain+ = A8. If DIFIN = 1: Ain+ = A8, Ain- = A9
6109  CHAN_9: If DIFIN= 0: Ain+ = A9. If DIFIN = 1: Ain+ = A8, Ain- = A9
6110  CHAN_10: If DIFIN= 0: Ain+ = A10. If DIFIN = 1: Ain+ = A10, Ain- = A11
6111  CHAN_11: If DIFIN= 0: Ain+ = A11. If DIFIN = 1: Ain+ = A10, Ain- = A11
6112  CHAN_12: If DIFIN= 0: Ain+ = A12. If DIFIN = 1: Ain+ = A12, Ain- = A13
6113  CHAN_13: If DIFIN= 0: Ain+ = A13. If DIFIN = 1: Ain+ = A12, Ain- = A13
6114  CHAN_14: If DIFIN= 0: Ain+ = A14. If DIFIN = 1: Ain+ = A14, Ain- = A15
6115  CHAN_15: If DIFIN= 0: Ain+ = A15. If DIFIN = 1: Ain+ = A14, Ain- = A15
6116  CHAN_16: If DIFIN= 0: Ain+ = A16. If DIFIN = 1: Ain+ = A16, Ain- = A17
6117  CHAN_17: If DIFIN= 0: Ain+ = A17. If DIFIN = 1: Ain+ = A16, Ain- = A17
6118  CHAN_18: If DIFIN= 0: Ain+ = A18. If DIFIN = 1: Ain+ = A18, Ain- = A19
6119  CHAN_19: If DIFIN= 0: Ain+ = A19. If DIFIN = 1: Ain+ = A18, Ain- = A19
6120  CHAN_20: If DIFIN= 0: Ain+ = A20. If DIFIN = 1: Ain+ = A20, Ain- = A21
6121  CHAN_21: If DIFIN= 0: Ain+ = A21. If DIFIN = 1: Ain+ = A20, Ain- = A21
6122  CHAN_22: If DIFIN= 0: Ain+ = A22. If DIFIN = 1: Ain+ = A22, Ain- = A23
6123  CHAN_23: If DIFIN= 0: Ain+ = A23. If DIFIN = 1: Ain+ = A22, Ain- = A23
6124  CHAN_24: If DIFIN= 0: Ain+ = A24. If DIFIN = 1: Ain+ = A24, Ain- = A25
6125  CHAN_25: If DIFIN= 0: Ain+ = A25. If DIFIN = 1: Ain+ = A24, Ain- = A25
6126  CHAN_26: If DIFIN= 0: Ain+ = A26. If DIFIN = 1: Ain+ = A26, Ain- = A27
6127  CHAN_27: If DIFIN= 0: Ain+ = A27. If DIFIN = 1: Ain+ = A26, Ain- = A27
6128  CHAN_28: If DIFIN= 0: Ain+ = A28. If DIFIN = 1: Ain+ = A28, Ain- = A29
6129  CHAN_29: If DIFIN= 0: Ain+ = A29. If DIFIN = 1: Ain+ = A28, Ain- = A29
6130  CHAN_30: If DIFIN= 0: Ain+ = A30. If DIFIN = 1: Ain+ = A30, Ain- = A31
6131  CHAN_31: If DIFIN= 0: Ain+ = A31. If DIFIN = 1: Ain+ = A30, Ain- = A31
6132 */
6133 #define ADC_MEMCTL_0_CHANSEL_W 5U
6134 #define ADC_MEMCTL_0_CHANSEL_M 0x0000001FU
6135 #define ADC_MEMCTL_0_CHANSEL_S 0U
6136 #define ADC_MEMCTL_0_CHANSEL_CHAN_0 0x00000000U
6137 #define ADC_MEMCTL_0_CHANSEL_CHAN_1 0x00000001U
6138 #define ADC_MEMCTL_0_CHANSEL_CHAN_2 0x00000002U
6139 #define ADC_MEMCTL_0_CHANSEL_CHAN_3 0x00000003U
6140 #define ADC_MEMCTL_0_CHANSEL_CHAN_4 0x00000004U
6141 #define ADC_MEMCTL_0_CHANSEL_CHAN_5 0x00000005U
6142 #define ADC_MEMCTL_0_CHANSEL_CHAN_6 0x00000006U
6143 #define ADC_MEMCTL_0_CHANSEL_CHAN_7 0x00000007U
6144 #define ADC_MEMCTL_0_CHANSEL_CHAN_8 0x00000008U
6145 #define ADC_MEMCTL_0_CHANSEL_CHAN_9 0x00000009U
6146 #define ADC_MEMCTL_0_CHANSEL_CHAN_10 0x0000000AU
6147 #define ADC_MEMCTL_0_CHANSEL_CHAN_11 0x0000000BU
6148 #define ADC_MEMCTL_0_CHANSEL_CHAN_12 0x0000000CU
6149 #define ADC_MEMCTL_0_CHANSEL_CHAN_13 0x0000000DU
6150 #define ADC_MEMCTL_0_CHANSEL_CHAN_14 0x0000000EU
6151 #define ADC_MEMCTL_0_CHANSEL_CHAN_15 0x0000000FU
6152 #define ADC_MEMCTL_0_CHANSEL_CHAN_16 0x00000010U
6153 #define ADC_MEMCTL_0_CHANSEL_CHAN_17 0x00000011U
6154 #define ADC_MEMCTL_0_CHANSEL_CHAN_18 0x00000012U
6155 #define ADC_MEMCTL_0_CHANSEL_CHAN_19 0x00000013U
6156 #define ADC_MEMCTL_0_CHANSEL_CHAN_20 0x00000014U
6157 #define ADC_MEMCTL_0_CHANSEL_CHAN_21 0x00000015U
6158 #define ADC_MEMCTL_0_CHANSEL_CHAN_22 0x00000016U
6159 #define ADC_MEMCTL_0_CHANSEL_CHAN_23 0x00000017U
6160 #define ADC_MEMCTL_0_CHANSEL_CHAN_24 0x00000018U
6161 #define ADC_MEMCTL_0_CHANSEL_CHAN_25 0x00000019U
6162 #define ADC_MEMCTL_0_CHANSEL_CHAN_26 0x0000001AU
6163 #define ADC_MEMCTL_0_CHANSEL_CHAN_27 0x0000001BU
6164 #define ADC_MEMCTL_0_CHANSEL_CHAN_28 0x0000001CU
6165 #define ADC_MEMCTL_0_CHANSEL_CHAN_29 0x0000001DU
6166 #define ADC_MEMCTL_0_CHANSEL_CHAN_30 0x0000001EU
6167 #define ADC_MEMCTL_0_CHANSEL_CHAN_31 0x0000001FU
6168 /*
6169 
6170  Field: VRSEL
6171  From..to bits: 8...9
6172  DefaultValue: 0x1
6173  Access type: read-write
6174  Description: Selects the combination of V(Rp) and V(Rn) sources.
6175  It is recommended to connect VeREFn0 to on-board ground when VeREFn is selected for V(Rn).
6176 
6177  Note: A value of 3 defaults to INTREF and value of 0 defaults to EXTREF.
6178 
6179  ENUMs:
6180  EXTREF: EXTREF pin reference.
6181  INTREF: INTREF reference.
6182 */
6183 #define ADC_MEMCTL_0_VRSEL_W 2U
6184 #define ADC_MEMCTL_0_VRSEL_M 0x00000300U
6185 #define ADC_MEMCTL_0_VRSEL_S 8U
6186 #define ADC_MEMCTL_0_VRSEL_EXTREF 0x00000100U
6187 #define ADC_MEMCTL_0_VRSEL_INTREF 0x00000200U
6188 /*
6189 
6190  Field: STIME
6191  From..to bits: 12...12
6192  DefaultValue: 0x0
6193  Access type: read-write
6194  Description: Selects the source of sample timer period. Can choose between SCOMP0 and SCOMP1.
6195 
6196  ENUMs:
6197  SEL_SCOMP0: Select SCOMP0.
6198  SEL_SCOMP1: Select SCOMP1.
6199 */
6200 #define ADC_MEMCTL_0_STIME 0x00001000U
6201 #define ADC_MEMCTL_0_STIME_M 0x00001000U
6202 #define ADC_MEMCTL_0_STIME_S 12U
6203 #define ADC_MEMCTL_0_STIME_SEL_SCOMP0 0x00000000U
6204 #define ADC_MEMCTL_0_STIME_SEL_SCOMP1 0x00001000U
6205 /*
6206 
6207  Field: AVGEN
6208  From..to bits: 16...16
6209  DefaultValue: 0x0
6210  Access type: read-write
6211  Description: Enable averaging.
6212 
6213  ENUMs:
6214  DISABLE: Averaging disabled.
6215  ENABLE: Averaging enabled.
6216 */
6217 #define ADC_MEMCTL_0_AVGEN 0x00010000U
6218 #define ADC_MEMCTL_0_AVGEN_M 0x00010000U
6219 #define ADC_MEMCTL_0_AVGEN_S 16U
6220 #define ADC_MEMCTL_0_AVGEN_DISABLE 0x00000000U
6221 #define ADC_MEMCTL_0_AVGEN_ENABLE 0x00010000U
6222 /*
6223 
6224  Field: TRIG
6225  From..to bits: 24...24
6226  DefaultValue: 0x0
6227  Access type: read-write
6228  Description: TRIG. Indicates if a trigger will be needed to step to the next MEMCTL in the sequence.
6229 
6230  ENUMs:
6231  AUTO_NEXT: Automatically step to next MEMCTL register.
6232  TRIGGER_NEXT: A valid trigger will step to next MEMCTL register.
6233 */
6234 #define ADC_MEMCTL_0_TRIG 0x01000000U
6235 #define ADC_MEMCTL_0_TRIG_M 0x01000000U
6236 #define ADC_MEMCTL_0_TRIG_S 24U
6237 #define ADC_MEMCTL_0_TRIG_AUTO_NEXT 0x00000000U
6238 #define ADC_MEMCTL_0_TRIG_TRIGGER_NEXT 0x01000000U
6239 /*
6240 
6241  Field: WINCOMP
6242  From..to bits: 28...28
6243  DefaultValue: 0x0
6244  Access type: read-write
6245  Description: Window Comparator Enable.
6246  Select for the current conversion if the Window Comparator feature is used.
6247 
6248  ENUMs:
6249  DISABLE: Window Comparator is disabled.
6250  ENABLE: Window Comparator is enabled.
6251 */
6252 #define ADC_MEMCTL_0_WINCOMP 0x10000000U
6253 #define ADC_MEMCTL_0_WINCOMP_M 0x10000000U
6254 #define ADC_MEMCTL_0_WINCOMP_S 28U
6255 #define ADC_MEMCTL_0_WINCOMP_DISABLE 0x00000000U
6256 #define ADC_MEMCTL_0_WINCOMP_ENABLE 0x10000000U
6257 /*
6258 
6259  Field: FSR
6260  From..to bits: 29...29
6261  DefaultValue: 0x0
6262  Access type: read-write
6263  Description: Full scale range of ADC limited to 1.8V or 3.3V
6264  '0' - 3.3V
6265  '1' - 1.8V
6266  * Exact range may be limited below the above mentioned voltages based on the design constraints
6267 
6268 */
6269 #define ADC_MEMCTL_0_FSR 0x20000000U
6270 #define ADC_MEMCTL_0_FSR_M 0x20000000U
6271 #define ADC_MEMCTL_0_FSR_S 29U
6272 /*
6273 
6274  Field: MOD
6275  From..to bits: 30...30
6276  DefaultValue: 0x0
6277  Access type: read-write
6278  Description: MODE
6279 
6280  Single vs Differential
6281 
6282 */
6283 #define ADC_MEMCTL_0_MOD 0x40000000U
6284 #define ADC_MEMCTL_0_MOD_M 0x40000000U
6285 #define ADC_MEMCTL_0_MOD_S 30U
6286 
6287 
6288 /*-----------------------------------REGISTER------------------------------------
6289  Register name: MEMCTL_1
6290  Offset name: ADC_O_MEMCTL_1
6291  Relative address: 0x1184
6292  Description: ULP_ADCHP Conversion Memory Control Register x (x=0 to 31)
6293  CTL0.ENC must be set to 0 to write to this register.
6294  Default Value: 0x00000100
6295 
6296  Field: CHANSEL
6297  From..to bits: 0...4
6298  DefaultValue: 0x0
6299  Access type: read-write
6300  Description: ULP_ADCHP Input channel select.
6301  In single ended mode, any of the 32 channels can be selected.
6302  In differential mode, this field will select which EVEN channel to be connected to the vin+ input.
6303  The vin- is automatically set to the next ODD channel. (CHANSEL+1)
6304 
6305  ENUMs:
6306  CHAN_0: If DIFIN= 0: Ain+ = A0. If DIFIN = 1: Ain+ = A0, Ain- = A1
6307 
6308  CHAN_1: If DIFIN= 0: Ain+ = A1. If DIFIN = 1: Ain+ = A0, Ain- = A1
6309  CHAN_2: If DIFIN = 0: Ain+ = A2. If DIFIN = 1: Ain+ = A2, Ain- = A3
6310  CHAN_3: If DIFIN = 0: Ain+ = A3. If DIFIN = 1: Ain+ = A2, Ain- = A3
6311  CHAN_4: If DIFIN = 0: Ain+ = A4. If DIFIN = 1: Ain+ = A4, Ain- = A5
6312  CHAN_5: If DIFIN = 0: Ain+ = A5. If DIFIN = 1: Ain+ = A4, Ain- = A5
6313  CHAN_6: If DIFIN = 0: Ain+ = A6. If DIFIN = 1: Ain+ = A6, Ain- = A7
6314  CHAN_7: If DIFIN = 0: Ain+ = A7. If DIFIN = 1: Ain+ = A6, Ain- = A7
6315  CHAN_8: If DIFIN = 0: Ain+ = A8. If DIFIN = 1: Ain+ = A8, Ain- = A9
6316  CHAN_9: If DIFIN= 0: Ain+ = A9. If DIFIN = 1: Ain+ = A8, Ain- = A9
6317  CHAN_10: If DIFIN= 0: Ain+ = A10. If DIFIN = 1: Ain+ = A10, Ain- = A11
6318  CHAN_11: If DIFIN= 0: Ain+ = A11. If DIFIN = 1: Ain+ = A10, Ain- = A11
6319  CHAN_12: If DIFIN= 0: Ain+ = A12. If DIFIN = 1: Ain+ = A12, Ain- = A13
6320  CHAN_13: If DIFIN= 0: Ain+ = A13. If DIFIN = 1: Ain+ = A12, Ain- = A13
6321  CHAN_14: If DIFIN= 0: Ain+ = A14. If DIFIN = 1: Ain+ = A14, Ain- = A15
6322  CHAN_15: If DIFIN= 0: Ain+ = A15. If DIFIN = 1: Ain+ = A14, Ain- = A15
6323  CHAN_16: If DIFIN= 0: Ain+ = A16. If DIFIN = 1: Ain+ = A16, Ain- = A17
6324  CHAN_17: If DIFIN= 0: Ain+ = A17. If DIFIN = 1: Ain+ = A16, Ain- = A17
6325  CHAN_18: If DIFIN= 0: Ain+ = A18. If DIFIN = 1: Ain+ = A18, Ain- = A19
6326  CHAN_19: If DIFIN= 0: Ain+ = A19. If DIFIN = 1: Ain+ = A18, Ain- = A19
6327  CHAN_20: If DIFIN= 0: Ain+ = A20. If DIFIN = 1: Ain+ = A20, Ain- = A21
6328  CHAN_21: If DIFIN= 0: Ain+ = A21. If DIFIN = 1: Ain+ = A20, Ain- = A21
6329  CHAN_22: If DIFIN= 0: Ain+ = A22. If DIFIN = 1: Ain+ = A22, Ain- = A23
6330  CHAN_23: If DIFIN= 0: Ain+ = A23. If DIFIN = 1: Ain+ = A22, Ain- = A23
6331  CHAN_24: If DIFIN= 0: Ain+ = A24. If DIFIN = 1: Ain+ = A24, Ain- = A25
6332  CHAN_25: If DIFIN= 0: Ain+ = A25. If DIFIN = 1: Ain+ = A24, Ain- = A25
6333  CHAN_26: If DIFIN= 0: Ain+ = A26. If DIFIN = 1: Ain+ = A26, Ain- = A27
6334  CHAN_27: If DIFIN= 0: Ain+ = A27. If DIFIN = 1: Ain+ = A26, Ain- = A27
6335  CHAN_28: If DIFIN= 0: Ain+ = A28. If DIFIN = 1: Ain+ = A28, Ain- = A29
6336  CHAN_29: If DIFIN= 0: Ain+ = A29. If DIFIN = 1: Ain+ = A28, Ain- = A29
6337  CHAN_30: If DIFIN= 0: Ain+ = A30. If DIFIN = 1: Ain+ = A30, Ain- = A31
6338  CHAN_31: If DIFIN= 0: Ain+ = A31. If DIFIN = 1: Ain+ = A30, Ain- = A31
6339 */
6340 #define ADC_MEMCTL_1_CHANSEL_W 5U
6341 #define ADC_MEMCTL_1_CHANSEL_M 0x0000001FU
6342 #define ADC_MEMCTL_1_CHANSEL_S 0U
6343 #define ADC_MEMCTL_1_CHANSEL_CHAN_0 0x00000000U
6344 #define ADC_MEMCTL_1_CHANSEL_CHAN_1 0x00000001U
6345 #define ADC_MEMCTL_1_CHANSEL_CHAN_2 0x00000002U
6346 #define ADC_MEMCTL_1_CHANSEL_CHAN_3 0x00000003U
6347 #define ADC_MEMCTL_1_CHANSEL_CHAN_4 0x00000004U
6348 #define ADC_MEMCTL_1_CHANSEL_CHAN_5 0x00000005U
6349 #define ADC_MEMCTL_1_CHANSEL_CHAN_6 0x00000006U
6350 #define ADC_MEMCTL_1_CHANSEL_CHAN_7 0x00000007U
6351 #define ADC_MEMCTL_1_CHANSEL_CHAN_8 0x00000008U
6352 #define ADC_MEMCTL_1_CHANSEL_CHAN_9 0x00000009U
6353 #define ADC_MEMCTL_1_CHANSEL_CHAN_10 0x0000000AU
6354 #define ADC_MEMCTL_1_CHANSEL_CHAN_11 0x0000000BU
6355 #define ADC_MEMCTL_1_CHANSEL_CHAN_12 0x0000000CU
6356 #define ADC_MEMCTL_1_CHANSEL_CHAN_13 0x0000000DU
6357 #define ADC_MEMCTL_1_CHANSEL_CHAN_14 0x0000000EU
6358 #define ADC_MEMCTL_1_CHANSEL_CHAN_15 0x0000000FU
6359 #define ADC_MEMCTL_1_CHANSEL_CHAN_16 0x00000010U
6360 #define ADC_MEMCTL_1_CHANSEL_CHAN_17 0x00000011U
6361 #define ADC_MEMCTL_1_CHANSEL_CHAN_18 0x00000012U
6362 #define ADC_MEMCTL_1_CHANSEL_CHAN_19 0x00000013U
6363 #define ADC_MEMCTL_1_CHANSEL_CHAN_20 0x00000014U
6364 #define ADC_MEMCTL_1_CHANSEL_CHAN_21 0x00000015U
6365 #define ADC_MEMCTL_1_CHANSEL_CHAN_22 0x00000016U
6366 #define ADC_MEMCTL_1_CHANSEL_CHAN_23 0x00000017U
6367 #define ADC_MEMCTL_1_CHANSEL_CHAN_24 0x00000018U
6368 #define ADC_MEMCTL_1_CHANSEL_CHAN_25 0x00000019U
6369 #define ADC_MEMCTL_1_CHANSEL_CHAN_26 0x0000001AU
6370 #define ADC_MEMCTL_1_CHANSEL_CHAN_27 0x0000001BU
6371 #define ADC_MEMCTL_1_CHANSEL_CHAN_28 0x0000001CU
6372 #define ADC_MEMCTL_1_CHANSEL_CHAN_29 0x0000001DU
6373 #define ADC_MEMCTL_1_CHANSEL_CHAN_30 0x0000001EU
6374 #define ADC_MEMCTL_1_CHANSEL_CHAN_31 0x0000001FU
6375 /*
6376 
6377  Field: VRSEL
6378  From..to bits: 8...9
6379  DefaultValue: 0x1
6380  Access type: read-write
6381  Description: Selects the combination of V(Rp) and V(Rn) sources.
6382  It is recommended to connect VeREFn0 to on-board ground when VeREFn is selected for V(Rn).
6383 
6384  Note: A value of 3 defaults to INTREF and value of 0 defaults to EXTREF.
6385 
6386  ENUMs:
6387  EXTREF: EXTREF pin reference.
6388  INTREF: INTREF reference.
6389 */
6390 #define ADC_MEMCTL_1_VRSEL_W 2U
6391 #define ADC_MEMCTL_1_VRSEL_M 0x00000300U
6392 #define ADC_MEMCTL_1_VRSEL_S 8U
6393 #define ADC_MEMCTL_1_VRSEL_EXTREF 0x00000100U
6394 #define ADC_MEMCTL_1_VRSEL_INTREF 0x00000200U
6395 /*
6396 
6397  Field: STIME
6398  From..to bits: 12...12
6399  DefaultValue: 0x0
6400  Access type: read-write
6401  Description: Selects the source of sample timer period. Can choose between SCOMP0 and SCOMP1.
6402 
6403  ENUMs:
6404  SEL_SCOMP0: Select SCOMP0.
6405  SEL_SCOMP1: Select SCOMP1.
6406 */
6407 #define ADC_MEMCTL_1_STIME 0x00001000U
6408 #define ADC_MEMCTL_1_STIME_M 0x00001000U
6409 #define ADC_MEMCTL_1_STIME_S 12U
6410 #define ADC_MEMCTL_1_STIME_SEL_SCOMP0 0x00000000U
6411 #define ADC_MEMCTL_1_STIME_SEL_SCOMP1 0x00001000U
6412 /*
6413 
6414  Field: AVGEN
6415  From..to bits: 16...16
6416  DefaultValue: 0x0
6417  Access type: read-write
6418  Description: Enable averaging.
6419 
6420  ENUMs:
6421  DISABLE: Averaging disabled.
6422  ENABLE: Averaging enabled.
6423 */
6424 #define ADC_MEMCTL_1_AVGEN 0x00010000U
6425 #define ADC_MEMCTL_1_AVGEN_M 0x00010000U
6426 #define ADC_MEMCTL_1_AVGEN_S 16U
6427 #define ADC_MEMCTL_1_AVGEN_DISABLE 0x00000000U
6428 #define ADC_MEMCTL_1_AVGEN_ENABLE 0x00010000U
6429 /*
6430 
6431  Field: TRIG
6432  From..to bits: 24...24
6433  DefaultValue: 0x0
6434  Access type: read-write
6435  Description: TRIG. Indicates if a trigger will be needed to step to the next MEMCTL in the sequence.
6436 
6437  ENUMs:
6438  AUTO_NEXT: Automatically step to next MEMCTL register.
6439  TRIGGER_NEXT: A valid trigger will step to next MEMCTL register.
6440 */
6441 #define ADC_MEMCTL_1_TRIG 0x01000000U
6442 #define ADC_MEMCTL_1_TRIG_M 0x01000000U
6443 #define ADC_MEMCTL_1_TRIG_S 24U
6444 #define ADC_MEMCTL_1_TRIG_AUTO_NEXT 0x00000000U
6445 #define ADC_MEMCTL_1_TRIG_TRIGGER_NEXT 0x01000000U
6446 /*
6447 
6448  Field: WINCOMP
6449  From..to bits: 28...28
6450  DefaultValue: 0x0
6451  Access type: read-write
6452  Description: Window Comparator Enable.
6453  Select for the current conversion if the Window Comparator feature is used.
6454 
6455  ENUMs:
6456  DISABLE: Window Comparator is disabled.
6457  ENABLE: Window Comparator is enabled.
6458 */
6459 #define ADC_MEMCTL_1_WINCOMP 0x10000000U
6460 #define ADC_MEMCTL_1_WINCOMP_M 0x10000000U
6461 #define ADC_MEMCTL_1_WINCOMP_S 28U
6462 #define ADC_MEMCTL_1_WINCOMP_DISABLE 0x00000000U
6463 #define ADC_MEMCTL_1_WINCOMP_ENABLE 0x10000000U
6464 /*
6465 
6466  Field: FSR
6467  From..to bits: 29...29
6468  DefaultValue: 0x0
6469  Access type: read-write
6470  Description: Full scale range of ADC limited to 1.8V or 3.3V
6471  '0' - 3.3V
6472  '1' - 1.8V
6473  * Exact range may be limited below the above mentioned voltages based on the design constraints
6474 
6475 */
6476 #define ADC_MEMCTL_1_FSR 0x20000000U
6477 #define ADC_MEMCTL_1_FSR_M 0x20000000U
6478 #define ADC_MEMCTL_1_FSR_S 29U
6479 /*
6480 
6481  Field: MOD
6482  From..to bits: 30...30
6483  DefaultValue: 0x0
6484  Access type: read-write
6485  Description: MODE
6486 
6487  Single vs Differential
6488 
6489 */
6490 #define ADC_MEMCTL_1_MOD 0x40000000U
6491 #define ADC_MEMCTL_1_MOD_M 0x40000000U
6492 #define ADC_MEMCTL_1_MOD_S 30U
6493 
6494 
6495 /*-----------------------------------REGISTER------------------------------------
6496  Register name: MEMCTL_2
6497  Offset name: ADC_O_MEMCTL_2
6498  Relative address: 0x1188
6499  Description: ULP_ADCHP Conversion Memory Control Register x (x=0 to 31)
6500  CTL0.ENC must be set to 0 to write to this register.
6501  Default Value: 0x00000100
6502 
6503  Field: CHANSEL
6504  From..to bits: 0...4
6505  DefaultValue: 0x0
6506  Access type: read-write
6507  Description: ULP_ADCHP Input channel select.
6508  In single ended mode, any of the 32 channels can be selected.
6509  In differential mode, this field will select which EVEN channel to be connected to the vin+ input.
6510  The vin- is automatically set to the next ODD channel. (CHANSEL+1)
6511 
6512  ENUMs:
6513  CHAN_0: If DIFIN= 0: Ain+ = A0. If DIFIN = 1: Ain+ = A0, Ain- = A1
6514 
6515  CHAN_1: If DIFIN= 0: Ain+ = A1. If DIFIN = 1: Ain+ = A0, Ain- = A1
6516  CHAN_2: If DIFIN = 0: Ain+ = A2. If DIFIN = 1: Ain+ = A2, Ain- = A3
6517  CHAN_3: If DIFIN = 0: Ain+ = A3. If DIFIN = 1: Ain+ = A2, Ain- = A3
6518  CHAN_4: If DIFIN = 0: Ain+ = A4. If DIFIN = 1: Ain+ = A4, Ain- = A5
6519  CHAN_5: If DIFIN = 0: Ain+ = A5. If DIFIN = 1: Ain+ = A4, Ain- = A5
6520  CHAN_6: If DIFIN = 0: Ain+ = A6. If DIFIN = 1: Ain+ = A6, Ain- = A7
6521  CHAN_7: If DIFIN = 0: Ain+ = A7. If DIFIN = 1: Ain+ = A6, Ain- = A7
6522  CHAN_8: If DIFIN = 0: Ain+ = A8. If DIFIN = 1: Ain+ = A8, Ain- = A9
6523  CHAN_9: If DIFIN= 0: Ain+ = A9. If DIFIN = 1: Ain+ = A8, Ain- = A9
6524  CHAN_10: If DIFIN= 0: Ain+ = A10. If DIFIN = 1: Ain+ = A10, Ain- = A11
6525  CHAN_11: If DIFIN= 0: Ain+ = A11. If DIFIN = 1: Ain+ = A10, Ain- = A11
6526  CHAN_12: If DIFIN= 0: Ain+ = A12. If DIFIN = 1: Ain+ = A12, Ain- = A13
6527  CHAN_13: If DIFIN= 0: Ain+ = A13. If DIFIN = 1: Ain+ = A12, Ain- = A13
6528  CHAN_14: If DIFIN= 0: Ain+ = A14. If DIFIN = 1: Ain+ = A14, Ain- = A15
6529  CHAN_15: If DIFIN= 0: Ain+ = A15. If DIFIN = 1: Ain+ = A14, Ain- = A15
6530  CHAN_16: If DIFIN= 0: Ain+ = A16. If DIFIN = 1: Ain+ = A16, Ain- = A17
6531  CHAN_17: If DIFIN= 0: Ain+ = A17. If DIFIN = 1: Ain+ = A16, Ain- = A17
6532  CHAN_18: If DIFIN= 0: Ain+ = A18. If DIFIN = 1: Ain+ = A18, Ain- = A19
6533  CHAN_19: If DIFIN= 0: Ain+ = A19. If DIFIN = 1: Ain+ = A18, Ain- = A19
6534  CHAN_20: If DIFIN= 0: Ain+ = A20. If DIFIN = 1: Ain+ = A20, Ain- = A21
6535  CHAN_21: If DIFIN= 0: Ain+ = A21. If DIFIN = 1: Ain+ = A20, Ain- = A21
6536  CHAN_22: If DIFIN= 0: Ain+ = A22. If DIFIN = 1: Ain+ = A22, Ain- = A23
6537  CHAN_23: If DIFIN= 0: Ain+ = A23. If DIFIN = 1: Ain+ = A22, Ain- = A23
6538  CHAN_24: If DIFIN= 0: Ain+ = A24. If DIFIN = 1: Ain+ = A24, Ain- = A25
6539  CHAN_25: If DIFIN= 0: Ain+ = A25. If DIFIN = 1: Ain+ = A24, Ain- = A25
6540  CHAN_26: If DIFIN= 0: Ain+ = A26. If DIFIN = 1: Ain+ = A26, Ain- = A27
6541  CHAN_27: If DIFIN= 0: Ain+ = A27. If DIFIN = 1: Ain+ = A26, Ain- = A27
6542  CHAN_28: If DIFIN= 0: Ain+ = A28. If DIFIN = 1: Ain+ = A28, Ain- = A29
6543  CHAN_29: If DIFIN= 0: Ain+ = A29. If DIFIN = 1: Ain+ = A28, Ain- = A29
6544  CHAN_30: If DIFIN= 0: Ain+ = A30. If DIFIN = 1: Ain+ = A30, Ain- = A31
6545  CHAN_31: If DIFIN= 0: Ain+ = A31. If DIFIN = 1: Ain+ = A30, Ain- = A31
6546 */
6547 #define ADC_MEMCTL_2_CHANSEL_W 5U
6548 #define ADC_MEMCTL_2_CHANSEL_M 0x0000001FU
6549 #define ADC_MEMCTL_2_CHANSEL_S 0U
6550 #define ADC_MEMCTL_2_CHANSEL_CHAN_0 0x00000000U
6551 #define ADC_MEMCTL_2_CHANSEL_CHAN_1 0x00000001U
6552 #define ADC_MEMCTL_2_CHANSEL_CHAN_2 0x00000002U
6553 #define ADC_MEMCTL_2_CHANSEL_CHAN_3 0x00000003U
6554 #define ADC_MEMCTL_2_CHANSEL_CHAN_4 0x00000004U
6555 #define ADC_MEMCTL_2_CHANSEL_CHAN_5 0x00000005U
6556 #define ADC_MEMCTL_2_CHANSEL_CHAN_6 0x00000006U
6557 #define ADC_MEMCTL_2_CHANSEL_CHAN_7 0x00000007U
6558 #define ADC_MEMCTL_2_CHANSEL_CHAN_8 0x00000008U
6559 #define ADC_MEMCTL_2_CHANSEL_CHAN_9 0x00000009U
6560 #define ADC_MEMCTL_2_CHANSEL_CHAN_10 0x0000000AU
6561 #define ADC_MEMCTL_2_CHANSEL_CHAN_11 0x0000000BU
6562 #define ADC_MEMCTL_2_CHANSEL_CHAN_12 0x0000000CU
6563 #define ADC_MEMCTL_2_CHANSEL_CHAN_13 0x0000000DU
6564 #define ADC_MEMCTL_2_CHANSEL_CHAN_14 0x0000000EU
6565 #define ADC_MEMCTL_2_CHANSEL_CHAN_15 0x0000000FU
6566 #define ADC_MEMCTL_2_CHANSEL_CHAN_16 0x00000010U
6567 #define ADC_MEMCTL_2_CHANSEL_CHAN_17 0x00000011U
6568 #define ADC_MEMCTL_2_CHANSEL_CHAN_18 0x00000012U
6569 #define ADC_MEMCTL_2_CHANSEL_CHAN_19 0x00000013U
6570 #define ADC_MEMCTL_2_CHANSEL_CHAN_20 0x00000014U
6571 #define ADC_MEMCTL_2_CHANSEL_CHAN_21 0x00000015U
6572 #define ADC_MEMCTL_2_CHANSEL_CHAN_22 0x00000016U
6573 #define ADC_MEMCTL_2_CHANSEL_CHAN_23 0x00000017U
6574 #define ADC_MEMCTL_2_CHANSEL_CHAN_24 0x00000018U
6575 #define ADC_MEMCTL_2_CHANSEL_CHAN_25 0x00000019U
6576 #define ADC_MEMCTL_2_CHANSEL_CHAN_26 0x0000001AU
6577 #define ADC_MEMCTL_2_CHANSEL_CHAN_27 0x0000001BU
6578 #define ADC_MEMCTL_2_CHANSEL_CHAN_28 0x0000001CU
6579 #define ADC_MEMCTL_2_CHANSEL_CHAN_29 0x0000001DU
6580 #define ADC_MEMCTL_2_CHANSEL_CHAN_30 0x0000001EU
6581 #define ADC_MEMCTL_2_CHANSEL_CHAN_31 0x0000001FU
6582 /*
6583 
6584  Field: VRSEL
6585  From..to bits: 8...9
6586  DefaultValue: 0x1
6587  Access type: read-write
6588  Description: Selects the combination of V(Rp) and V(Rn) sources.
6589  It is recommended to connect VeREFn0 to on-board ground when VeREFn is selected for V(Rn).
6590 
6591  Note: A value of 3 defaults to INTREF and value of 0 defaults to EXTREF.
6592 
6593  ENUMs:
6594  EXTREF: EXTREF pin reference.
6595  INTREF: INTREF reference.
6596 */
6597 #define ADC_MEMCTL_2_VRSEL_W 2U
6598 #define ADC_MEMCTL_2_VRSEL_M 0x00000300U
6599 #define ADC_MEMCTL_2_VRSEL_S 8U
6600 #define ADC_MEMCTL_2_VRSEL_EXTREF 0x00000100U
6601 #define ADC_MEMCTL_2_VRSEL_INTREF 0x00000200U
6602 /*
6603 
6604  Field: STIME
6605  From..to bits: 12...12
6606  DefaultValue: 0x0
6607  Access type: read-write
6608  Description: Selects the source of sample timer period. Can choose between SCOMP0 and SCOMP1.
6609 
6610  ENUMs:
6611  SEL_SCOMP0: Select SCOMP0.
6612  SEL_SCOMP1: Select SCOMP1.
6613 */
6614 #define ADC_MEMCTL_2_STIME 0x00001000U
6615 #define ADC_MEMCTL_2_STIME_M 0x00001000U
6616 #define ADC_MEMCTL_2_STIME_S 12U
6617 #define ADC_MEMCTL_2_STIME_SEL_SCOMP0 0x00000000U
6618 #define ADC_MEMCTL_2_STIME_SEL_SCOMP1 0x00001000U
6619 /*
6620 
6621  Field: AVGEN
6622  From..to bits: 16...16
6623  DefaultValue: 0x0
6624  Access type: read-write
6625  Description: Enable averaging.
6626 
6627  ENUMs:
6628  DISABLE: Averaging disabled.
6629  ENABLE: Averaging enabled.
6630 */
6631 #define ADC_MEMCTL_2_AVGEN 0x00010000U
6632 #define ADC_MEMCTL_2_AVGEN_M 0x00010000U
6633 #define ADC_MEMCTL_2_AVGEN_S 16U
6634 #define ADC_MEMCTL_2_AVGEN_DISABLE 0x00000000U
6635 #define ADC_MEMCTL_2_AVGEN_ENABLE 0x00010000U
6636 /*
6637 
6638  Field: TRIG
6639  From..to bits: 24...24
6640  DefaultValue: 0x0
6641  Access type: read-write
6642  Description: TRIG. Indicates if a trigger will be needed to step to the next MEMCTL in the sequence.
6643 
6644  ENUMs:
6645  AUTO_NEXT: Automatically step to next MEMCTL register.
6646  TRIGGER_NEXT: A valid trigger will step to next MEMCTL register.
6647 */
6648 #define ADC_MEMCTL_2_TRIG 0x01000000U
6649 #define ADC_MEMCTL_2_TRIG_M 0x01000000U
6650 #define ADC_MEMCTL_2_TRIG_S 24U
6651 #define ADC_MEMCTL_2_TRIG_AUTO_NEXT 0x00000000U
6652 #define ADC_MEMCTL_2_TRIG_TRIGGER_NEXT 0x01000000U
6653 /*
6654 
6655  Field: WINCOMP
6656  From..to bits: 28...28
6657  DefaultValue: 0x0
6658  Access type: read-write
6659  Description: Window Comparator Enable.
6660  Select for the current conversion if the Window Comparator feature is used.
6661 
6662  ENUMs:
6663  DISABLE: Window Comparator is disabled.
6664  ENABLE: Window Comparator is enabled.
6665 */
6666 #define ADC_MEMCTL_2_WINCOMP 0x10000000U
6667 #define ADC_MEMCTL_2_WINCOMP_M 0x10000000U
6668 #define ADC_MEMCTL_2_WINCOMP_S 28U
6669 #define ADC_MEMCTL_2_WINCOMP_DISABLE 0x00000000U
6670 #define ADC_MEMCTL_2_WINCOMP_ENABLE 0x10000000U
6671 /*
6672 
6673  Field: FSR
6674  From..to bits: 29...29
6675  DefaultValue: 0x0
6676  Access type: read-write
6677  Description: Full scale range of ADC limited to 1.8V or 3.3V
6678  '0' - 3.3V
6679  '1' - 1.8V
6680  * Exact range may be limited below the above mentioned voltages based on the design constraints
6681 
6682 */
6683 #define ADC_MEMCTL_2_FSR 0x20000000U
6684 #define ADC_MEMCTL_2_FSR_M 0x20000000U
6685 #define ADC_MEMCTL_2_FSR_S 29U
6686 /*
6687 
6688  Field: MOD
6689  From..to bits: 30...30
6690  DefaultValue: 0x0
6691  Access type: read-write
6692  Description: MODE
6693 
6694  Single vs Differential
6695 
6696 */
6697 #define ADC_MEMCTL_2_MOD 0x40000000U
6698 #define ADC_MEMCTL_2_MOD_M 0x40000000U
6699 #define ADC_MEMCTL_2_MOD_S 30U
6700 
6701 
6702 /*-----------------------------------REGISTER------------------------------------
6703  Register name: MEMCTL_3
6704  Offset name: ADC_O_MEMCTL_3
6705  Relative address: 0x118C
6706  Description: ULP_ADCHP Conversion Memory Control Register x (x=0 to 31)
6707  CTL0.ENC must be set to 0 to write to this register.
6708  Default Value: 0x00000100
6709 
6710  Field: CHANSEL
6711  From..to bits: 0...4
6712  DefaultValue: 0x0
6713  Access type: read-write
6714  Description: ULP_ADCHP Input channel select.
6715  In single ended mode, any of the 32 channels can be selected.
6716  In differential mode, this field will select which EVEN channel to be connected to the vin+ input.
6717  The vin- is automatically set to the next ODD channel. (CHANSEL+1)
6718 
6719  ENUMs:
6720  CHAN_0: If DIFIN= 0: Ain+ = A0. If DIFIN = 1: Ain+ = A0, Ain- = A1
6721 
6722  CHAN_1: If DIFIN= 0: Ain+ = A1. If DIFIN = 1: Ain+ = A0, Ain- = A1
6723  CHAN_2: If DIFIN = 0: Ain+ = A2. If DIFIN = 1: Ain+ = A2, Ain- = A3
6724  CHAN_3: If DIFIN = 0: Ain+ = A3. If DIFIN = 1: Ain+ = A2, Ain- = A3
6725  CHAN_4: If DIFIN = 0: Ain+ = A4. If DIFIN = 1: Ain+ = A4, Ain- = A5
6726  CHAN_5: If DIFIN = 0: Ain+ = A5. If DIFIN = 1: Ain+ = A4, Ain- = A5
6727  CHAN_6: If DIFIN = 0: Ain+ = A6. If DIFIN = 1: Ain+ = A6, Ain- = A7
6728  CHAN_7: If DIFIN = 0: Ain+ = A7. If DIFIN = 1: Ain+ = A6, Ain- = A7
6729  CHAN_8: If DIFIN = 0: Ain+ = A8. If DIFIN = 1: Ain+ = A8, Ain- = A9
6730  CHAN_9: If DIFIN= 0: Ain+ = A9. If DIFIN = 1: Ain+ = A8, Ain- = A9
6731  CHAN_10: If DIFIN= 0: Ain+ = A10. If DIFIN = 1: Ain+ = A10, Ain- = A11
6732  CHAN_11: If DIFIN= 0: Ain+ = A11. If DIFIN = 1: Ain+ = A10, Ain- = A11
6733  CHAN_12: If DIFIN= 0: Ain+ = A12. If DIFIN = 1: Ain+ = A12, Ain- = A13
6734  CHAN_13: If DIFIN= 0: Ain+ = A13. If DIFIN = 1: Ain+ = A12, Ain- = A13
6735  CHAN_14: If DIFIN= 0: Ain+ = A14. If DIFIN = 1: Ain+ = A14, Ain- = A15
6736  CHAN_15: If DIFIN= 0: Ain+ = A15. If DIFIN = 1: Ain+ = A14, Ain- = A15
6737  CHAN_16: If DIFIN= 0: Ain+ = A16. If DIFIN = 1: Ain+ = A16, Ain- = A17
6738  CHAN_17: If DIFIN= 0: Ain+ = A17. If DIFIN = 1: Ain+ = A16, Ain- = A17
6739  CHAN_18: If DIFIN= 0: Ain+ = A18. If DIFIN = 1: Ain+ = A18, Ain- = A19
6740  CHAN_19: If DIFIN= 0: Ain+ = A19. If DIFIN = 1: Ain+ = A18, Ain- = A19
6741  CHAN_20: If DIFIN= 0: Ain+ = A20. If DIFIN = 1: Ain+ = A20, Ain- = A21
6742  CHAN_21: If DIFIN= 0: Ain+ = A21. If DIFIN = 1: Ain+ = A20, Ain- = A21
6743  CHAN_22: If DIFIN= 0: Ain+ = A22. If DIFIN = 1: Ain+ = A22, Ain- = A23
6744  CHAN_23: If DIFIN= 0: Ain+ = A23. If DIFIN = 1: Ain+ = A22, Ain- = A23
6745  CHAN_24: If DIFIN= 0: Ain+ = A24. If DIFIN = 1: Ain+ = A24, Ain- = A25
6746  CHAN_25: If DIFIN= 0: Ain+ = A25. If DIFIN = 1: Ain+ = A24, Ain- = A25
6747  CHAN_26: If DIFIN= 0: Ain+ = A26. If DIFIN = 1: Ain+ = A26, Ain- = A27
6748  CHAN_27: If DIFIN= 0: Ain+ = A27. If DIFIN = 1: Ain+ = A26, Ain- = A27
6749  CHAN_28: If DIFIN= 0: Ain+ = A28. If DIFIN = 1: Ain+ = A28, Ain- = A29
6750  CHAN_29: If DIFIN= 0: Ain+ = A29. If DIFIN = 1: Ain+ = A28, Ain- = A29
6751  CHAN_30: If DIFIN= 0: Ain+ = A30. If DIFIN = 1: Ain+ = A30, Ain- = A31
6752  CHAN_31: If DIFIN= 0: Ain+ = A31. If DIFIN = 1: Ain+ = A30, Ain- = A31
6753 */
6754 #define ADC_MEMCTL_3_CHANSEL_W 5U
6755 #define ADC_MEMCTL_3_CHANSEL_M 0x0000001FU
6756 #define ADC_MEMCTL_3_CHANSEL_S 0U
6757 #define ADC_MEMCTL_3_CHANSEL_CHAN_0 0x00000000U
6758 #define ADC_MEMCTL_3_CHANSEL_CHAN_1 0x00000001U
6759 #define ADC_MEMCTL_3_CHANSEL_CHAN_2 0x00000002U
6760 #define ADC_MEMCTL_3_CHANSEL_CHAN_3 0x00000003U
6761 #define ADC_MEMCTL_3_CHANSEL_CHAN_4 0x00000004U
6762 #define ADC_MEMCTL_3_CHANSEL_CHAN_5 0x00000005U
6763 #define ADC_MEMCTL_3_CHANSEL_CHAN_6 0x00000006U
6764 #define ADC_MEMCTL_3_CHANSEL_CHAN_7 0x00000007U
6765 #define ADC_MEMCTL_3_CHANSEL_CHAN_8 0x00000008U
6766 #define ADC_MEMCTL_3_CHANSEL_CHAN_9 0x00000009U
6767 #define ADC_MEMCTL_3_CHANSEL_CHAN_10 0x0000000AU
6768 #define ADC_MEMCTL_3_CHANSEL_CHAN_11 0x0000000BU
6769 #define ADC_MEMCTL_3_CHANSEL_CHAN_12 0x0000000CU
6770 #define ADC_MEMCTL_3_CHANSEL_CHAN_13 0x0000000DU
6771 #define ADC_MEMCTL_3_CHANSEL_CHAN_14 0x0000000EU
6772 #define ADC_MEMCTL_3_CHANSEL_CHAN_15 0x0000000FU
6773 #define ADC_MEMCTL_3_CHANSEL_CHAN_16 0x00000010U
6774 #define ADC_MEMCTL_3_CHANSEL_CHAN_17 0x00000011U
6775 #define ADC_MEMCTL_3_CHANSEL_CHAN_18 0x00000012U
6776 #define ADC_MEMCTL_3_CHANSEL_CHAN_19 0x00000013U
6777 #define ADC_MEMCTL_3_CHANSEL_CHAN_20 0x00000014U
6778 #define ADC_MEMCTL_3_CHANSEL_CHAN_21 0x00000015U
6779 #define ADC_MEMCTL_3_CHANSEL_CHAN_22 0x00000016U
6780 #define ADC_MEMCTL_3_CHANSEL_CHAN_23 0x00000017U
6781 #define ADC_MEMCTL_3_CHANSEL_CHAN_24 0x00000018U
6782 #define ADC_MEMCTL_3_CHANSEL_CHAN_25 0x00000019U
6783 #define ADC_MEMCTL_3_CHANSEL_CHAN_26 0x0000001AU
6784 #define ADC_MEMCTL_3_CHANSEL_CHAN_27 0x0000001BU
6785 #define ADC_MEMCTL_3_CHANSEL_CHAN_28 0x0000001CU
6786 #define ADC_MEMCTL_3_CHANSEL_CHAN_29 0x0000001DU
6787 #define ADC_MEMCTL_3_CHANSEL_CHAN_30 0x0000001EU
6788 #define ADC_MEMCTL_3_CHANSEL_CHAN_31 0x0000001FU
6789 /*
6790 
6791  Field: VRSEL
6792  From..to bits: 8...9
6793  DefaultValue: 0x1
6794  Access type: read-write
6795  Description: Selects the combination of V(Rp) and V(Rn) sources.
6796  It is recommended to connect VeREFn0 to on-board ground when VeREFn is selected for V(Rn).
6797 
6798  Note: A value of 3 defaults to INTREF and value of 0 defaults to EXTREF.
6799 
6800  ENUMs:
6801  EXTREF: EXTREF pin reference.
6802  INTREF: INTREF reference.
6803 */
6804 #define ADC_MEMCTL_3_VRSEL_W 2U
6805 #define ADC_MEMCTL_3_VRSEL_M 0x00000300U
6806 #define ADC_MEMCTL_3_VRSEL_S 8U
6807 #define ADC_MEMCTL_3_VRSEL_EXTREF 0x00000100U
6808 #define ADC_MEMCTL_3_VRSEL_INTREF 0x00000200U
6809 /*
6810 
6811  Field: STIME
6812  From..to bits: 12...12
6813  DefaultValue: 0x0
6814  Access type: read-write
6815  Description: Selects the source of sample timer period. Can choose between SCOMP0 and SCOMP1.
6816 
6817  ENUMs:
6818  SEL_SCOMP0: Select SCOMP0.
6819  SEL_SCOMP1: Select SCOMP1.
6820 */
6821 #define ADC_MEMCTL_3_STIME 0x00001000U
6822 #define ADC_MEMCTL_3_STIME_M 0x00001000U
6823 #define ADC_MEMCTL_3_STIME_S 12U
6824 #define ADC_MEMCTL_3_STIME_SEL_SCOMP0 0x00000000U
6825 #define ADC_MEMCTL_3_STIME_SEL_SCOMP1 0x00001000U
6826 /*
6827 
6828  Field: AVGEN
6829  From..to bits: 16...16
6830  DefaultValue: 0x0
6831  Access type: read-write
6832  Description: Enable averaging.
6833 
6834  ENUMs:
6835  DISABLE: Averaging disabled.
6836  ENABLE: Averaging enabled.
6837 */
6838 #define ADC_MEMCTL_3_AVGEN 0x00010000U
6839 #define ADC_MEMCTL_3_AVGEN_M 0x00010000U
6840 #define ADC_MEMCTL_3_AVGEN_S 16U
6841 #define ADC_MEMCTL_3_AVGEN_DISABLE 0x00000000U
6842 #define ADC_MEMCTL_3_AVGEN_ENABLE 0x00010000U
6843 /*
6844 
6845  Field: TRIG
6846  From..to bits: 24...24
6847  DefaultValue: 0x0
6848  Access type: read-write
6849  Description: TRIG. Indicates if a trigger will be needed to step to the next MEMCTL in the sequence.
6850 
6851  ENUMs:
6852  AUTO_NEXT: Automatically step to next MEMCTL register.
6853  TRIGGER_NEXT: A valid trigger will step to next MEMCTL register.
6854 */
6855 #define ADC_MEMCTL_3_TRIG 0x01000000U
6856 #define ADC_MEMCTL_3_TRIG_M 0x01000000U
6857 #define ADC_MEMCTL_3_TRIG_S 24U
6858 #define ADC_MEMCTL_3_TRIG_AUTO_NEXT 0x00000000U
6859 #define ADC_MEMCTL_3_TRIG_TRIGGER_NEXT 0x01000000U
6860 /*
6861 
6862  Field: WINCOMP
6863  From..to bits: 28...28
6864  DefaultValue: 0x0
6865  Access type: read-write
6866  Description: Window Comparator Enable.
6867  Select for the current conversion if the Window Comparator feature is used.
6868 
6869  ENUMs:
6870  DISABLE: Window Comparator is disabled.
6871  ENABLE: Window Comparator is enabled.
6872 */
6873 #define ADC_MEMCTL_3_WINCOMP 0x10000000U
6874 #define ADC_MEMCTL_3_WINCOMP_M 0x10000000U
6875 #define ADC_MEMCTL_3_WINCOMP_S 28U
6876 #define ADC_MEMCTL_3_WINCOMP_DISABLE 0x00000000U
6877 #define ADC_MEMCTL_3_WINCOMP_ENABLE 0x10000000U
6878 /*
6879 
6880  Field: FSR
6881  From..to bits: 29...29
6882  DefaultValue: 0x0
6883  Access type: read-write
6884  Description: Full scale range of ADC limited to 1.8V or 3.3V
6885  '0' - 3.3V
6886  '1' - 1.8V
6887  * Exact range may be limited below the above mentioned voltages based on the design constraints
6888 
6889 */
6890 #define ADC_MEMCTL_3_FSR 0x20000000U
6891 #define ADC_MEMCTL_3_FSR_M 0x20000000U
6892 #define ADC_MEMCTL_3_FSR_S 29U
6893 /*
6894 
6895  Field: MOD
6896  From..to bits: 30...30
6897  DefaultValue: 0x0
6898  Access type: read-write
6899  Description: MODE
6900 
6901  Single vs Differential
6902 
6903 */
6904 #define ADC_MEMCTL_3_MOD 0x40000000U
6905 #define ADC_MEMCTL_3_MOD_M 0x40000000U
6906 #define ADC_MEMCTL_3_MOD_S 30U
6907 
6908 
6909 /*-----------------------------------REGISTER------------------------------------
6910  Register name: MEMCTL_4
6911  Offset name: ADC_O_MEMCTL_4
6912  Relative address: 0x1190
6913  Description: ULP_ADCHP Conversion Memory Control Register x (x=0 to 31)
6914  CTL0.ENC must be set to 0 to write to this register.
6915  Default Value: 0x00000100
6916 
6917  Field: CHANSEL
6918  From..to bits: 0...4
6919  DefaultValue: 0x0
6920  Access type: read-write
6921  Description: ULP_ADCHP Input channel select.
6922  In single ended mode, any of the 32 channels can be selected.
6923  In differential mode, this field will select which EVEN channel to be connected to the vin+ input.
6924  The vin- is automatically set to the next ODD channel. (CHANSEL+1)
6925 
6926  ENUMs:
6927  CHAN_0: If DIFIN= 0: Ain+ = A0. If DIFIN = 1: Ain+ = A0, Ain- = A1
6928 
6929  CHAN_1: If DIFIN= 0: Ain+ = A1. If DIFIN = 1: Ain+ = A0, Ain- = A1
6930  CHAN_2: If DIFIN = 0: Ain+ = A2. If DIFIN = 1: Ain+ = A2, Ain- = A3
6931  CHAN_3: If DIFIN = 0: Ain+ = A3. If DIFIN = 1: Ain+ = A2, Ain- = A3
6932  CHAN_4: If DIFIN = 0: Ain+ = A4. If DIFIN = 1: Ain+ = A4, Ain- = A5
6933  CHAN_5: If DIFIN = 0: Ain+ = A5. If DIFIN = 1: Ain+ = A4, Ain- = A5
6934  CHAN_6: If DIFIN = 0: Ain+ = A6. If DIFIN = 1: Ain+ = A6, Ain- = A7
6935  CHAN_7: If DIFIN = 0: Ain+ = A7. If DIFIN = 1: Ain+ = A6, Ain- = A7
6936  CHAN_8: If DIFIN = 0: Ain+ = A8. If DIFIN = 1: Ain+ = A8, Ain- = A9
6937  CHAN_9: If DIFIN= 0: Ain+ = A9. If DIFIN = 1: Ain+ = A8, Ain- = A9
6938  CHAN_10: If DIFIN= 0: Ain+ = A10. If DIFIN = 1: Ain+ = A10, Ain- = A11
6939  CHAN_11: If DIFIN= 0: Ain+ = A11. If DIFIN = 1: Ain+ = A10, Ain- = A11
6940  CHAN_12: If DIFIN= 0: Ain+ = A12. If DIFIN = 1: Ain+ = A12, Ain- = A13
6941  CHAN_13: If DIFIN= 0: Ain+ = A13. If DIFIN = 1: Ain+ = A12, Ain- = A13
6942  CHAN_14: If DIFIN= 0: Ain+ = A14. If DIFIN = 1: Ain+ = A14, Ain- = A15
6943  CHAN_15: If DIFIN= 0: Ain+ = A15. If DIFIN = 1: Ain+ = A14, Ain- = A15
6944  CHAN_16: If DIFIN= 0: Ain+ = A16. If DIFIN = 1: Ain+ = A16, Ain- = A17
6945  CHAN_17: If DIFIN= 0: Ain+ = A17. If DIFIN = 1: Ain+ = A16, Ain- = A17
6946  CHAN_18: If DIFIN= 0: Ain+ = A18. If DIFIN = 1: Ain+ = A18, Ain- = A19
6947  CHAN_19: If DIFIN= 0: Ain+ = A19. If DIFIN = 1: Ain+ = A18, Ain- = A19
6948  CHAN_20: If DIFIN= 0: Ain+ = A20. If DIFIN = 1: Ain+ = A20, Ain- = A21
6949  CHAN_21: If DIFIN= 0: Ain+ = A21. If DIFIN = 1: Ain+ = A20, Ain- = A21
6950  CHAN_22: If DIFIN= 0: Ain+ = A22. If DIFIN = 1: Ain+ = A22, Ain- = A23
6951  CHAN_23: If DIFIN= 0: Ain+ = A23. If DIFIN = 1: Ain+ = A22, Ain- = A23
6952  CHAN_24: If DIFIN= 0: Ain+ = A24. If DIFIN = 1: Ain+ = A24, Ain- = A25
6953  CHAN_25: If DIFIN= 0: Ain+ = A25. If DIFIN = 1: Ain+ = A24, Ain- = A25
6954  CHAN_26: If DIFIN= 0: Ain+ = A26. If DIFIN = 1: Ain+ = A26, Ain- = A27
6955  CHAN_27: If DIFIN= 0: Ain+ = A27. If DIFIN = 1: Ain+ = A26, Ain- = A27
6956  CHAN_28: If DIFIN= 0: Ain+ = A28. If DIFIN = 1: Ain+ = A28, Ain- = A29
6957  CHAN_29: If DIFIN= 0: Ain+ = A29. If DIFIN = 1: Ain+ = A28, Ain- = A29
6958  CHAN_30: If DIFIN= 0: Ain+ = A30. If DIFIN = 1: Ain+ = A30, Ain- = A31
6959  CHAN_31: If DIFIN= 0: Ain+ = A31. If DIFIN = 1: Ain+ = A30, Ain- = A31
6960 */
6961 #define ADC_MEMCTL_4_CHANSEL_W 5U
6962 #define ADC_MEMCTL_4_CHANSEL_M 0x0000001FU
6963 #define ADC_MEMCTL_4_CHANSEL_S 0U
6964 #define ADC_MEMCTL_4_CHANSEL_CHAN_0 0x00000000U
6965 #define ADC_MEMCTL_4_CHANSEL_CHAN_1 0x00000001U
6966 #define ADC_MEMCTL_4_CHANSEL_CHAN_2 0x00000002U
6967 #define ADC_MEMCTL_4_CHANSEL_CHAN_3 0x00000003U
6968 #define ADC_MEMCTL_4_CHANSEL_CHAN_4 0x00000004U
6969 #define ADC_MEMCTL_4_CHANSEL_CHAN_5 0x00000005U
6970 #define ADC_MEMCTL_4_CHANSEL_CHAN_6 0x00000006U
6971 #define ADC_MEMCTL_4_CHANSEL_CHAN_7 0x00000007U
6972 #define ADC_MEMCTL_4_CHANSEL_CHAN_8 0x00000008U
6973 #define ADC_MEMCTL_4_CHANSEL_CHAN_9 0x00000009U
6974 #define ADC_MEMCTL_4_CHANSEL_CHAN_10 0x0000000AU
6975 #define ADC_MEMCTL_4_CHANSEL_CHAN_11 0x0000000BU
6976 #define ADC_MEMCTL_4_CHANSEL_CHAN_12 0x0000000CU
6977 #define ADC_MEMCTL_4_CHANSEL_CHAN_13 0x0000000DU
6978 #define ADC_MEMCTL_4_CHANSEL_CHAN_14 0x0000000EU
6979 #define ADC_MEMCTL_4_CHANSEL_CHAN_15 0x0000000FU
6980 #define ADC_MEMCTL_4_CHANSEL_CHAN_16 0x00000010U
6981 #define ADC_MEMCTL_4_CHANSEL_CHAN_17 0x00000011U
6982 #define ADC_MEMCTL_4_CHANSEL_CHAN_18 0x00000012U
6983 #define ADC_MEMCTL_4_CHANSEL_CHAN_19 0x00000013U
6984 #define ADC_MEMCTL_4_CHANSEL_CHAN_20 0x00000014U
6985 #define ADC_MEMCTL_4_CHANSEL_CHAN_21 0x00000015U
6986 #define ADC_MEMCTL_4_CHANSEL_CHAN_22 0x00000016U
6987 #define ADC_MEMCTL_4_CHANSEL_CHAN_23 0x00000017U
6988 #define ADC_MEMCTL_4_CHANSEL_CHAN_24 0x00000018U
6989 #define ADC_MEMCTL_4_CHANSEL_CHAN_25 0x00000019U
6990 #define ADC_MEMCTL_4_CHANSEL_CHAN_26 0x0000001AU
6991 #define ADC_MEMCTL_4_CHANSEL_CHAN_27 0x0000001BU
6992 #define ADC_MEMCTL_4_CHANSEL_CHAN_28 0x0000001CU
6993 #define ADC_MEMCTL_4_CHANSEL_CHAN_29 0x0000001DU
6994 #define ADC_MEMCTL_4_CHANSEL_CHAN_30 0x0000001EU
6995 #define ADC_MEMCTL_4_CHANSEL_CHAN_31 0x0000001FU
6996 /*
6997 
6998  Field: VRSEL
6999  From..to bits: 8...9
7000  DefaultValue: 0x1
7001  Access type: read-write
7002  Description: Selects the combination of V(Rp) and V(Rn) sources.
7003  It is recommended to connect VeREFn0 to on-board ground when VeREFn is selected for V(Rn).
7004 
7005  Note: A value of 3 defaults to INTREF and value of 0 defaults to EXTREF.
7006 
7007  ENUMs:
7008  EXTREF: EXTREF pin reference.
7009  INTREF: INTREF reference.
7010 */
7011 #define ADC_MEMCTL_4_VRSEL_W 2U
7012 #define ADC_MEMCTL_4_VRSEL_M 0x00000300U
7013 #define ADC_MEMCTL_4_VRSEL_S 8U
7014 #define ADC_MEMCTL_4_VRSEL_EXTREF 0x00000100U
7015 #define ADC_MEMCTL_4_VRSEL_INTREF 0x00000200U
7016 /*
7017 
7018  Field: STIME
7019  From..to bits: 12...12
7020  DefaultValue: 0x0
7021  Access type: read-write
7022  Description: Selects the source of sample timer period. Can choose between SCOMP0 and SCOMP1.
7023 
7024  ENUMs:
7025  SEL_SCOMP0: Select SCOMP0.
7026  SEL_SCOMP1: Select SCOMP1.
7027 */
7028 #define ADC_MEMCTL_4_STIME 0x00001000U
7029 #define ADC_MEMCTL_4_STIME_M 0x00001000U
7030 #define ADC_MEMCTL_4_STIME_S 12U
7031 #define ADC_MEMCTL_4_STIME_SEL_SCOMP0 0x00000000U
7032 #define ADC_MEMCTL_4_STIME_SEL_SCOMP1 0x00001000U
7033 /*
7034 
7035  Field: AVGEN
7036  From..to bits: 16...16
7037  DefaultValue: 0x0
7038  Access type: read-write
7039  Description: Enable averaging.
7040 
7041  ENUMs:
7042  DISABLE: Averaging disabled.
7043  ENABLE: Averaging enabled.
7044 */
7045 #define ADC_MEMCTL_4_AVGEN 0x00010000U
7046 #define ADC_MEMCTL_4_AVGEN_M 0x00010000U
7047 #define ADC_MEMCTL_4_AVGEN_S 16U
7048 #define ADC_MEMCTL_4_AVGEN_DISABLE 0x00000000U
7049 #define ADC_MEMCTL_4_AVGEN_ENABLE 0x00010000U
7050 /*
7051 
7052  Field: TRIG
7053  From..to bits: 24...24
7054  DefaultValue: 0x0
7055  Access type: read-write
7056  Description: TRIG. Indicates if a trigger will be needed to step to the next MEMCTL in the sequence.
7057 
7058  ENUMs:
7059  AUTO_NEXT: Automatically step to next MEMCTL register.
7060  TRIGGER_NEXT: A valid trigger will step to next MEMCTL register.
7061 */
7062 #define ADC_MEMCTL_4_TRIG 0x01000000U
7063 #define ADC_MEMCTL_4_TRIG_M 0x01000000U
7064 #define ADC_MEMCTL_4_TRIG_S 24U
7065 #define ADC_MEMCTL_4_TRIG_AUTO_NEXT 0x00000000U
7066 #define ADC_MEMCTL_4_TRIG_TRIGGER_NEXT 0x01000000U
7067 /*
7068 
7069  Field: WINCOMP
7070  From..to bits: 28...28
7071  DefaultValue: 0x0
7072  Access type: read-write
7073  Description: Window Comparator Enable.
7074  Select for the current conversion if the Window Comparator feature is used.
7075 
7076  ENUMs:
7077  DISABLE: Window Comparator is disabled.
7078  ENABLE: Window Comparator is enabled.
7079 */
7080 #define ADC_MEMCTL_4_WINCOMP 0x10000000U
7081 #define ADC_MEMCTL_4_WINCOMP_M 0x10000000U
7082 #define ADC_MEMCTL_4_WINCOMP_S 28U
7083 #define ADC_MEMCTL_4_WINCOMP_DISABLE 0x00000000U
7084 #define ADC_MEMCTL_4_WINCOMP_ENABLE 0x10000000U
7085 /*
7086 
7087  Field: FSR
7088  From..to bits: 29...29
7089  DefaultValue: 0x0
7090  Access type: read-write
7091  Description: Full scale range of ADC limited to 1.8V or 3.3V
7092  '0' - 3.3V
7093  '1' - 1.8V
7094  * Exact range may be limited below the above mentioned voltages based on the design constraints
7095 
7096 */
7097 #define ADC_MEMCTL_4_FSR 0x20000000U
7098 #define ADC_MEMCTL_4_FSR_M 0x20000000U
7099 #define ADC_MEMCTL_4_FSR_S 29U
7100 /*
7101 
7102  Field: MOD
7103  From..to bits: 30...30
7104  DefaultValue: 0x0
7105  Access type: read-write
7106  Description: MODE
7107 
7108  Single vs Differential
7109 
7110 */
7111 #define ADC_MEMCTL_4_MOD 0x40000000U
7112 #define ADC_MEMCTL_4_MOD_M 0x40000000U
7113 #define ADC_MEMCTL_4_MOD_S 30U
7114 
7115 
7116 /*-----------------------------------REGISTER------------------------------------
7117  Register name: MEMCTL_5
7118  Offset name: ADC_O_MEMCTL_5
7119  Relative address: 0x1194
7120  Description: ULP_ADCHP Conversion Memory Control Register x (x=0 to 31)
7121  CTL0.ENC must be set to 0 to write to this register.
7122  Default Value: 0x00000100
7123 
7124  Field: CHANSEL
7125  From..to bits: 0...4
7126  DefaultValue: 0x0
7127  Access type: read-write
7128  Description: ULP_ADCHP Input channel select.
7129  In single ended mode, any of the 32 channels can be selected.
7130  In differential mode, this field will select which EVEN channel to be connected to the vin+ input.
7131  The vin- is automatically set to the next ODD channel. (CHANSEL+1)
7132 
7133  ENUMs:
7134  CHAN_0: If DIFIN= 0: Ain+ = A0. If DIFIN = 1: Ain+ = A0, Ain- = A1
7135 
7136  CHAN_1: If DIFIN= 0: Ain+ = A1. If DIFIN = 1: Ain+ = A0, Ain- = A1
7137  CHAN_2: If DIFIN = 0: Ain+ = A2. If DIFIN = 1: Ain+ = A2, Ain- = A3
7138  CHAN_3: If DIFIN = 0: Ain+ = A3. If DIFIN = 1: Ain+ = A2, Ain- = A3
7139  CHAN_4: If DIFIN = 0: Ain+ = A4. If DIFIN = 1: Ain+ = A4, Ain- = A5
7140  CHAN_5: If DIFIN = 0: Ain+ = A5. If DIFIN = 1: Ain+ = A4, Ain- = A5
7141  CHAN_6: If DIFIN = 0: Ain+ = A6. If DIFIN = 1: Ain+ = A6, Ain- = A7
7142  CHAN_7: If DIFIN = 0: Ain+ = A7. If DIFIN = 1: Ain+ = A6, Ain- = A7
7143  CHAN_8: If DIFIN = 0: Ain+ = A8. If DIFIN = 1: Ain+ = A8, Ain- = A9
7144  CHAN_9: If DIFIN= 0: Ain+ = A9. If DIFIN = 1: Ain+ = A8, Ain- = A9
7145  CHAN_10: If DIFIN= 0: Ain+ = A10. If DIFIN = 1: Ain+ = A10, Ain- = A11
7146  CHAN_11: If DIFIN= 0: Ain+ = A11. If DIFIN = 1: Ain+ = A10, Ain- = A11
7147  CHAN_12: If DIFIN= 0: Ain+ = A12. If DIFIN = 1: Ain+ = A12, Ain- = A13
7148  CHAN_13: If DIFIN= 0: Ain+ = A13. If DIFIN = 1: Ain+ = A12, Ain- = A13
7149  CHAN_14: If DIFIN= 0: Ain+ = A14. If DIFIN = 1: Ain+ = A14, Ain- = A15
7150  CHAN_15: If DIFIN= 0: Ain+ = A15. If DIFIN = 1: Ain+ = A14, Ain- = A15
7151  CHAN_16: If DIFIN= 0: Ain+ = A16. If DIFIN = 1: Ain+ = A16, Ain- = A17
7152  CHAN_17: If DIFIN= 0: Ain+ = A17. If DIFIN = 1: Ain+ = A16, Ain- = A17
7153  CHAN_18: If DIFIN= 0: Ain+ = A18. If DIFIN = 1: Ain+ = A18, Ain- = A19
7154  CHAN_19: If DIFIN= 0: Ain+ = A19. If DIFIN = 1: Ain+ = A18, Ain- = A19
7155  CHAN_20: If DIFIN= 0: Ain+ = A20. If DIFIN = 1: Ain+ = A20, Ain- = A21
7156  CHAN_21: If DIFIN= 0: Ain+ = A21. If DIFIN = 1: Ain+ = A20, Ain- = A21
7157  CHAN_22: If DIFIN= 0: Ain+ = A22. If DIFIN = 1: Ain+ = A22, Ain- = A23
7158  CHAN_23: If DIFIN= 0: Ain+ = A23. If DIFIN = 1: Ain+ = A22, Ain- = A23
7159  CHAN_24: If DIFIN= 0: Ain+ = A24. If DIFIN = 1: Ain+ = A24, Ain- = A25
7160  CHAN_25: If DIFIN= 0: Ain+ = A25. If DIFIN = 1: Ain+ = A24, Ain- = A25
7161  CHAN_26: If DIFIN= 0: Ain+ = A26. If DIFIN = 1: Ain+ = A26, Ain- = A27
7162  CHAN_27: If DIFIN= 0: Ain+ = A27. If DIFIN = 1: Ain+ = A26, Ain- = A27
7163  CHAN_28: If DIFIN= 0: Ain+ = A28. If DIFIN = 1: Ain+ = A28, Ain- = A29
7164  CHAN_29: If DIFIN= 0: Ain+ = A29. If DIFIN = 1: Ain+ = A28, Ain- = A29
7165  CHAN_30: If DIFIN= 0: Ain+ = A30. If DIFIN = 1: Ain+ = A30, Ain- = A31
7166  CHAN_31: If DIFIN= 0: Ain+ = A31. If DIFIN = 1: Ain+ = A30, Ain- = A31
7167 */
7168 #define ADC_MEMCTL_5_CHANSEL_W 5U
7169 #define ADC_MEMCTL_5_CHANSEL_M 0x0000001FU
7170 #define ADC_MEMCTL_5_CHANSEL_S 0U
7171 #define ADC_MEMCTL_5_CHANSEL_CHAN_0 0x00000000U
7172 #define ADC_MEMCTL_5_CHANSEL_CHAN_1 0x00000001U
7173 #define ADC_MEMCTL_5_CHANSEL_CHAN_2 0x00000002U
7174 #define ADC_MEMCTL_5_CHANSEL_CHAN_3 0x00000003U
7175 #define ADC_MEMCTL_5_CHANSEL_CHAN_4 0x00000004U
7176 #define ADC_MEMCTL_5_CHANSEL_CHAN_5 0x00000005U
7177 #define ADC_MEMCTL_5_CHANSEL_CHAN_6 0x00000006U
7178 #define ADC_MEMCTL_5_CHANSEL_CHAN_7 0x00000007U
7179 #define ADC_MEMCTL_5_CHANSEL_CHAN_8 0x00000008U
7180 #define ADC_MEMCTL_5_CHANSEL_CHAN_9 0x00000009U
7181 #define ADC_MEMCTL_5_CHANSEL_CHAN_10 0x0000000AU
7182 #define ADC_MEMCTL_5_CHANSEL_CHAN_11 0x0000000BU
7183 #define ADC_MEMCTL_5_CHANSEL_CHAN_12 0x0000000CU
7184 #define ADC_MEMCTL_5_CHANSEL_CHAN_13 0x0000000DU
7185 #define ADC_MEMCTL_5_CHANSEL_CHAN_14 0x0000000EU
7186 #define ADC_MEMCTL_5_CHANSEL_CHAN_15 0x0000000FU
7187 #define ADC_MEMCTL_5_CHANSEL_CHAN_16 0x00000010U
7188 #define ADC_MEMCTL_5_CHANSEL_CHAN_17 0x00000011U
7189 #define ADC_MEMCTL_5_CHANSEL_CHAN_18 0x00000012U
7190 #define ADC_MEMCTL_5_CHANSEL_CHAN_19 0x00000013U
7191 #define ADC_MEMCTL_5_CHANSEL_CHAN_20 0x00000014U
7192 #define ADC_MEMCTL_5_CHANSEL_CHAN_21 0x00000015U
7193 #define ADC_MEMCTL_5_CHANSEL_CHAN_22 0x00000016U
7194 #define ADC_MEMCTL_5_CHANSEL_CHAN_23 0x00000017U
7195 #define ADC_MEMCTL_5_CHANSEL_CHAN_24 0x00000018U
7196 #define ADC_MEMCTL_5_CHANSEL_CHAN_25 0x00000019U
7197 #define ADC_MEMCTL_5_CHANSEL_CHAN_26 0x0000001AU
7198 #define ADC_MEMCTL_5_CHANSEL_CHAN_27 0x0000001BU
7199 #define ADC_MEMCTL_5_CHANSEL_CHAN_28 0x0000001CU
7200 #define ADC_MEMCTL_5_CHANSEL_CHAN_29 0x0000001DU
7201 #define ADC_MEMCTL_5_CHANSEL_CHAN_30 0x0000001EU
7202 #define ADC_MEMCTL_5_CHANSEL_CHAN_31 0x0000001FU
7203 /*
7204 
7205  Field: VRSEL
7206  From..to bits: 8...9
7207  DefaultValue: 0x1
7208  Access type: read-write
7209  Description: Selects the combination of V(Rp) and V(Rn) sources.
7210  It is recommended to connect VeREFn0 to on-board ground when VeREFn is selected for V(Rn).
7211 
7212  Note: A value of 3 defaults to INTREF and value of 0 defaults to EXTREF.
7213 
7214  ENUMs:
7215  EXTREF: EXTREF pin reference.
7216  INTREF: INTREF reference.
7217 */
7218 #define ADC_MEMCTL_5_VRSEL_W 2U
7219 #define ADC_MEMCTL_5_VRSEL_M 0x00000300U
7220 #define ADC_MEMCTL_5_VRSEL_S 8U
7221 #define ADC_MEMCTL_5_VRSEL_EXTREF 0x00000100U
7222 #define ADC_MEMCTL_5_VRSEL_INTREF 0x00000200U
7223 /*
7224 
7225  Field: STIME
7226  From..to bits: 12...12
7227  DefaultValue: 0x0
7228  Access type: read-write
7229  Description: Selects the source of sample timer period. Can choose between SCOMP0 and SCOMP1.
7230 
7231  ENUMs:
7232  SEL_SCOMP0: Select SCOMP0.
7233  SEL_SCOMP1: Select SCOMP1.
7234 */
7235 #define ADC_MEMCTL_5_STIME 0x00001000U
7236 #define ADC_MEMCTL_5_STIME_M 0x00001000U
7237 #define ADC_MEMCTL_5_STIME_S 12U
7238 #define ADC_MEMCTL_5_STIME_SEL_SCOMP0 0x00000000U
7239 #define ADC_MEMCTL_5_STIME_SEL_SCOMP1 0x00001000U
7240 /*
7241 
7242  Field: AVGEN
7243  From..to bits: 16...16
7244  DefaultValue: 0x0
7245  Access type: read-write
7246  Description: Enable averaging.
7247 
7248  ENUMs:
7249  DISABLE: Averaging disabled.
7250  ENABLE: Averaging enabled.
7251 */
7252 #define ADC_MEMCTL_5_AVGEN 0x00010000U
7253 #define ADC_MEMCTL_5_AVGEN_M 0x00010000U
7254 #define ADC_MEMCTL_5_AVGEN_S 16U
7255 #define ADC_MEMCTL_5_AVGEN_DISABLE 0x00000000U
7256 #define ADC_MEMCTL_5_AVGEN_ENABLE 0x00010000U
7257 /*
7258 
7259  Field: TRIG
7260  From..to bits: 24...24
7261  DefaultValue: 0x0
7262  Access type: read-write
7263  Description: TRIG. Indicates if a trigger will be needed to step to the next MEMCTL in the sequence.
7264 
7265  ENUMs:
7266  AUTO_NEXT: Automatically step to next MEMCTL register.
7267  TRIGGER_NEXT: A valid trigger will step to next MEMCTL register.
7268 */
7269 #define ADC_MEMCTL_5_TRIG 0x01000000U
7270 #define ADC_MEMCTL_5_TRIG_M 0x01000000U
7271 #define ADC_MEMCTL_5_TRIG_S 24U
7272 #define ADC_MEMCTL_5_TRIG_AUTO_NEXT 0x00000000U
7273 #define ADC_MEMCTL_5_TRIG_TRIGGER_NEXT 0x01000000U
7274 /*
7275 
7276  Field: WINCOMP
7277  From..to bits: 28...28
7278  DefaultValue: 0x0
7279  Access type: read-write
7280  Description: Window Comparator Enable.
7281  Select for the current conversion if the Window Comparator feature is used.
7282 
7283  ENUMs:
7284  DISABLE: Window Comparator is disabled.
7285  ENABLE: Window Comparator is enabled.
7286 */
7287 #define ADC_MEMCTL_5_WINCOMP 0x10000000U
7288 #define ADC_MEMCTL_5_WINCOMP_M 0x10000000U
7289 #define ADC_MEMCTL_5_WINCOMP_S 28U
7290 #define ADC_MEMCTL_5_WINCOMP_DISABLE 0x00000000U
7291 #define ADC_MEMCTL_5_WINCOMP_ENABLE 0x10000000U
7292 /*
7293 
7294  Field: FSR
7295  From..to bits: 29...29
7296  DefaultValue: 0x0
7297  Access type: read-write
7298  Description: Full scale range of ADC limited to 1.8V or 3.3V
7299  '0' - 3.3V
7300  '1' - 1.8V
7301  * Exact range may be limited below the above mentioned voltages based on the design constraints
7302 
7303 */
7304 #define ADC_MEMCTL_5_FSR 0x20000000U
7305 #define ADC_MEMCTL_5_FSR_M 0x20000000U
7306 #define ADC_MEMCTL_5_FSR_S 29U
7307 /*
7308 
7309  Field: MOD
7310  From..to bits: 30...30
7311  DefaultValue: 0x0
7312  Access type: read-write
7313  Description: MODE
7314 
7315  Single vs Differential
7316 
7317 */
7318 #define ADC_MEMCTL_5_MOD 0x40000000U
7319 #define ADC_MEMCTL_5_MOD_M 0x40000000U
7320 #define ADC_MEMCTL_5_MOD_S 30U
7321 
7322 
7323 /*-----------------------------------REGISTER------------------------------------
7324  Register name: MEMRES_0
7325  Offset name: ADC_O_MEMRES_0
7326  Relative address: 0x1280
7327  Description: Memory Results Register
7328  Default Value: NA
7329 
7330  Field: DATA
7331  From..to bits: 0...15
7332  DefaultValue: NA
7333  Access type: read-only
7334  Description: MEMRESx result register.
7335  If DATAFORMAT = 0, unsigned binary:
7336  The conversion results are right aligned. In 14 and 12 bit mode, the unused MSB bits are forced to 0.
7337 
7338  If DATAFORMAT = 1, 2s-complement format:
7339  The conversion results are left aligned. In 14 and 12 bit mode, the unused LSB bits are forced to 0.
7340 
7341  The data is stored in the right-justified format and is converted to the left-justified 2s-complement format during read back.
7342  Reading this register clears the corresponding bit in RIS.
7343 
7344 */
7345 #define ADC_MEMRES_0_DATA_W 16U
7346 #define ADC_MEMRES_0_DATA_M 0x0000FFFFU
7347 #define ADC_MEMRES_0_DATA_S 0U
7348 
7349 
7350 /*-----------------------------------REGISTER------------------------------------
7351  Register name: MEMRES_1
7352  Offset name: ADC_O_MEMRES_1
7353  Relative address: 0x1284
7354  Description: Memory Results Register
7355  Default Value: NA
7356 
7357  Field: DATA
7358  From..to bits: 0...15
7359  DefaultValue: NA
7360  Access type: read-only
7361  Description: MEMRESx result register.
7362  If DATAFORMAT = 0, unsigned binary:
7363  The conversion results are right aligned. In 14 and 12 bit mode, the unused MSB bits are forced to 0.
7364 
7365  If DATAFORMAT = 1, 2s-complement format:
7366  The conversion results are left aligned. In 14 and 12 bit mode, the unused LSB bits are forced to 0.
7367 
7368  The data is stored in the right-justified format and is converted to the left-justified 2s-complement format during read back.
7369  Reading this register clears the corresponding bit in RIS.
7370 
7371 */
7372 #define ADC_MEMRES_1_DATA_W 16U
7373 #define ADC_MEMRES_1_DATA_M 0x0000FFFFU
7374 #define ADC_MEMRES_1_DATA_S 0U
7375 
7376 
7377 /*-----------------------------------REGISTER------------------------------------
7378  Register name: MEMRES_2
7379  Offset name: ADC_O_MEMRES_2
7380  Relative address: 0x1288
7381  Description: Memory Results Register
7382  Default Value: NA
7383 
7384  Field: DATA
7385  From..to bits: 0...15
7386  DefaultValue: NA
7387  Access type: read-only
7388  Description: MEMRESx result register.
7389  If DATAFORMAT = 0, unsigned binary:
7390  The conversion results are right aligned. In 14 and 12 bit mode, the unused MSB bits are forced to 0.
7391 
7392  If DATAFORMAT = 1, 2s-complement format:
7393  The conversion results are left aligned. In 14 and 12 bit mode, the unused LSB bits are forced to 0.
7394 
7395  The data is stored in the right-justified format and is converted to the left-justified 2s-complement format during read back.
7396  Reading this register clears the corresponding bit in RIS.
7397 
7398 */
7399 #define ADC_MEMRES_2_DATA_W 16U
7400 #define ADC_MEMRES_2_DATA_M 0x0000FFFFU
7401 #define ADC_MEMRES_2_DATA_S 0U
7402 
7403 
7404 /*-----------------------------------REGISTER------------------------------------
7405  Register name: MEMRES_3
7406  Offset name: ADC_O_MEMRES_3
7407  Relative address: 0x128C
7408  Description: Memory Results Register
7409  Default Value: NA
7410 
7411  Field: DATA
7412  From..to bits: 0...15
7413  DefaultValue: NA
7414  Access type: read-only
7415  Description: MEMRESx result register.
7416  If DATAFORMAT = 0, unsigned binary:
7417  The conversion results are right aligned. In 14 and 12 bit mode, the unused MSB bits are forced to 0.
7418 
7419  If DATAFORMAT = 1, 2s-complement format:
7420  The conversion results are left aligned. In 14 and 12 bit mode, the unused LSB bits are forced to 0.
7421 
7422  The data is stored in the right-justified format and is converted to the left-justified 2s-complement format during read back.
7423  Reading this register clears the corresponding bit in RIS.
7424 
7425 */
7426 #define ADC_MEMRES_3_DATA_W 16U
7427 #define ADC_MEMRES_3_DATA_M 0x0000FFFFU
7428 #define ADC_MEMRES_3_DATA_S 0U
7429 
7430 
7431 /*-----------------------------------REGISTER------------------------------------
7432  Register name: MEMRES_4
7433  Offset name: ADC_O_MEMRES_4
7434  Relative address: 0x1290
7435  Description: Memory Results Register
7436  Default Value: NA
7437 
7438  Field: DATA
7439  From..to bits: 0...15
7440  DefaultValue: NA
7441  Access type: read-only
7442  Description: MEMRESx result register.
7443  If DATAFORMAT = 0, unsigned binary:
7444  The conversion results are right aligned. In 14 and 12 bit mode, the unused MSB bits are forced to 0.
7445 
7446  If DATAFORMAT = 1, 2s-complement format:
7447  The conversion results are left aligned. In 14 and 12 bit mode, the unused LSB bits are forced to 0.
7448 
7449  The data is stored in the right-justified format and is converted to the left-justified 2s-complement format during read back.
7450  Reading this register clears the corresponding bit in RIS.
7451 
7452 */
7453 #define ADC_MEMRES_4_DATA_W 16U
7454 #define ADC_MEMRES_4_DATA_M 0x0000FFFFU
7455 #define ADC_MEMRES_4_DATA_S 0U
7456 
7457 
7458 /*-----------------------------------REGISTER------------------------------------
7459  Register name: MEMRES_5
7460  Offset name: ADC_O_MEMRES_5
7461  Relative address: 0x1294
7462  Description: Memory Results Register
7463  Default Value: NA
7464 
7465  Field: DATA
7466  From..to bits: 0...15
7467  DefaultValue: NA
7468  Access type: read-only
7469  Description: MEMRESx result register.
7470  If DATAFORMAT = 0, unsigned binary:
7471  The conversion results are right aligned. In 14 and 12 bit mode, the unused MSB bits are forced to 0.
7472 
7473  If DATAFORMAT = 1, 2s-complement format:
7474  The conversion results are left aligned. In 14 and 12 bit mode, the unused LSB bits are forced to 0.
7475 
7476  The data is stored in the right-justified format and is converted to the left-justified 2s-complement format during read back.
7477  Reading this register clears the corresponding bit in RIS.
7478 
7479 */
7480 #define ADC_MEMRES_5_DATA_W 16U
7481 #define ADC_MEMRES_5_DATA_M 0x0000FFFFU
7482 #define ADC_MEMRES_5_DATA_S 0U
7483 
7484 
7485 /*-----------------------------------REGISTER------------------------------------
7486  Register name: MEMRES_6
7487  Offset name: ADC_O_MEMRES_6
7488  Relative address: 0x1298
7489  Description: Memory Results Register
7490  Default Value: NA
7491 
7492  Field: DATA
7493  From..to bits: 0...15
7494  DefaultValue: NA
7495  Access type: read-only
7496  Description: MEMRESx result register.
7497  If DATAFORMAT = 0, unsigned binary:
7498  The conversion results are right aligned. In 14 and 12 bit mode, the unused MSB bits are forced to 0.
7499 
7500  If DATAFORMAT = 1, 2s-complement format:
7501  The conversion results are left aligned. In 14 and 12 bit mode, the unused LSB bits are forced to 0.
7502 
7503  The data is stored in the right-justified format and is converted to the left-justified 2s-complement format during read back.
7504  Reading this register clears the corresponding bit in RIS.
7505 
7506 */
7507 #define ADC_MEMRES_6_DATA_W 16U
7508 #define ADC_MEMRES_6_DATA_M 0x0000FFFFU
7509 #define ADC_MEMRES_6_DATA_S 0U
7510 
7511 
7512 /*-----------------------------------REGISTER------------------------------------
7513  Register name: MEMRES_7
7514  Offset name: ADC_O_MEMRES_7
7515  Relative address: 0x129C
7516  Description: Memory Results Register
7517  Default Value: NA
7518 
7519  Field: DATA
7520  From..to bits: 0...15
7521  DefaultValue: NA
7522  Access type: read-only
7523  Description: MEMRESx result register.
7524  If DATAFORMAT = 0, unsigned binary:
7525  The conversion results are right aligned. In 14 and 12 bit mode, the unused MSB bits are forced to 0.
7526 
7527  If DATAFORMAT = 1, 2s-complement format:
7528  The conversion results are left aligned. In 14 and 12 bit mode, the unused LSB bits are forced to 0.
7529 
7530  The data is stored in the right-justified format and is converted to the left-justified 2s-complement format during read back.
7531  Reading this register clears the corresponding bit in RIS.
7532 
7533 */
7534 #define ADC_MEMRES_7_DATA_W 16U
7535 #define ADC_MEMRES_7_DATA_M 0x0000FFFFU
7536 #define ADC_MEMRES_7_DATA_S 0U
7537 
7538 
7539 /*-----------------------------------REGISTER------------------------------------
7540  Register name: MEMRES_8
7541  Offset name: ADC_O_MEMRES_8
7542  Relative address: 0x12A0
7543  Description: Memory Results Register
7544  Default Value: NA
7545 
7546  Field: DATA
7547  From..to bits: 0...15
7548  DefaultValue: NA
7549  Access type: read-only
7550  Description: MEMRESx result register.
7551  If DATAFORMAT = 0, unsigned binary:
7552  The conversion results are right aligned. In 14 and 12 bit mode, the unused MSB bits are forced to 0.
7553 
7554  If DATAFORMAT = 1, 2s-complement format:
7555  The conversion results are left aligned. In 14 and 12 bit mode, the unused LSB bits are forced to 0.
7556 
7557  The data is stored in the right-justified format and is converted to the left-justified 2s-complement format during read back.
7558  Reading this register clears the corresponding bit in RIS.
7559 
7560 */
7561 #define ADC_MEMRES_8_DATA_W 16U
7562 #define ADC_MEMRES_8_DATA_M 0x0000FFFFU
7563 #define ADC_MEMRES_8_DATA_S 0U
7564 
7565 
7566 /*-----------------------------------REGISTER------------------------------------
7567  Register name: MEMRES_9
7568  Offset name: ADC_O_MEMRES_9
7569  Relative address: 0x12A4
7570  Description: Memory Results Register
7571  Default Value: NA
7572 
7573  Field: DATA
7574  From..to bits: 0...15
7575  DefaultValue: NA
7576  Access type: read-only
7577  Description: MEMRESx result register.
7578  If DATAFORMAT = 0, unsigned binary:
7579  The conversion results are right aligned. In 14 and 12 bit mode, the unused MSB bits are forced to 0.
7580 
7581  If DATAFORMAT = 1, 2s-complement format:
7582  The conversion results are left aligned. In 14 and 12 bit mode, the unused LSB bits are forced to 0.
7583 
7584  The data is stored in the right-justified format and is converted to the left-justified 2s-complement format during read back.
7585  Reading this register clears the corresponding bit in RIS.
7586 
7587 */
7588 #define ADC_MEMRES_9_DATA_W 16U
7589 #define ADC_MEMRES_9_DATA_M 0x0000FFFFU
7590 #define ADC_MEMRES_9_DATA_S 0U
7591 
7592 
7593 /*-----------------------------------REGISTER------------------------------------
7594  Register name: MEMRES_10
7595  Offset name: ADC_O_MEMRES_10
7596  Relative address: 0x12A8
7597  Description: Memory Results Register
7598  Default Value: NA
7599 
7600  Field: DATA
7601  From..to bits: 0...15
7602  DefaultValue: NA
7603  Access type: read-only
7604  Description: MEMRESx result register.
7605  If DATAFORMAT = 0, unsigned binary:
7606  The conversion results are right aligned. In 14 and 12 bit mode, the unused MSB bits are forced to 0.
7607 
7608  If DATAFORMAT = 1, 2s-complement format:
7609  The conversion results are left aligned. In 14 and 12 bit mode, the unused LSB bits are forced to 0.
7610 
7611  The data is stored in the right-justified format and is converted to the left-justified 2s-complement format during read back.
7612  Reading this register clears the corresponding bit in RIS.
7613 
7614 */
7615 #define ADC_MEMRES_10_DATA_W 16U
7616 #define ADC_MEMRES_10_DATA_M 0x0000FFFFU
7617 #define ADC_MEMRES_10_DATA_S 0U
7618 
7619 
7620 /*-----------------------------------REGISTER------------------------------------
7621  Register name: MEMRES_11
7622  Offset name: ADC_O_MEMRES_11
7623  Relative address: 0x12AC
7624  Description: Memory Results Register
7625  Default Value: NA
7626 
7627  Field: DATA
7628  From..to bits: 0...15
7629  DefaultValue: NA
7630  Access type: read-only
7631  Description: MEMRESx result register.
7632  If DATAFORMAT = 0, unsigned binary:
7633  The conversion results are right aligned. In 14 and 12 bit mode, the unused MSB bits are forced to 0.
7634 
7635  If DATAFORMAT = 1, 2s-complement format:
7636  The conversion results are left aligned. In 14 and 12 bit mode, the unused LSB bits are forced to 0.
7637 
7638  The data is stored in the right-justified format and is converted to the left-justified 2s-complement format during read back.
7639  Reading this register clears the corresponding bit in RIS.
7640 
7641 */
7642 #define ADC_MEMRES_11_DATA_W 16U
7643 #define ADC_MEMRES_11_DATA_M 0x0000FFFFU
7644 #define ADC_MEMRES_11_DATA_S 0U
7645 
7646 
7647 /*-----------------------------------REGISTER------------------------------------
7648  Register name: MEMRES_12
7649  Offset name: ADC_O_MEMRES_12
7650  Relative address: 0x12B0
7651  Description: Memory Results Register
7652  Default Value: NA
7653 
7654  Field: DATA
7655  From..to bits: 0...15
7656  DefaultValue: NA
7657  Access type: read-only
7658  Description: MEMRESx result register.
7659  If DATAFORMAT = 0, unsigned binary:
7660  The conversion results are right aligned. In 14 and 12 bit mode, the unused MSB bits are forced to 0.
7661 
7662  If DATAFORMAT = 1, 2s-complement format:
7663  The conversion results are left aligned. In 14 and 12 bit mode, the unused LSB bits are forced to 0.
7664 
7665  The data is stored in the right-justified format and is converted to the left-justified 2s-complement format during read back.
7666  Reading this register clears the corresponding bit in RIS.
7667 
7668 */
7669 #define ADC_MEMRES_12_DATA_W 16U
7670 #define ADC_MEMRES_12_DATA_M 0x0000FFFFU
7671 #define ADC_MEMRES_12_DATA_S 0U
7672 
7673 
7674 /*-----------------------------------REGISTER------------------------------------
7675  Register name: MEMRES_13
7676  Offset name: ADC_O_MEMRES_13
7677  Relative address: 0x12B4
7678  Description: Memory Results Register
7679  Default Value: NA
7680 
7681  Field: DATA
7682  From..to bits: 0...15
7683  DefaultValue: NA
7684  Access type: read-only
7685  Description: MEMRESx result register.
7686  If DATAFORMAT = 0, unsigned binary:
7687  The conversion results are right aligned. In 14 and 12 bit mode, the unused MSB bits are forced to 0.
7688 
7689  If DATAFORMAT = 1, 2s-complement format:
7690  The conversion results are left aligned. In 14 and 12 bit mode, the unused LSB bits are forced to 0.
7691 
7692  The data is stored in the right-justified format and is converted to the left-justified 2s-complement format during read back.
7693  Reading this register clears the corresponding bit in RIS.
7694 
7695 */
7696 #define ADC_MEMRES_13_DATA_W 16U
7697 #define ADC_MEMRES_13_DATA_M 0x0000FFFFU
7698 #define ADC_MEMRES_13_DATA_S 0U
7699 
7700 
7701 /*-----------------------------------REGISTER------------------------------------
7702  Register name: MEMRES_14
7703  Offset name: ADC_O_MEMRES_14
7704  Relative address: 0x12B8
7705  Description: Memory Results Register
7706  Default Value: NA
7707 
7708  Field: DATA
7709  From..to bits: 0...15
7710  DefaultValue: NA
7711  Access type: read-only
7712  Description: MEMRESx result register.
7713  If DATAFORMAT = 0, unsigned binary:
7714  The conversion results are right aligned. In 14 and 12 bit mode, the unused MSB bits are forced to 0.
7715 
7716  If DATAFORMAT = 1, 2s-complement format:
7717  The conversion results are left aligned. In 14 and 12 bit mode, the unused LSB bits are forced to 0.
7718 
7719  The data is stored in the right-justified format and is converted to the left-justified 2s-complement format during read back.
7720  Reading this register clears the corresponding bit in RIS.
7721 
7722 */
7723 #define ADC_MEMRES_14_DATA_W 16U
7724 #define ADC_MEMRES_14_DATA_M 0x0000FFFFU
7725 #define ADC_MEMRES_14_DATA_S 0U
7726 
7727 
7728 /*-----------------------------------REGISTER------------------------------------
7729  Register name: MEMRES_15
7730  Offset name: ADC_O_MEMRES_15
7731  Relative address: 0x12BC
7732  Description: Memory Results Register
7733  Default Value: NA
7734 
7735  Field: DATA
7736  From..to bits: 0...15
7737  DefaultValue: NA
7738  Access type: read-only
7739  Description: MEMRESx result register.
7740  If DATAFORMAT = 0, unsigned binary:
7741  The conversion results are right aligned. In 14 and 12 bit mode, the unused MSB bits are forced to 0.
7742 
7743  If DATAFORMAT = 1, 2s-complement format:
7744  The conversion results are left aligned. In 14 and 12 bit mode, the unused LSB bits are forced to 0.
7745 
7746  The data is stored in the right-justified format and is converted to the left-justified 2s-complement format during read back.
7747  Reading this register clears the corresponding bit in RIS.
7748 
7749 */
7750 #define ADC_MEMRES_15_DATA_W 16U
7751 #define ADC_MEMRES_15_DATA_M 0x0000FFFFU
7752 #define ADC_MEMRES_15_DATA_S 0U
7753 
7754 
7755 /*-----------------------------------REGISTER------------------------------------
7756  Register name: STA
7757  Offset name: ADC_O_STA
7758  Relative address: 0x1340
7759  Description: STATUS
7760 
7761  ULP_ADCHP Status Register 0
7762  Default Value: 0x00000000
7763 
7764  Field: BUSY
7765  From..to bits: 0...0
7766  DefaultValue: 0x0
7767  Access type: read-only
7768  Description: ULP_ADCHP busy. This bit indicates that an active sample or conversion operation is in progress.
7769 
7770  ENUMs:
7771  ACTIVE: A sample or conversion is in progress.
7772  IDLE: No sampling or conversion in progress.
7773 */
7774 #define ADC_STA_BUSY 0x00000001U
7775 #define ADC_STA_BUSY_M 0x00000001U
7776 #define ADC_STA_BUSY_S 0U
7777 #define ADC_STA_BUSY_ACTIVE 0x00000001U
7778 #define ADC_STA_BUSY_IDLE 0x00000000U
7779 /*
7780 
7781  Field: REFBUFRDY
7782  From..to bits: 1...1
7783  DefaultValue: 0x0
7784  Access type: read-only
7785  Description: Indicates reference buffer is powered up.
7786 
7787  ENUMs:
7788  READY: REFBUF is ready.
7789  NOTREADY: REFBUF not ready.
7790 */
7791 #define ADC_STA_REFBUFRDY 0x00000002U
7792 #define ADC_STA_REFBUFRDY_M 0x00000002U
7793 #define ADC_STA_REFBUFRDY_S 1U
7794 #define ADC_STA_REFBUFRDY_READY 0x00000002U
7795 #define ADC_STA_REFBUFRDY_NOTREADY 0x00000000U
7796 /*
7797 
7798  Field: ASCACT
7799  From..to bits: 2...2
7800  DefaultValue: 0x0
7801  Access type: read-only
7802  Description: ASC active
7803 
7804  ENUMs:
7805  ACTIVE: ASC active
7806  IDLE: Idle or done
7807 */
7808 #define ADC_STA_ASCACT 0x00000004U
7809 #define ADC_STA_ASCACT_M 0x00000004U
7810 #define ADC_STA_ASCACT_S 2U
7811 #define ADC_STA_ASCACT_ACTIVE 0x00000004U
7812 #define ADC_STA_ASCACT_IDLE 0x00000000U
7813 
7814 
7815 /*-----------------------------------REGISTER------------------------------------
7816  Register name: TEST0
7817  Offset name: ADC_O_TEST0
7818  Relative address: 0x1E00
7819  Description: Test0 register for ATB Mux sel for ATBBUF and ATBUNBUF
7820  Default Value: 0x00000000
7821 
7822  Field: AMBUFSEL
7823  From..to bits: 0...4
7824  DefaultValue: 0x0
7825  Access type: read-write
7826  Description: ATBBUF MUX Sel
7827  Bit 4: DIG LDO Output
7828  Bit 3: Ana LDO output
7829  Bit 2: CM buffer output
7830  Bit 1 , and Bit 0 : VDDA3P3 signal
7831 
7832 */
7833 #define ADC_TEST0_AMBUFSEL_W 5U
7834 #define ADC_TEST0_AMBUFSEL_M 0x0000001FU
7835 #define ADC_TEST0_AMBUFSEL_S 0U
7836 /*
7837 
7838  Field: AMUNBUFSEL
7839  From..to bits: 8...12
7840  DefaultValue: 0x0
7841  Access type: read-write
7842  Description: ATBUNBUF MUX Sel
7843  ull_dft_atb_usc_ulpadchp_unbuf_muxsel<4> : Vint REF BUF1 Output
7844  ull_dft_atb_usc_ulpadchp_unbuf_muxsel<3> : Vint REF BUF2 Output
7845  ull_dft_atb_usc_ulpadchp_unbuf_muxsel<2> : ADC internal VREFN signal
7846  ull_dft_atb_usc_ulpadchp_unbuf_muxsel<1> : Not used
7847  ull_dft_atb_usc_ulpadchp_unbuf_muxsel<0> : Not used
7848 
7849 */
7850 #define ADC_TEST0_AMUNBUFSEL_W 5U
7851 #define ADC_TEST0_AMUNBUFSEL_M 0x00001F00U
7852 #define ADC_TEST0_AMUNBUFSEL_S 8U
7853 /*
7854 
7855  Field: ATBUNBUFEN
7856  From..to bits: 29...29
7857  DefaultValue: 0x0
7858  Access type: read-write
7859  Description: ATB_UNBUF Enable
7860  ADC Signal = ull_dft_atb_usc_ulpadchp_en<0> := 1
7861 
7862 */
7863 #define ADC_TEST0_ATBUNBUFEN 0x20000000U
7864 #define ADC_TEST0_ATBUNBUFEN_M 0x20000000U
7865 #define ADC_TEST0_ATBUNBUFEN_S 29U
7866 /*
7867 
7868  Field: ATBBUFEN
7869  From..to bits: 30...30
7870  DefaultValue: 0x0
7871  Access type: read-write
7872  Description: ATB_BUF Enable
7873  ADC Signal = ull_dft_atb_usc_ulpadchp_en<1> := 1
7874 
7875 */
7876 #define ADC_TEST0_ATBBUFEN 0x40000000U
7877 #define ADC_TEST0_ATBBUFEN_M 0x40000000U
7878 #define ADC_TEST0_ATBBUFEN_S 30U
7879 
7880 
7881 /*-----------------------------------REGISTER------------------------------------
7882  Register name: TEST1
7883  Offset name: ADC_O_TEST1
7884  Relative address: 0x1E04
7885  Description: DTB MUX Selection
7886  Default Value: 0x00000000
7887 
7888  Field: DTBMSEL
7889  From..to bits: 0...4
7890  DefaultValue: 0x0
7891  Access type: read-write
7892  Description: DTB Mux Sel
7893  ull_dft_dtb_usc_ulpadchp_muxsel<0x0> : ADC 16 bit data
7894  ull_dft_dtb_usc_ulpadchp_muxsel<0x1> :
7895  DTB0: ADC CLK DIV2
7896  DTB1 - 9 : See implementation document for detail signal name.
7897 
7898 */
7899 #define ADC_TEST1_DTBMSEL_W 5U
7900 #define ADC_TEST1_DTBMSEL_M 0x0000001FU
7901 #define ADC_TEST1_DTBMSEL_S 0U
7902 
7903 
7904 /*-----------------------------------REGISTER------------------------------------
7905  Register name: TEST2
7906  Offset name: ADC_O_TEST2
7907  Relative address: 0x1E08
7908  Description: ATB Ch sel as ADC input
7909  MUX Test mode sel, ATB REF and CAP OSVT enable
7910  Default Value: 0x00000000
7911 
7912  Field: MUXTSEL
7913  From..to bits: 8...8
7914  DefaultValue: 0x0
7915  Access type: read-write
7916  Description: MUX TEST SELECTOR
7917 
7918  ADC Input MUX test mode selection:
7919  ull_usc_ulpachp_mux_testmode_i<1:0>: 0x01 : Selected Even ch short with ATBBUF CH sel
7920  ull_usc_ulpachp_mux_testmode_i<1:0>: 0x10 : Selected Odd ch short with ATBUnBUFCh sel
7921 
7922 */
7923 #define ADC_TEST2_MUXTSEL 0x00000100U
7924 #define ADC_TEST2_MUXTSEL_M 0x00000100U
7925 #define ADC_TEST2_MUXTSEL_S 8U
7926 /*
7927 
7928  Field: CMPGNTRIM
7929  From..to bits: 20...20
7930  DefaultValue: 0x0
7931  Access type: read-write
7932  Description: COMP GAIN TRIM
7933 
7934  Resistor Trim Enable Control Signal
7935  ull_usc_ulpadchp_dft_i<30>:1 -> Resistor Trim Enable Control Signal
7936 
7937 */
7938 #define ADC_TEST2_CMPGNTRIM 0x00100000U
7939 #define ADC_TEST2_CMPGNTRIM_M 0x00100000U
7940 #define ADC_TEST2_CMPGNTRIM_S 20U
7941 /*
7942 
7943  Field: LTRIMEN
7944  From..to bits: 24...24
7945  DefaultValue: 0x0
7946  Access type: read-write
7947  Description: Latch trim enable.
7948 
7949 */
7950 #define ADC_TEST2_LTRIMEN 0x01000000U
7951 #define ADC_TEST2_LTRIMEN_M 0x01000000U
7952 #define ADC_TEST2_LTRIMEN_S 24U
7953 /*
7954 
7955  Field: CDACOVSTEN
7956  From..to bits: 31...31
7957  DefaultValue: 0x0
7958  Access type: read-write
7959  Description: ADC P_CDAC CAP OVST Enable Control Signal
7960  ull_usc_ulpadchp_dft_i<31>:1 -> ADC CDAC CAP OVST Enable Control Signal
7961 
7962 */
7963 #define ADC_TEST2_CDACOVSTEN 0x80000000U
7964 #define ADC_TEST2_CDACOVSTEN_M 0x80000000U
7965 #define ADC_TEST2_CDACOVSTEN_S 31U
7966 
7967 
7968 /*-----------------------------------REGISTER------------------------------------
7969  Register name: TEST3
7970  Offset name: ADC_O_TEST3
7971  Relative address: 0x1E0C
7972  Description: ADC CAL Accumulation Register
7973  Default Value: 0x00000000
7974 
7975  Field: CALACUML
7976  From..to bits: 0...31
7977  DefaultValue: 0x0
7978  Access type: read-write
7979  Description: Accumulation of # samples during Calibration step
7980 
7981 */
7982 #define ADC_TEST3_CALACUML_W 32U
7983 #define ADC_TEST3_CALACUML_M 0xFFFFFFFFU
7984 #define ADC_TEST3_CALACUML_S 0U
7985 
7986 
7987 /*-----------------------------------REGISTER------------------------------------
7988  Register name: TEST4
7989  Offset name: ADC_O_TEST4
7990  Relative address: 0x1E10
7991  Description: CAL Control register: Average Sample count, Step number, Recall En and Debug option to override ull_usc_ulpadchp_dft_i<26:0>.
7992  Default Value: 0x00000000
7993 
7994  Field: CALSTPSEL
7995  From..to bits: 16...21
7996  DefaultValue: 0x0
7997  Access type: read-write
7998  Description: ADC CAL STEP SELECTION
7999 
8000 */
8001 #define ADC_TEST4_CALSTPSEL_W 6U
8002 #define ADC_TEST4_CALSTPSEL_M 0x003F0000U
8003 #define ADC_TEST4_CALSTPSEL_S 16U
8004 /*
8005 
8006  Field: CALMODEN
8007  From..to bits: 24...24
8008  DefaultValue: 0x0
8009  Access type: read-write
8010  Description: ADC CDAC Calibration mode enable
8011 
8012 */
8013 #define ADC_TEST4_CALMODEN 0x01000000U
8014 #define ADC_TEST4_CALMODEN_M 0x01000000U
8015 #define ADC_TEST4_CALMODEN_S 24U
8016 /*
8017 
8018  Field: HWSTPSELDIS
8019  From..to bits: 31...31
8020  DefaultValue: 0x0
8021  Access type: read-write
8022  Description: By Enabling this bit, DLC written value overwritten of ull_usc_ulpadchp_dft_i<26:0> from TEST7 register.
8023  This is for debug.
8024 
8025 */
8026 #define ADC_TEST4_HWSTPSELDIS 0x80000000U
8027 #define ADC_TEST4_HWSTPSELDIS_M 0x80000000U
8028 #define ADC_TEST4_HWSTPSELDIS_S 31U
8029 
8030 
8031 /*-----------------------------------REGISTER------------------------------------
8032  Register name: TEST5
8033  Offset name: ADC_O_TEST5
8034  Relative address: 0x1E14
8035  Description: This register updated ull_usc_ulpadchp_dft_i[26:0] value if Test 5: HW_STEP_SEL_DIS bit enable
8036  Default Value: 0x00000000
8037 
8038  Field: CALCAPCTL
8039  From..to bits: 0...9
8040  DefaultValue: 0x0
8041  Access type: read-write
8042  Description: This register updated ull_usc_ulpadchp_dft_i[26:0] value if Test 5: HW_STEP_SEL_DIS bit enabled
8043  ull_usc_ulpadchp_dft_i[26:0]
8044 
8045 */
8046 #define ADC_TEST5_CALCAPCTL_W 10U
8047 #define ADC_TEST5_CALCAPCTL_M 0x000003FFU
8048 #define ADC_TEST5_CALCAPCTL_S 0U
8049 
8050 
8051 /*-----------------------------------REGISTER------------------------------------
8052  Register name: TEST6
8053  Offset name: ADC_O_TEST6
8054  Relative address: 0x1E18
8055  Description: REFBUF ATB selection. This register is used to select the REFBUF signals on ATB.
8056  Default Value: 0x00000000
8057 
8058  Field: ATBSEL
8059  From..to bits: 0...3
8060  DefaultValue: 0x0
8061  Access type: read-write
8062  Description: ATB selection. The undefined values are reserved and should not be used.
8063 
8064  ENUMs:
8065  VAL0: Both ATEST0 and ATEST1 switches are open
8066  VAL1: REFBUF output (ATEST0/BUF path)
8067  VAL2: 1st stage output (ATEST0/BUF path)
8068 
8069  VAL4: Resistor ladder feedback (ATEST0/BUF path)
8070  VAL8: 1st stage source (ATEST1/UNBUF path)
8071 */
8072 #define ADC_TEST6_ATBSEL_W 4U
8073 #define ADC_TEST6_ATBSEL_M 0x0000000FU
8074 #define ADC_TEST6_ATBSEL_S 0U
8075 #define ADC_TEST6_ATBSEL_VAL0 0x00000000U
8076 #define ADC_TEST6_ATBSEL_VAL1 0x00000001U
8077 #define ADC_TEST6_ATBSEL_VAL2 0x00000002U
8078 #define ADC_TEST6_ATBSEL_VAL4 0x00000004U
8079 #define ADC_TEST6_ATBSEL_VAL8 0x00000008U
8080 
8081 
8082 /*-----------------------------------REGISTER------------------------------------
8083  Register name: DBG1
8084  Offset name: ADC_O_DBG1
8085  Relative address: 0x1E20
8086  Description: DEBUG1
8087 
8088  COMP CTL Debug register
8089  Default Value: 0x00801000
8090 
8091  Field: CTRL
8092  From..to bits: 0...31
8093  DefaultValue: 0x801000
8094  Access type: read-write
8095  Description: COMP Debug signals control
8096  ull_usc_ulpadchp_ctrl_comp_i[31]: Enable the use of external value for comaparor gain and IB settings
8097 
8098 */
8099 #define ADC_DBG1_CTRL_W 32U
8100 #define ADC_DBG1_CTRL_M 0xFFFFFFFFU
8101 #define ADC_DBG1_CTRL_S 0U
8102 
8103 
8104 /*-----------------------------------REGISTER------------------------------------
8105  Register name: DBG2
8106  Offset name: ADC_O_DBG2
8107  Relative address: 0x1E24
8108  Description: DEBUG 2
8109 
8110  OSC, LATCH_OS, VTOI Debug CTL register
8111  Default Value: 0x00000000
8112 
8113  Field: VTSTODEN
8114  From..to bits: 24...24
8115  DefaultValue: 0x0
8116  Access type: read-write
8117  Description: VTOI TETSMODE Enable
8118 
8119 */
8120 #define ADC_DBG2_VTSTODEN 0x01000000U
8121 #define ADC_DBG2_VTSTODEN_M 0x01000000U
8122 #define ADC_DBG2_VTSTODEN_S 24U
8123 /*
8124 
8125  Field: VTOICTL
8126  From..to bits: 28...29
8127  DefaultValue: 0x0
8128  Access type: read-write
8129  Description: VTOI Debug Signals control
8130  ull_usc_ulpadchp_ctrl_vtoi_i[3:0]
8131 
8132 */
8133 #define ADC_DBG2_VTOICTL_W 2U
8134 #define ADC_DBG2_VTOICTL_M 0x30000000U
8135 #define ADC_DBG2_VTOICTL_S 28U
8136 
8137 
8138 /*-----------------------------------REGISTER------------------------------------
8139  Register name: DBG3
8140  Offset name: ADC_O_DBG3
8141  Relative address: 0x1E28
8142  Description: DEBUG 3
8143 
8144  Boost, DCLK Sel, Int coex dirty and Dec disable debug control register
8145  Default Value: 0x00000000
8146 
8147  Field: BSTENZ
8148  From..to bits: 0...0
8149  DefaultValue: 0x0
8150  Access type: read-write
8151  Description: BOOST ENZ
8152 
8153 */
8154 #define ADC_DBG3_BSTENZ 0x00000001U
8155 #define ADC_DBG3_BSTENZ_M 0x00000001U
8156 #define ADC_DBG3_BSTENZ_S 0U
8157 /*
8158 
8159  Field: DEC0DIS
8160  From..to bits: 4...4
8161  DefaultValue: 0x0
8162  Access type: read-write
8163  Description: DEC0 Disable control signal
8164 
8165 */
8166 #define ADC_DBG3_DEC0DIS 0x00000010U
8167 #define ADC_DBG3_DEC0DIS_M 0x00000010U
8168 #define ADC_DBG3_DEC0DIS_S 4U
8169 /*
8170 
8171  Field: DEC1DIS
8172  From..to bits: 5...5
8173  DefaultValue: 0x0
8174  Access type: read-write
8175  Description: DEC1 Disable control signal
8176 
8177 */
8178 #define ADC_DBG3_DEC1DIS 0x00000020U
8179 #define ADC_DBG3_DEC1DIS_M 0x00000020U
8180 #define ADC_DBG3_DEC1DIS_S 5U
8181 
8182 
8183 /*-----------------------------------REGISTER------------------------------------
8184  Register name: DBG4
8185  Offset name: ADC_O_DBG4
8186  Relative address: 0x1E2C
8187  Description: DEBUG 4
8188 
8189  ADC MSIP Control signal for Debug: adc_ctrl<31:0>
8190  Default Value: 0x00000000
8191 
8192  Field: ADCCTL0
8193  From..to bits: 0...15
8194  DefaultValue: 0x0
8195  Access type: read-write
8196  Description: ADC CONTROL 0
8197 
8198  ADC MSIP Control signal for Debug: adc_ctrl<15:0>
8199 
8200 */
8201 #define ADC_DBG4_ADCCTL0_W 16U
8202 #define ADC_DBG4_ADCCTL0_M 0x0000FFFFU
8203 #define ADC_DBG4_ADCCTL0_S 0U
8204 
8205 
8206 /*-----------------------------------REGISTER------------------------------------
8207  Register name: CONVCTL
8208  Offset name: ADC_O_CONVCTL
8209  Relative address: 0x1F14
8210  Description: Conversion Control
8211  Default Value: NA
8212 
8213  Field: DAC
8214  From..to bits: 0...2
8215  DefaultValue: NA
8216  Access type: read-write
8217  Description: 000 : 1 Clock delay, ...., 111 : 8 Clock delay
8218 
8219 */
8220 #define ADC_CONVCTL_DAC_W 3U
8221 #define ADC_CONVCTL_DAC_M 0x00000007U
8222 #define ADC_CONVCTL_DAC_S 0U
8223 /*
8224 
8225  Field: PREAMP
8226  From..to bits: 3...4
8227  DefaultValue: NA
8228  Access type: read-write
8229  Description: 00 : 1 Clock delay, ..., 11 : 4 Clock delay
8230 
8231 */
8232 #define ADC_CONVCTL_PREAMP_W 2U
8233 #define ADC_CONVCTL_PREAMP_M 0x00000018U
8234 #define ADC_CONVCTL_PREAMP_S 3U
8235 /*
8236 
8237  Field: HOLD
8238  From..to bits: 5...8
8239  DefaultValue: NA
8240  Access type: read-write
8241  Description: 000 : 1 Clock delay, ...., 111 : 8 Clock delay
8242  bit[3] - don't care and not used
8243 
8244 */
8245 #define ADC_CONVCTL_HOLD_W 4U
8246 #define ADC_CONVCTL_HOLD_M 0x000001E0U
8247 #define ADC_CONVCTL_HOLD_S 5U
8248 /*
8249 
8250  Field: OV
8251  From..to bits: 15...15
8252  DefaultValue: NA
8253  Access type: read-write
8254  Description: OVERRIDE
8255 
8256  1 : Override, 0 : Use LUT values
8257 
8258  LUT is mentioned since the proposal was to pick up values automatically based on Internal vs External reference
8259 
8260 */
8261 #define ADC_CONVCTL_OV 0x00008000U
8262 #define ADC_CONVCTL_OV_M 0x00008000U
8263 #define ADC_CONVCTL_OV_S 15U
8264 /*
8265 
8266  Field: CONCLKSEL
8267  From..to bits: 16...17
8268  DefaultValue: NA
8269  Access type: read-write
8270  Description: CONVERSION CLOCK SELECTOR
8271 
8272  ADC functional clock selection
8273 
8274  0x0 - (Reset/Default) CLK_GATE
8275  0x1 - SOC_CLK
8276  0x2 - HFXT
8277  0x3 - SOC_PLL_CLK_DIV
8278 
8279  note: not glitch free, therefore ICG should be enabled after selecting the right clk
8280 
8281 */
8282 #define ADC_CONVCTL_CONCLKSEL_W 2U
8283 #define ADC_CONVCTL_CONCLKSEL_M 0x00030000U
8284 #define ADC_CONVCTL_CONCLKSEL_S 16U
8285 /*
8286 
8287  Field: CONVCLKEN
8288  From..to bits: 18...18
8289  DefaultValue: NA
8290  Access type: read-write
8291  Description: CONV CLK ICG EN
8292 
8293  should be enabled after selecting CONV CLK
8294 
8295 */
8296 #define ADC_CONVCTL_CONVCLKEN 0x00040000U
8297 #define ADC_CONVCTL_CONVCLKEN_M 0x00040000U
8298 #define ADC_CONVCTL_CONVCLKEN_S 18U
8299 
8300 
8301 /*-----------------------------------REGISTER------------------------------------
8302  Register name: CTRL
8303  Offset name: ADC_O_CTRL
8304  Relative address: 0x1F18
8305  Description:
8306  Default Value: 0x00000000
8307 
8308  Field: FSBIT0
8309  From..to bits: 0...8
8310  DefaultValue: 0x0
8311  Access type: read-write
8312  Description: FUSE BITS 0
8313 
8314  values for fuse OV
8315 
8316 */
8317 #define ADC_CTRL_FSBIT0_W 9U
8318 #define ADC_CTRL_FSBIT0_M 0x000001FFU
8319 #define ADC_CTRL_FSBIT0_S 0U
8320 /*
8321 
8322  Field: FSBIT1
8323  From..to bits: 9...16
8324  DefaultValue: 0x0
8325  Access type: read-write
8326  Description: FUSE BITS 1
8327 
8328  values for fuse OV
8329 
8330 */
8331 #define ADC_CTRL_FSBIT1_W 8U
8332 #define ADC_CTRL_FSBIT1_M 0x0001FE00U
8333 #define ADC_CTRL_FSBIT1_S 9U
8334 
8335 
8336 /*-----------------------------------REGISTER------------------------------------
8337  Register name: MODCTL
8338  Offset name: ADC_O_MODCTL
8339  Relative address: 0x1F1C
8340  Description: MODE CONTROL
8341  Default Value: 0x00000000
8342 
8343  Field: VREFRAN
8344  From..to bits: 0...0
8345  DefaultValue: 0x0
8346  Access type: read-write
8347  Description: VOLTAGE REFERENCE RANGE
8348 
8349  0 --> 0 - 4095 in 0 - 3.2V
8350  1 --> 0 - 4095 in 0.1 to 3.3V
8351 
8352  Only in Single Ended mode
8353 
8354 */
8355 #define ADC_MODCTL_VREFRAN 0x00000001U
8356 #define ADC_MODCTL_VREFRAN_M 0x00000001U
8357 #define ADC_MODCTL_VREFRAN_S 0U
8358 /*
8359 
8360  Field: SCASEL
8361  From..to bits: 1...1
8362  DefaultValue: 0x0
8363  Access type: read-write
8364  Description: SCALE SELECT
8365 
8366  0 --> Normal output
8367  1 --> scale 0-4223 in 0-4095 (efectively supporting 0-3.3V in 12 bit space)
8368 
8369 */
8370 #define ADC_MODCTL_SCASEL 0x00000002U
8371 #define ADC_MODCTL_SCASEL_M 0x00000002U
8372 #define ADC_MODCTL_SCASEL_S 1U
8373 
8374 
8375 /*-----------------------------------REGISTER------------------------------------
8376  Register name: INTCHCTL
8377  Offset name: ADC_O_INTCHCTL
8378  Relative address: 0x1F20
8379  Description: INTERNAL CHANNEL CONTROL
8380  Default Value: 0x00000000
8381 
8382  Field: RLVAL
8383  From..to bits: 0...0
8384  DefaultValue: 0x0
8385  Access type: read-write
8386  Description: RLADDER VALUE
8387 
8388  0 --> 0 - 4095 in 0 - 3.2V
8389  1 --> 0 - 4095 in 0.1 to 3.3V
8390 
8391  Only in Single Ended mode
8392 
8393 */
8394 #define ADC_INTCHCTL_RLVAL 0x00000001U
8395 #define ADC_INTCHCTL_RLVAL_M 0x00000001U
8396 #define ADC_INTCHCTL_RLVAL_S 0U
8397 /*
8398 
8399  Field: RLOV
8400  From..to bits: 1...1
8401  DefaultValue: 0x0
8402  Access type: read-write
8403  Description: RLADDER OVERRIDE
8404 
8405  Override Enable/Disable control for R-ladder inside RFCIO.
8406  This provides divided voltage to ADC by limiting the max. voltage.
8407  Default : 0 use value driven by ADC FSM
8408 
8409 */
8410 #define ADC_INTCHCTL_RLOV 0x00000002U
8411 #define ADC_INTCHCTL_RLOV_M 0x00000002U
8412 #define ADC_INTCHCTL_RLOV_S 1U
8413 
8414 
8415 /*-----------------------------------REGISTER------------------------------------
8416  Register name: STLTIM
8417  Offset name: ADC_O_STLTIM
8418  Relative address: 0x1F24
8419  Description: SETTLING TIME
8420  Default Value: 0x01670027
8421 
8422  Field: SWCTRLDEL
8423  From..to bits: 0...5
8424  DefaultValue: 0x27
8425  Access type: read-write
8426  Description: SWITCH CONTROL DELAY
8427  delay value for SWITCH CONTROL.
8428  calculated using conv clk
8429  '1' - 2 conv clks
8430  '2' - 3 conv clks
8431  ...
8432  '3F' - 64 conv clks
8433 
8434 */
8435 #define ADC_STLTIM_SWCTRLDEL_W 6U
8436 #define ADC_STLTIM_SWCTRLDEL_M 0x0000003FU
8437 #define ADC_STLTIM_SWCTRLDEL_S 0U
8438 /*
8439 
8440  Field: RCSETDEL
8441  From..to bits: 16...25
8442  DefaultValue: 0x167
8443  Access type: read-write
8444  Description: RC SETTLING DELAY
8445  delay value for RC SETTLING DELAY. value should be added to switch control delay.
8446  calculated using conv clk
8447  '1' - 1 conv clks
8448  '2' - 2 conv clks
8449  ...
8450  '3FF' - 1023 conv clks
8451 
8452 */
8453 #define ADC_STLTIM_RCSETDEL_W 10U
8454 #define ADC_STLTIM_RCSETDEL_M 0x03FF0000U
8455 #define ADC_STLTIM_RCSETDEL_S 16U
8456 
8457 
8458 /*-----------------------------------REGISTER------------------------------------
8459  Register name: CLKCFG
8460  Offset name: ADC_O_CLKCFG
8461  Relative address: 0x2000
8462  Description: ADC CLK CONFIG
8463  Default Value: 0x00000000
8464 
8465  Field: EN
8466  From..to bits: 0...0
8467  DefaultValue: 0x0
8468  Access type: read-write
8469  Description: ENABLE
8470 
8471  enables system clk to work with ADC
8472  '1' - enable adc clk
8473  '0' - disable adc clk
8474 
8475 */
8476 #define ADC_CLKCFG_EN 0x00000001U
8477 #define ADC_CLKCFG_EN_M 0x00000001U
8478 #define ADC_CLKCFG_EN_S 0U
8479 
8480 #endif /* __HW_ADC_H__*/