EasyManuals Logo

Atmel AVR XMEGA AU series User Manual

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
Page #377 background imageLoading...
Page #377 background image
377
8331B–AVR–03/12
Atmel AVR XMEGA AU
Bit 3:0 – 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.
28.16.12 CMPH – Compare Register High
The CMPH and CMPL register pair represents the 16-bit value, CMP. For details on reading and
writing 16-bit registers, refer to ”Accessing 16-bit Registers” on page 13.
Bit 7:0 – CMP[15:0]: Compare Value High
These are the eight msbs of the 16-bit ADC compare value. In signed mode, the number repre-
sentation is 2's complement, and the msb is the sign bit.
28.16.13 CMPL – Compare Register Low
Bit 7:0 – CMP[7:0]: Compare Value Low
These are the eight lsbs of the 16-bit ADC compare value. In signed mode, the number repre-
sentation is 2's complement.
28.17 Register Description - ADC Channel
28.17.1 CTRL – Channel Control Register
Bit 7 – START: START Conversion on Channel
Setting this bit will start a conversion on the channel. The bit is cleared by hardware when the
conversion has started. Setting this bit when it already is set will have no effect. Writing or read-
ing this bit is equivalent to writing the CH[3:0]START bits in ”CTRLA – Control register A” on
page 370.
Bit 6: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:2 – GAIN[2:0]: Gain Factor
These bits define the gain factor for the ADC gain stage.
Bit 76543210
+0x19 CMP[15:0] CMPH
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
Bit 76543210
+0x18 CMP[7:0] CMPL
Read/Write R/W R/W R/W R/W R/W R/W R/W R/W
Initial Value00000000
Bit 76543210
+0x00 START
GAIN[2:0] INPUTMODE[1:0] CTRL
Read/Write R/W 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

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Atmel AVR XMEGA AU series and is the answer not in the manual?

Atmel AVR XMEGA AU series Specifications

General IconGeneral
BrandAtmel
ModelAVR XMEGA AU series
CategoryMicrocontrollers
LanguageEnglish

Related product manuals