DNFR

Enum DNFR 

Source
pub enum DNFR {
Show 16 variants NOFILTER, FILTER_1, FILTER_2, FILTER_3, FILTER_4, FILTER_5, FILTER_6, FILTER_7, FILTER_8, FILTER_9, FILTER_10, FILTER_11, FILTER_12, FILTER_13, FILTER_14, FILTER_15,
}
Expand description

Possible values of the field DNF

Variants§

§

NOFILTER

Digital filter disabled

§

FILTER_1

Digital filter enabled and filtering capability up to 1 tI2CCLK

§

FILTER_2

Digital filter enabled and filtering capability up to 2 tI2CCLK

§

FILTER_3

Digital filter enabled and filtering capability up to 3 tI2CCLK

§

FILTER_4

Digital filter enabled and filtering capability up to 4 tI2CCLK

§

FILTER_5

Digital filter enabled and filtering capability up to 5 tI2CCLK

§

FILTER_6

Digital filter enabled and filtering capability up to 6 tI2CCLK

§

FILTER_7

Digital filter enabled and filtering capability up to 7 tI2CCLK

§

FILTER_8

Digital filter enabled and filtering capability up to 8 tI2CCLK

§

FILTER_9

Digital filter enabled and filtering capability up to 9 tI2CCLK

§

FILTER_10

Digital filter enabled and filtering capability up to 10 tI2CCLK

§

FILTER_11

Digital filter enabled and filtering capability up to 11 tI2CCLK

§

FILTER_12

Digital filter enabled and filtering capability up to 12 tI2CCLK

§

FILTER_13

Digital filter enabled and filtering capability up to 13 tI2CCLK

§

FILTER_14

Digital filter enabled and filtering capability up to 14 tI2CCLK

§

FILTER_15

Digital filter enabled and filtering capability up to 15 tI2CCLK

Implementations§

Source§

impl DNFR

Source

pub fn bits(&self) -> u8

Value of the field as raw bits

Source

pub fn is_no_filter(&self) -> bool

Checks if the value of the field is NOFILTER

Source

pub fn is_filter_1(&self) -> bool

Checks if the value of the field is FILTER_1

Source

pub fn is_filter_2(&self) -> bool

Checks if the value of the field is FILTER_2

Source

pub fn is_filter_3(&self) -> bool

Checks if the value of the field is FILTER_3

Source

pub fn is_filter_4(&self) -> bool

Checks if the value of the field is FILTER_4

Source

pub fn is_filter_5(&self) -> bool

Checks if the value of the field is FILTER_5

Source

pub fn is_filter_6(&self) -> bool

Checks if the value of the field is FILTER_6

Source

pub fn is_filter_7(&self) -> bool

Checks if the value of the field is FILTER_7

Source

pub fn is_filter_8(&self) -> bool

Checks if the value of the field is FILTER_8

Source

pub fn is_filter_9(&self) -> bool

Checks if the value of the field is FILTER_9

Source

pub fn is_filter_10(&self) -> bool

Checks if the value of the field is FILTER_10

Source

pub fn is_filter_11(&self) -> bool

Checks if the value of the field is FILTER_11

Source

pub fn is_filter_12(&self) -> bool

Checks if the value of the field is FILTER_12

Source

pub fn is_filter_13(&self) -> bool

Checks if the value of the field is FILTER_13

Source

pub fn is_filter_14(&self) -> bool

Checks if the value of the field is FILTER_14

Source

pub fn is_filter_15(&self) -> bool

Checks if the value of the field is FILTER_15

Trait Implementations§

Source§

impl Clone for DNFR

Source§

fn clone(&self) -> DNFR

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 DNFR

Source§

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

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

impl PartialEq for DNFR

Source§

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

Source§

impl StructuralPartialEq for DNFR

Auto Trait Implementations§

§

impl Freeze for DNFR

§

impl RefUnwindSafe for DNFR

§

impl Send for DNFR

§

impl Sync for DNFR

§

impl Unpin for DNFR

§

impl UnwindSafe for DNFR

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> Same for T

Source§

type Output = T

Should always be Self
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.