EasyManua.ls Logo

Atmel AVR XMEGA AU series - Page 403

Atmel AVR XMEGA AU series
512 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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 76543210
+0x04 AC1OUT AC0OUT CTRLA
Read/WriteRRRRRRR/WR/W
Initial Value 0 0 0 0 0 0 0 0
Bit 76543210
+0x05 SCALEFAC[5:0] CTRLB
Read/Write R/W R/W R/W R/W R/W R/W R/W R/W
Initial Value00000000
V
SCALE
V
CC
SCALEFAC 1+()
64
------------------------------------------------------------ -=
Bit 76543210
+0x06 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

Table of Contents

Related product manuals