Sampling Time Control
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
OFFCOMP | SAMPLEN[5:0] | ||||||||
Access | R/W | R/W | R/W | R/W | R/W | R/W | R/W | ||
Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Comparator Offset Compensation Enable
Setting this bit enables the offset compensation for each sampling period to ensure low offset and immunity to temperature or voltage drift. ADC sampling time is fixed to 4 ADC Clock cycles when OFFCOMP = 1.
Sampling Time Length
These bits control the ADC sample time (Ts) in number of ADC Clock Period (CLK_ADC), depending of the prescaler value, thus controlling the ADC input impedance. Sampling time is set according to the equation:
SAMPLEN is only available when OFFCOMP=0.