ADC Registers
www.ti.com
904
SPNU563A–March 2018
Submit Documentation Feedback
Copyright © 2018, Texas Instruments Incorporated
Analog To Digital Converter (ADC) Module
22.3.16 ADC Group2 Interrupt Flag Register (ADG2INTFLG)
ADC Group2 Interrupt Flag Register (ADG2INTFLG) is shown in Figure 22-38 and described in Table 22-
22.
Figure 22-38. ADC Group2 Interrupt Flag Register (ADG2INTFLG) [offset = 3Ch]
31 8
Reserved
R-0
7 4 3 2 1 0
Reserved G2_END G2_MEM_
EMPTY
G2_MEM_
OVERRUN
G2_THR_
INT_FLG
R-0 R/W1C-0 R-1 R-0 R/W1C-0
LEGEND: R/W = Read/Write; R = Read only; W1C = Write 1 to clear; -n = value after reset
Table 22-22. ADC Group2 Interrupt Flag Register (ADG2INTFLG) Field Descriptions
Bit Field Value Description
31-4 Reserved 0 Reads return 0. Writes have no effect.
3 G2_END Group2 Conversion End. This bit will be set only if the Group2 conversions are configured to be
in the single-conversion mode.
Any operation mode read:
0 All the channels selected for conversion in the Group2 have not yet been converted.
1 All the channels selected for conversion in the Group2 have been converted. A Group2
conversion end interrupt is generated, if enabled, when this bit gets set.
This bit can be cleared by any one of the following ways:
• By writing a 1 to this bit
• By writing a 1 to the Group2 status register (ADG2SR) bit 0 (G2_END)
• By reading one conversion result from the Group2 results’ memory in the “read from FIFO”
mode
• By writing a new set of channels to the Group2 channel select register
2 G2_MEM_EMPTY Group2 Results Memory Empty. This is a read-only bit; writes have no effect. It is not a source
of an interrupt from the ADC module.
Any operation mode read:
0 The Group2 results memory is not empty.
1 The Group2 results memory is empty.
1 G2_MEM_OVERRUN Group2 Memory Overrun. This is a read-only bit; writes have no effect.
Any operation mode read:
0 Group2 results memory has not overrun.
1 Group2 results memory has overrun.
0 G2_THR_INT_FLG Group2 Threshold Interrupt Flag.
Any operation mode read:
0 The number of conversions completed for the Group2 is smaller than the threshold
programmed in the Group2 interrupt threshold register.
1 The number of conversions completed for the Group2 is equal to or greater than the threshold
programmed in the Group2 interrupt threshold register.
This bit can be cleared by writing a 1; writing a 0 has no effect.