
263
8210C–AVR–09/11
Atmel AVR XMEGA D
21.14.11 CH0RESL – Channel 0 Result register Low
21.14.11.1
12-/8-bit Mode
• Bit 7:0 – CHRES[7:0]: Channel Result Low
These are the eight lsbs of the ADC result.
21.14.11.2
12-bit Mode, Left Adjusted
• Bit 7:4 – CHRES[3:0]: Channel Result Low
These are the four lsbs of the 12-bit ADC result.
• 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.
21.14.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 11
• 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.
21.14.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.
Bit
7
6
5
4
3
2
1
0
12-/8-bit, right
CHRES[7:0]
12-bit, left
CHRES[3:0]
–
–
–
–
Read/Write
R
R
R
R
R
R
R
R
Initial Value
0
0
0
0
0
0
0
0
Bit
7
6
5
4
3
2
1
0
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
7
6
5
4
3
2
1
0
CMP[7:0]
CMPL
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