Datasheet

338
XMEGA B [DATASHEET]
8291B–AVR–01/2013
Bit 3: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 – BANDGAP: Bandgap Enable
Setting this bit enables the bandgap for ADC measurement. Note that if any other functions are already using the
bandgap, this bit does not need to be set when the internal 1.00V reference is used for another ADC or if the brownout
detector is enabled.
Bit 0 – TEMPREF: Temperature Reference Enable
Setting this bit enables the temperature sensor for ADC measurement.
26.15.4 EVCTRL – Event 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:3 – EVSEL[1:0]: Event Channel Input Select
These bits select which event channel will trigger the ADC channel. Each setting defines a group of event channels,
where the event channel with the lowest number will trigger ADC channel 0, the next event channel will trigger ADC
channel 1, and so on. See Table 26-4.
Table 26-4. ADC event channel select.
Bit 2:0 – EVACT[2:0]: Event Mode
These bits select and limit how many of the selected event input channel are used, and also further limit the ADC
channels triggers. They also define more special event triggers as defined in Table 26-5.
Table 26-5. ADC event mode select.
Bit 7 6 5 4 3 2 1 0
+0x03
EVSEL[1:0] EVACT[2:0]
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
EVSEL[1:0] Group Configuration Selected Event Lines
00 0 Event channel 0 selected inputs
01 1 Event channel 1 selected inputs
10 2 Event channel 2 selected inputs
11 3 Event channel 3 selected inputs
EVACT[2:0] Group Configuration Event Input Operation Mode
000 NONE No event inputs
001 CH0
Event channel with the lowest number defined by EVSEL
triggers conversion on ADC channel
010 Reserved
011 Reserved
100 Reserved