Enum DNF

Source
#[repr(u8)]
pub enum DNF {
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

DNF

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

Source§

fn clone(&self) -> DNF

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

Source§

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

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

impl FieldSpec for DNF

Source§

type Ux = u8

Raw field type (u8, u16, u32, …).
Source§

impl Format for DNF

Source§

fn format(&self, f: Formatter<'_>)

Writes the defmt representation of self to fmt.
Source§

impl From<DNF> for u8

Source§

fn from(variant: DNF) -> Self

Converts to this type from the input type.
Source§

impl PartialEq for DNF

Source§

fn eq(&self, other: &DNF) -> 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

Source§

impl Eq for DNF

Source§

impl IsEnum for DNF

Source§

impl StructuralPartialEq for DNF

Auto Trait Implementations§

§

impl Freeze for DNF

§

impl RefUnwindSafe for DNF

§

impl Send for DNF

§

impl Sync for DNF

§

impl Unpin for DNF

§

impl UnwindSafe for DNF

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.