Enum stm32h7xx_hal::pac::i2c1::cr1::DNF_A [−][src]
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
0: Digital filter disabled
1: Digital filter enabled and filtering capability up to 1 tI2CCLK
2: Digital filter enabled and filtering capability up to 2 tI2CCLK
3: Digital filter enabled and filtering capability up to 3 tI2CCLK
4: Digital filter enabled and filtering capability up to 4 tI2CCLK
5: Digital filter enabled and filtering capability up to 5 tI2CCLK
6: Digital filter enabled and filtering capability up to 6 tI2CCLK
7: Digital filter enabled and filtering capability up to 7 tI2CCLK
8: Digital filter enabled and filtering capability up to 8 tI2CCLK
9: Digital filter enabled and filtering capability up to 9 tI2CCLK
10: Digital filter enabled and filtering capability up to 10 tI2CCLK
11: Digital filter enabled and filtering capability up to 11 tI2CCLK
12: Digital filter enabled and filtering capability up to 12 tI2CCLK
13: Digital filter enabled and filtering capability up to 13 tI2CCLK
14: Digital filter enabled and filtering capability up to 14 tI2CCLK
15: Digital filter enabled and filtering capability up to 15 tI2CCLK
Trait Implementations
impl Clone for DNF_A
[src]
pub fn clone(&self) -> DNF_A
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for DNF_A
[src]
impl Debug for DNF_A
[src]
impl PartialEq<DNF_A> for DNF_A
[src]
pub fn eq(&self, other: &DNF_A) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralPartialEq for DNF_A
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,