DNF_A

Enum DNF_A 

Source
#[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

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

Trait Implementations§

Source§

impl Clone for DNF_A

Source§

fn clone(&self) -> DNF_A

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for DNF_A

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl From<DNF_A> for u8

Source§

fn from(variant: DNF_A) -> Self

Converts to this type from the input type.
Source§

impl PartialEq for DNF_A

Source§

fn eq(&self, other: &DNF_A) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for DNF_A

Source§

impl StructuralPartialEq for DNF_A

Auto Trait Implementations§

§

impl Freeze for DNF_A

§

impl RefUnwindSafe for DNF_A

§

impl Send for DNF_A

§

impl Sync for DNF_A

§

impl Unpin for DNF_A

§

impl UnwindSafe for DNF_A

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.