
...the world's most energy friendly microcontrollers
Bit
Name
Reset
Access
Description
Value
9
10
11
Mode
X1024
X2048
X4096
Description
1024 samples for each conversion result
2048 samples for each conversion result
4096 samples for each conversion result
23:21
Reserved
To ensure compatibility with future devices, always write bits to 0. More information in Section 2.1
(p. 3)20:16
TIMEBASE
0x1F
RW
Time Base
Set time base used for ADC warm up sequence according to the HFPERCLK frequency. The time base is defined as a number of
HFPERCLK cycles which should be set equal to or higher than 1us.
Value
TIMEBASE
Description
ADC warm-up is set to TIMEBASE+1 HFPERCLK clock cycles and bandgap
warm-up is set to 5x(TIMEBASE+1) HFPERCLK cycles.
15
Reserved
To ensure compatibility with future devices, always write bits to 0. More information in Section 2.1
(p. 3)14:8
PRESC
0x00
RW
Prescaler Setting
Select clock division factor.
Value
PRESC
Description
Clock division factor of PRESC+1.
7:6
Reserved
To ensure compatibility with future devices, always write bits to 0. More information in Section 2.1
(p. 3)5:4
LPFMODE
0x0
RW
Low Pass Filter Mode
These bits control the filtering of the ADC input. Details on the filter characteristics can be found in the device datasheets.
Value
0
1
2
Mode
BYPASS
DECAP
RCFILT
Description
No filter or decoupling capacitor
On chip decoupling capacitor selected
On chip RC filter selected
3
TAILGATE
0
RW
Conversion Tailgating
Enable/disable conversion tailgating.
Value
0
1
Description
Scan sequence has priority, but can be delayed by ongoing single samples.
Scan sequence has priority and single samples will only start immediately after scan sequence.
2
Reserved
To ensure compatibility with future devices, always write bits to 0. More information in Section 2.1
(p. 3)1:0
WARMUPMODE
0x0
RW
Warm-up Mode
Select Warm-up Mode for ADC
Value
0
1
2
3
Mode
NORMAL
FASTBG
KEEPSCANREFWARM
KEEPADCWARM
Description
ADC is shut down after each conversion
Bandgap references do not need warm up, but have reduced accuracy.
Reference selected for scan mode is kept warm.
ADC is kept warmed up and scan reference is kept warm
25.5.2 ADCn_CMD - Command Register
Offset
0x004
Reset
Access
Name
Bit Position
2011-04-12 - d0001_Rev1.10
353
www.energymicro.com