User manual

...the world's most energy friendly microcontrollers
2012-04-24 - Giant Gecko Family - d0053_Rev0.96 697
www.energymicro.com
Bit Name Reset Access Description
Enabled/disable PRS trigger of scan sequence.
Value Description
0 Scan sequence is not triggered by PRS input
1 Scan sequence is triggered by PRS input selected by PRSSEL
23:20 AT 0x0 RW Scan Sample Acquisition Time
Select the acquisition time for scan samples.
Value Mode Description
0 1CYCLE 1 ADC_CLK cycle acquisition time for scan samples
1 2CYCLES 2 ADC_CLK cycles acquisition time for scan samples
2 4CYCLES 4 ADC_CLK cycles acquisition time for scan samples
3 8CYCLES 8 ADC_CLK cycles acquisition time for scan samples
4 16CYCLES 16 ADC_CLK cycles acquisition time for scan samples
5 32CYCLES 32 ADC_CLK cycles acquisition time for scan samples
6 64CYCLES 64 ADC_CLK cycles acquisition time for scan samples
7 128CYCLES 128 ADC_CLK cycles acquisition time for scan samples
8 256CYCLES 256 ADC_CLK cycles acquisition time for scan samples
19 Reserved
To ensure compatibility with future devices, always write bits to 0. More information in Section 2.1 (p. 3)
18:16 REF 0x0 RW Scan Sequence Reference Selection
Select reference to ADC scan sequence.
Value Mode Description
0 1V25 Internal 1.25 V reference
1 2V5 Internal 2.5 V reference
2 VDD VDD
3 5VDIFF Internal differential 5 V reference
4 EXTSINGLE Single ended external reference from pin 6
5 2XEXTDIFF Differential external reference, 2x(pin 6 - pin 7)
6 2XVDD Unbuffered 2xVDD
15:8 INPUTMASK 0x00 RW Scan Sequence Input Mask
Set one or more bits in this mask to select which inputs are included the scan sequence in either single ended or differential mode.
DIFF = 0
Mode Value Description
CH0 00000001 ADCn_CH0 included in mask
CH1 00000010 ADCn_CH1 included in mask
CH2 00000100 ADCn_CH2 included in mask
CH3 00001000 ADCn_CH3 included in mask
CH4 00010000 ADCn_CH4 included in mask
CH5 00100000 ADCn_CH5 included in mask
CH6 01000000 ADCn_CH6 included in mask
CH7 10000000 ADCn_CH7 included in mask
DIFF = 1
Mode Value Description
CH0CH1 00000001 (Positive input: ADCn_CH0 Negative input: ADCn_CH1) included
in mask
CH2CH3 00000010 (Positive input: ADCn_CH2 Negative input: ADCn_CH3) included
in mask
CH4CH5 00000100 (Positive input: ADCn_CH4 Negative input: ADCn_CH5) included
in mask
CH6CH7 00001000 (Positive input: ADCn_CH6 Negative input: ADCn_CH7) included
in mask
0001xxxx-1111xxxx Reserved
7:6 Reserved
To ensure compatibility with future devices, always write bits to 0. More information in Section 2.1 (p. 3)
5:4 RES 0x0 RW Scan Sequence Resolution Select