13.3.19 ADC Digital Filter x Control Register (x = 0, 1, 2, 3)

Legend: HSC = Hardware Settable/Clearable bit

Name: ADFLxCON
Offset: 0xB6A, 0xB6E, 0xB72, 0xB76

Bit 15141312111098 
 FLENMODE[1:0]OVRSAM[2:0]IERDY 
Access R/WR/WR/WR/WR/WR/WR/WHSC/R 
Reset 00000000 
Bit 76543210 
    FLCHSEL[4:0] 
Access R/WR/WR/WR/WR/W 
Reset 00000 

Bit 15 – FLEN Filter Enable bit

ValueDescription
1

Filter is enabled.

0

Filter is disabled and the RDY bit is cleared.

Bits 14:13 – MODE[1:0] Filter Mode bits

ValueDescription
11

Averaging mode

10

Reserved

01

Reserved

00

Oversampling mode

Bits 12:10 – OVRSAM[2:0] Filter Averaging/Oversampling Ratio bits

If MODE[1:0] = 00:

111 = 128x (16-bit result in the ADFLxDAT register is in 12.4 format)

110 = 32x (15-bit result in the ADFLxDAT register is in 12.3 format)

101 = 8x (14-bit result in the ADFLxDAT register is in 12.2 format)

100 = 2x (13-bit result in the ADFLxDAT register is in 12.1 format)

011 = 256x (16-bit result in the ADFLxDAT register is in 12.4 format)

010 = 64x (15-bit result in the ADFLxDAT register is in 12.3 format)

001 = 16x (14-bit result in the ADFLxDAT register is in 12.2 format)

000 = 4x (13-bit result in the ADFLxDAT register is in 12.1 format)

If MODE[1:0] = 11 (12-bit result in the ADFLxDAT register in all instances):

111 = 256x

110 = 128x

101 = 64x

100 = 32x

011 = 16x

010 = 8x

001 = 4x

000 = 2x

Bit 9 – IE Filter Common ADC Interrupt Enable bit

ValueDescription
1

Common ADC interrupt will be generated when the filter result will be ready.

0

Common ADC interrupt will not be generated for the filter.

Bit 8 – RDY Oversampling Filter Data Ready Flag bit

This bit is cleared by hardware when the result is read from the ADFLxDAT register.

ValueDescription
1

Data in the ADFLxDAT register are ready.

0

The ADFLxDAT register has been read and new data in the ADFLxDAT register are not ready.

Bits 4:0 – FLCHSEL[4:0] Oversampling Filter Input Channel Selection bits

ValueDescription
11111-10110 Reserved
10101 AN21 (Band gap 1.2V)
10100 AN20 (Temperature sensor)
10011 AN19
10010 AN18
10001 AN17
10000 AN16
01111

AN15

. . .
00000

AN0