Datasheet
355
XMEGA B [DATASHEET]
8291B–AVR–01/2013
27.8.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.
27.8.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 comparator, V
SCALE
, is:
27.8.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.
Bits 3:2 – WINTMODE[1:0]: Window Interrupt Mode Settings
These bits configure the interrupt mode for the analog comparator window mode according to Table 27-5.
Bit 76543210
+0x04
– – – – – – AC1OUT AC0OUT
Read/Write R R R R R R R/W R/W
Initial Value 0 0 000000
Bit 76543210
+0x05
– – SCALEFAC[5:0]
Read/Write R/W R/W R/W R/W R/W R/W R/W R/W
Initial Value 00000000
V
SCALE
V
CC
SCALEFAC 1+
64
-------------------------------------------------------------
=
Bit 76543210
+0x06
– – – WEN WINTMODE[1:0] WINTLVL[1:0]
Read/Write R R R R/W R/W R/W R/W R/W
Initial Value 0 0 000000