[][src]Enum stm32f3::stm32f3x8::i2c1::oar2::OA2MSK_A

#[repr(u8)]
pub enum OA2MSK_A {
    NOMASK,
    MASK1,
    MASK2,
    MASK3,
    MASK4,
    MASK5,
    MASK6,
    MASK7,
}

Own Address 2 masks

Value on reset: 0

Variants

NOMASK

0: No mask

MASK1

1: OA2[1] is masked and don’t care. Only OA2[7:2] are compared

MASK2

2: OA2[2:1] are masked and don’t care. Only OA2[7:3] are compared

MASK3

3: OA2[3:1] are masked and don’t care. Only OA2[7:4] are compared

MASK4

4: OA2[4:1] are masked and don’t care. Only OA2[7:5] are compared

MASK5

5: OA2[5:1] are masked and don’t care. Only OA2[7:6] are compared

MASK6

6: OA2[6:1] are masked and don’t care. Only OA2[7] is compared.

MASK7

7: OA2[7:1] are masked and don’t care. No comparison is done, and all (except reserved) 7-bit received addresses are acknowledged

Trait Implementations

impl Clone for OA2MSK_A[src]

impl Copy for OA2MSK_A[src]

impl Debug for OA2MSK_A[src]

impl From<OA2MSK_A> for u8[src]

impl PartialEq<OA2MSK_A> for OA2MSK_A[src]

impl StructuralPartialEq for OA2MSK_A[src]

Auto Trait Implementations

impl Send for OA2MSK_A

impl Sync for OA2MSK_A

impl Unpin for OA2MSK_A

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.