45.8.7 Average Control
Name: | AVGCTRL |
Offset: | 0x0A |
Reset: | 0x00 |
Property: | PAC Write-Protection, Write-Synchronized |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
ADJRES[2:0] | SAMPLENUM[3:0] | ||||||||
Access | R/W | R/W | R/W | R/W | R/W | R/W | R/W | ||
Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
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.
Value | Description |
---|---|
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 |