45.8.7 Average Control

Name: AVGCTRL
Offset: 0x0A
Reset: 0x00
Property: PAC Write-Protection, Write-Synchronized

Bit 76543210 
  ADJRES[2:0]SAMPLENUM[3:0] 
Access R/WR/WR/WR/WR/WR/WR/W 
Reset 0000000 

Bits 6:4 – ADJRES[2:0] Adjusting Result / Division Coefficient

These bits define the division coefficient in 2^n steps.

Bits 3:0 – SAMPLENUM[3:0] Number of Samples to be Collected

These bits define how many samples are added together. The result will be available in the Result register (RESULT). Note: if the result width increases, CTRLB.RESSEL must be changed.

ValueDescription
0x0 1 sample
0x1 2 samples
0x2 4 samples
0x3 8 samples
0x4 16 samples
0x5 32 samples
0x6 64 samples
0x7 128 samples
0x8 256 samples
0x9 512 samples
0xA 1024 samples
0xB - 0xF Reserved