#[repr(u8)]pub enum DNF_A {
Show 16 variants
NoFilter = 0,
Filter1 = 1,
Filter2 = 2,
Filter3 = 3,
Filter4 = 4,
Filter5 = 5,
Filter6 = 6,
Filter7 = 7,
Filter8 = 8,
Filter9 = 9,
Filter10 = 10,
Filter11 = 11,
Filter12 = 12,
Filter13 = 13,
Filter14 = 14,
Filter15 = 15,
}
Expand description
Digital noise filter These bits are used to configure the digital noise filter on SDA and SCL input. The digital filter will filter spikes with a length of up to DNF[3:0]
- tI2CCLK … Note: If the analog filter is also enabled, the digital filter is added to the analog filter. This filter can only be programmed when the I2C is disabled (PE = 0).
Value on reset: 0
Variants§
NoFilter = 0
0: Digital filter disabled
Filter1 = 1
1: Digital filter enabled and filtering capability up to 1 tI2CCLK
Filter2 = 2
2: Digital filter enabled and filtering capability up to 2 tI2CCLK
Filter3 = 3
3: Digital filter enabled and filtering capability up to 3 tI2CCLK
Filter4 = 4
4: Digital filter enabled and filtering capability up to 4 tI2CCLK
Filter5 = 5
5: Digital filter enabled and filtering capability up to 5 tI2CCLK
Filter6 = 6
6: Digital filter enabled and filtering capability up to 6 tI2CCLK
Filter7 = 7
7: Digital filter enabled and filtering capability up to 7 tI2CCLK
Filter8 = 8
8: Digital filter enabled and filtering capability up to 8 tI2CCLK
Filter9 = 9
9: Digital filter enabled and filtering capability up to 9 tI2CCLK
Filter10 = 10
10: Digital filter enabled and filtering capability up to 10 tI2CCLK
Filter11 = 11
11: Digital filter enabled and filtering capability up to 11 tI2CCLK
Filter12 = 12
12: Digital filter enabled and filtering capability up to 12 tI2CCLK
Filter13 = 13
13: Digital filter enabled and filtering capability up to 13 tI2CCLK
Filter14 = 14
14: Digital filter enabled and filtering capability up to 14 tI2CCLK
Filter15 = 15
15: Digital filter enabled and filtering capability up to 15 tI2CCLK