407
8331B–AVR–03/12
Atmel AVR XMEGA AU
30.10 Register Summary
30.11 Interrupt vector Summary
Address
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Page
+0x00
AC0CTRL
INTMODE[1:0]
INTLVL[1:0]
HSMODE
HYSMODE[1:0]
ENABLE
+0x01
AC1CTRL
INTMODE[1:0]
INTLVL[1:0]
HSMODE
HYSMODE[1:0]
ENABLE
+0x02
AC0MUXCTRL
–
–
MUXPOS[2:0]
MUXNEG[2:0]
+0x03
AC1MUXCTRL
–
–
MUXPOS[2:0]
MUXNEG[2:0]
+0x04
CTRLA
–
–
–
–
–
–
AC1OUT
ACOOUT
+0x05
CTRLB
–
–
SCALEFAC5:0]
+0x06
WINCTRL
–
–
–
WEN
WINTMODE[1:0]
WINTLVL[1:0]
+0x07
STATUS
WSTATE[1:0]
AC1STATE
AC0STATE
–
WIF
AC1IF
AC0IF
+0x08
CURRCTRL
CURRENT
CURRMODE
–
–
–
–
AC1CURR
AC0CURR
+0x09
CURRCALIB
–
–
–
–
CALIB[3:0]
Table 30-7.
Analog comparator interrupt vectors.
Offset
Source
Interrupt Description
0x00
COMP0_vect
Analog comparator 0 interrupt vector
0x02
COMP1_vect
Analog comparator 1 interrupt vector
0x04
WINDOW_vect
Analog comparator window interrupt vector