Enum DNFR

Source
pub enum DNFR {
Show 16 variants NOFILTER, FILTER1, FILTER2, FILTER3, FILTER4, FILTER5, FILTER6, FILTER7, FILTER8, FILTER9, FILTER10, FILTER11, FILTER12, FILTER13, FILTER14, FILTER15,
}
Expand description

Possible values of the field DNF

Variants§

§

NOFILTER

Digital filter disabled

§

FILTER1

Digital filter enabled and filtering capability up to 1 tI2CCLK

§

FILTER2

Digital filter enabled and filtering capability up to 2 tI2CCLK

§

FILTER3

Digital filter enabled and filtering capability up to 3 tI2CCLK

§

FILTER4

Digital filter enabled and filtering capability up to 4 tI2CCLK

§

FILTER5

Digital filter enabled and filtering capability up to 5 tI2CCLK

§

FILTER6

Digital filter enabled and filtering capability up to 6 tI2CCLK

§

FILTER7

Digital filter enabled and filtering capability up to 7 tI2CCLK

§

FILTER8

Digital filter enabled and filtering capability up to 8 tI2CCLK

§

FILTER9

Digital filter enabled and filtering capability up to 9 tI2CCLK

§

FILTER10

Digital filter enabled and filtering capability up to 10 tI2CCLK

§

FILTER11

Digital filter enabled and filtering capability up to 11 tI2CCLK

§

FILTER12

Digital filter enabled and filtering capability up to 12 tI2CCLK

§

FILTER13

Digital filter enabled and filtering capability up to 13 tI2CCLK

§

FILTER14

Digital filter enabled and filtering capability up to 14 tI2CCLK

§

FILTER15

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_filter1(&self) -> bool

Checks if the value of the field is FILTER1

Source

pub fn is_filter2(&self) -> bool

Checks if the value of the field is FILTER2

Source

pub fn is_filter3(&self) -> bool

Checks if the value of the field is FILTER3

Source

pub fn is_filter4(&self) -> bool

Checks if the value of the field is FILTER4

Source

pub fn is_filter5(&self) -> bool

Checks if the value of the field is FILTER5

Source

pub fn is_filter6(&self) -> bool

Checks if the value of the field is FILTER6

Source

pub fn is_filter7(&self) -> bool

Checks if the value of the field is FILTER7

Source

pub fn is_filter8(&self) -> bool

Checks if the value of the field is FILTER8

Source

pub fn is_filter9(&self) -> bool

Checks if the value of the field is FILTER9

Source

pub fn is_filter10(&self) -> bool

Checks if the value of the field is FILTER10

Source

pub fn is_filter11(&self) -> bool

Checks if the value of the field is FILTER11

Source

pub fn is_filter12(&self) -> bool

Checks if the value of the field is FILTER12

Source

pub fn is_filter13(&self) -> bool

Checks if the value of the field is FILTER13

Source

pub fn is_filter14(&self) -> bool

Checks if the value of the field is FILTER14

Source

pub fn is_filter15(&self) -> bool

Checks if the value of the field is FILTER15

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

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.