Atmel Xplained Pro Evaluation Kit ATSAMD20-XPRO ATSAMD20-XPRO Data Sheet

Product codes
ATSAMD20-XPRO
Page of 660
492
Atmel | SMART SAM D20 [DATASHEET]
Atmel-42129K–SAM-D20_datasheet–06/2014
28.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
----------------------
=