[]Enum nucleo_f042k6::i2c1::cr1::DNFR

pub enum DNFR {
    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,
}

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

Methods

impl DNFR

pub fn bits(&self) -> u8

Value of the field as raw bits

pub fn is_no_filter(&self) -> bool

Checks if the value of the field is NOFILTER

pub fn is_filter_1(&self) -> bool

Checks if the value of the field is FILTER_1

pub fn is_filter_2(&self) -> bool

Checks if the value of the field is FILTER_2

pub fn is_filter_3(&self) -> bool

Checks if the value of the field is FILTER_3

pub fn is_filter_4(&self) -> bool

Checks if the value of the field is FILTER_4

pub fn is_filter_5(&self) -> bool

Checks if the value of the field is FILTER_5

pub fn is_filter_6(&self) -> bool

Checks if the value of the field is FILTER_6

pub fn is_filter_7(&self) -> bool

Checks if the value of the field is FILTER_7

pub fn is_filter_8(&self) -> bool

Checks if the value of the field is FILTER_8

pub fn is_filter_9(&self) -> bool

Checks if the value of the field is FILTER_9

pub fn is_filter_10(&self) -> bool

Checks if the value of the field is FILTER_10

pub fn is_filter_11(&self) -> bool

Checks if the value of the field is FILTER_11

pub fn is_filter_12(&self) -> bool

Checks if the value of the field is FILTER_12

pub fn is_filter_13(&self) -> bool

Checks if the value of the field is FILTER_13

pub fn is_filter_14(&self) -> bool

Checks if the value of the field is FILTER_14

pub fn is_filter_15(&self) -> bool

Checks if the value of the field is FILTER_15

Trait Implementations

impl PartialEq<DNFR> for DNFR

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl Clone for DNFR

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for DNFR

impl Debug for DNFR

Auto Trait Implementations

impl Send for DNFR

impl Sync for DNFR

Blanket Implementations

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> From for T
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]