31.5.2 Control B

Name: CTRLB
Offset: 0x01
Reset: 0x00
Property: -

Bit 76543210 
      SAMPNUM[2:0] 
Access R/WR/WR/W 
Reset 000 

Bits 2:0 – SAMPNUM[2:0] Sample Accumulation Number Select

These bits select how many consecutive ADC sampling results are accumulated automatically. When this bit is written to a value greater than 0x0, the according number of consecutive ADC sampling results are accumulated into the ADC Result register (ADC.RES) in one complete conversion.

ValueNameDescription
0x0 NONE No accumulation.
0x1 ACC2 2 results accumulated.
0x2 ACC4 4 results accumulated.
0x3 ACC8 8 results accumulated.
0x4 ACC16 16 results accumulated.
0x5 ACC32 32 results accumulated.
0x6 ACC64 64 results accumulated.
0x7 - Reserved.