Atmel Xplained Pro Evaluation Kit for the ATSAMD21J18A Microcontroller ATSAMD21-XPRO ATSAMD21-XPRO Data Sheet

Product codes
ATSAMD21-XPRO
Page of 1018
851
Atmel | SMART SAM D21 [DATASHEET]
Atmel-42181C–SAM-D21_Datasheet–07/2014
32.8.4 Sampling Time Control
Name:
SAMPCTRL
Offset:
0x03
Reset:
0x00
Property:
Write-Protected
z
Bits 7:6 – 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. These bits will always return zero when read.
z
Bits 5:0 – SAMPLEN[5:0]: Sampling Time Length
These bits control the ADC sampling time in number of half CLK_ADC cycles, depending of the prescaler value, 
thus controlling the ADC input impedance. Sampling time is set according to the equation:
Bit
7
6
5
4
3
2
1
0
SAMPLEN[5:0]
Access
R
R
R/W
R/W
R/W
R/W
R/W
R/W
Reset
0
0
0
0
0
0
0
0
Sampling time
SAMPLEN 1
+
(
)
CLK
ADC
2
----------------------
=