Data Sheet

880
Atmel | SMART SAM D21 [DATASHEET]
Atmel-42181G–SAM-D21_Datasheet–09/2015
32.8.17 Gain Correction
Name: GAINCORR
Offset: 0x24
Reset: 0x0000
Property: Write-Protected
z Bits 15:12 – 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 11:0 – GAINCORR[11:0]: Gain Correction Value
If the CTRLB.CORREN bit is one, these bits define how the ADC conversion result is compensated for gain error
before being written to the result register. The gaincorrection is a fractional value, a 1-bit integer plusan 11-bit frac-
tion, and therefore 1/2 <= GAINCORR < 2. GAINCORR values range from 0.10000000000 to 1.11111111111.
Bit 151413121110 9 8
GAINCORR[11:8]
AccessRRRRR/WR/WR/WR/W
Reset00000000
Bit 76543210
GAINCORR[7:0]
AccessR/WR/WR/WR/WR/WR/WR/WR/W
Reset00000000