Datasheet
349
XMEGA B [DATASHEET]
8291B–AVR–01/2013
26.17 Register Summary – ADC
This is the register summary when the ADC is configured to give standard 12-bit results. The register summaries for 8-bit and 12-
bit left adjusted will be similar, but with some changes in the result registers, CH0RESH and CH0RESL.
26.18 Register Summary – ADC Channel
26.19 Interrupt vector Summary
Address Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Page
+0x00 CTRLA – – – – – CH0STAR FLUSH ENABLE 336
+0x01 CTRLB
– CURRLIMIT[1:0] CONVMO FREERUN RESOLUTION[1:0] – 336
+0x02 REFCTRL
– REFSEL[2:0] – – BANDGAP TEMPREF 337
+0x03 EVCTRL
– – – EVSEL[1:0] EVACT[2:0] 338
+0x04 PRESCALER
– – – – – PRESCALER[2:0] 339
+0x05 Reserved – – – – – – – –
+0x06 INTFLAGS – – – – – – – CH0IF 339
+0x07 TEMP TEMP[7:0] 340
+0x08 SAMPCTRL
– – SAMPVAL[5:0] 340
+0x09 Reserved – – – – – – – –
+0x0A Reserved – – – – – – – –
+0x0B Reserved – – – – – – – –
+0x0C CALL CAL[7:0] 340
+0x0D CALH
– – – – CAL[11:8]
+0x0E Reserved – – – – – – – –
+0x0F Reserved – – – – – – – –
+0x10 CH0RESL CH0RES[7:0] 341
+0x11 CH0RESH CH0RES[15:8] 341
+0x12 Reserved – – – – – – – –
+0x13 Reserved – – – – – – – –
+0x14 Reserved – – – – – – – –
+0x15 Reserved – – – – – – – –
+0x16 Reserved – – – – – – – –
+0x17 Reserved – – – – – – – –
+0x18 CMPL CMP[7:0] 342
+0x19 CMPH CMP[15:8] 342
+0x1A Reserved – – – – – – – –
+0x1B Reserved – – – – – – – –
+0x1C Reserved – – – – – – – –
+0x1D Reserved – – – – – – – –
+0x1E Reserved – – – – – – – –
+0x1F Reserved – – – – – – – –
+0x20 CH0 Offset Offset address for ADC channel
+0x28 Reserved – – – – – – – –
+0x30 Reserved – – – – – – – –
+0x38 Reserved – – – – – – – –
Address Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Page
+0x00 CTRL START – – GAIN[2:0] INPUTMODE[1:0] 342
+0x01 MUXCTRL
– MUXPOS[3:0] MUXNEG[2:0] 343
+0x02 INTCTRL
– – – – INTMODE[1:0] INTLVL[1:0] 346
+0x03 INTFLAGS
– – – – – – – IF 346
+0x04 RESL RES[7:0] 347
+0x05 RESH RES[15:8] 347
+0x06 SCAN OFFSET COUNT 347
+0x07 Reserved – – – – – – – –
Offset Source Interrupt Description
0x00 CH0 Analog-to-digital converter channel 0 interrupt vector