403
8331B–AVR–03/12
Atmel AVR XMEGA AU
30.9.3
CTRLA – Control register A
• Bit 7:2 – 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 1 – AC1OUT: Analog Comparator 1 Output
Setting this bit makes the output of AC1 available on pin 6 of the port.
• Bit 0 – AC0OUT: Analog Comparator 0 Output
Setting this bit makes the output of AC0 available on pin 7 of the port.
30.9.4
CTRLB – Control register B
• Bit 7:6 – 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 5:0 – SCALEFAC[5:0]: Voltage Scaling Factor
These bits define the scaling factor for the Vcc voltage scaler. The input to the analog compara-
tor, V
SCALE
, is:
30.9.5
WINCTRL – Window Function Control register
• Bit 7:5 – 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 4 – WEN: Window Mode Enable
Setting this bit enables the analog comparator window mode.
Bit
7
6
5
4
3
2
1
0
–
–
–
–
–
–
AC1OUT
AC0OUT
CTRLA
Read/Write
R
R
R
R
R
R
R/W
R/W
Initial Value
0
0
0
0
0
0
0
0
Bit
7
6
5
4
3
2
1
0
–
–
SCALEFAC[5:0]
CTRLB
Read/Write
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial Value
0
0
0
0
0
0
0
0
V
SCALE
V
CC
SCALEFAC
1
+
(
)
⋅
64
-------------------------------------------------------------
=
Bit
7
6
5
4
3
2
1
0
–
–
–
WEN
WINTMODE[1:0]
WINTLVL[1:0]
WINCTRL
Read/Write
R
R
R
R/W
R/W
R/W
R/W
R/W
Initial Value
0
0
0
0
0
0
0
0