
267
8210C–AVR–09/11
Atmel AVR XMEGA D
21.15.3
INTCTRL – Interrupt Control registers
• Bits 7:4 – Reserved
These bits are unused and reserved for future use. For compatibility with future devices, always
write these bits to zero when this register is written.
• Bit 3:2 – INTMODE: Interrupt Mode
These bits select the interrupt mode for the channel according to
.
• Bits 1:0 – INTLVL[1:0]: Interrupt Priority Level and Enable
These bits enable the ADC channel interrupt and select the interrupt level, as described in
rupts and Programmable Multilevel Interrupt Controller” on page 101
. The enabled interrupt will
be triggered for conditions when the IF bit in the INTFLAGS register is set.
21.15.4
INTFLAGS – Interrupt Flag registers
• Bit 7:1 – Reserved
These bits are unused and reserved for future use. For compatibility with future devices, always
write these bits to zero when this register is written.
• Bit 0 – IF: Interrupt Flag
The interrupt flag is set when the ADC conversion is complete. If the channel is configured for
compare mode, the flag will be set if the compare condition is met. IF is automatically cleared
101
-
Reserved
110
-
Reserved
111
GND
PAD ground
Table 21-13.
ADC MUXNEG configuration, INPUTMODE[1:0] = 11, differential with gain
Bit
7
6
5
4
3
2
1
0
–
–
–
–
INTMODE[1:0}
INTLVL[1:0]
INTCTRL
Read/Write
R
R
R
R
R/W
R/W
R/W
R/W
Initial Value
0
0
0
0
0
0
0
0
Table 21-14.
ADC interrupt mode.
INTMODE[1:0]
Group Configuration
Interrupt Mode
00
COMPLETE
Conversion complete
01
BELOW
Compare result below threshold
10
Reserved
11
ABOVE
Compare result above threshold
Bit
7
6
5
4
3
2
1
0
–
–
–
–
–
–
–
IF
INTFLAGS
Read/Write
R
R
R
R
R
R
R
R/W
Initial Value
0
0
0
0
0
0
0
0