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
+0x01
CTRLB
–
CURRLIMIT[1:0]
CONVMO
FREERUN
RESOLUTION[1:0]
–
+0x02
REFCTRL
–
REFSEL[2:0]
–
–
BANDGAP
TEMPREF
+0x03
EVCTRL
–
–
–
EVSEL[1:0]
EVACT[2:0]
+0x04
PRESCALER
–
–
–
–
–
PRESCALER[2:0]
+0x05
Reserved
–
–
–
–
–
–
–
–
+0x06
INTFLAGS
–
–
–
–
–
–
–
CH0IF
+0x07
TEMP
TEMP[7:0]
+0x08
SAMPCTRL
–
–
SAMPVAL[5:0]
+0x09
Reserved
–
–
–
–
–
–
–
–
+0x0A
Reserved
–
–
–
–
–
–
–
–
+0x0B
Reserved
–
–
–
–
–
–
–
–
+0x0C
CALL
CAL[7:0]
+0x0D
CALH
–
–
–
–
CAL[11:8]
+0x0E
Reserved
–
–
–
–
–
–
–
–
+0x0F
Reserved
–
–
–
–
–
–
–
–
+0x10
CH0RESL
CH0RES[7:0]
+0x11
CH0RESH
CH0RES[15:8]
+0x12
Reserved
–
–
–
–
–
–
–
–
+0x13
Reserved
–
–
–
–
–
–
–
–
+0x14
Reserved
–
–
–
–
–
–
–
–
+0x15
Reserved
–
–
–
–
–
–
–
–
+0x16
Reserved
–
–
–
–
–
–
–
–
+0x17
Reserved
–
–
–
–
–
–
–
–
+0x18
CMPL
CMP[7:0]
+0x19
CMPH
CMP[15:8]
+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]
+0x01
MUXCTRL
–
MUXPOS[3:0]
MUXNEG[2:0]
+0x02
INTCTRL
–
–
–
–
INTMODE[1:0]
INTLVL[1:0]
+0x03
INTFLAGS
–
–
–
–
–
–
–
IF
+0x04
RESL
RES[7:0]
+0x05
RESH
RES[15:8]
+0x06
SCAN
OFFSET
COUNT
+0x07
Reserved
–
–
–
–
–
–
–
–
Offset
Source
Interrupt Description
0x00
CH0
Analog-to-digital converter channel 0 interrupt vector
Содержание XMEGA B
Страница 320: ...320 XMEGA B DATASHEET 8291B AVR 01 2013 Table 25 12 7 segments Character Table...
Страница 321: ...321 XMEGA B DATASHEET 8291B AVR 01 2013 Table 25 13 14 segments Character Table...
Страница 322: ...322 XMEGA B DATASHEET 8291B AVR 01 2013 Table 25 14 16 segments Character Table...
Страница 412: ...412 XMEGA B DATASHEET 8291B AVR 01 2013...
Страница 413: ...413 XMEGA B DATASHEET 8291B AVR 01 2013...
Страница 414: ...414 XMEGA B DATASHEET 8291B AVR 01 2013...