[]Struct nucleo_f042k6::i2c1::oar2::_OA2MSKW

pub struct _OA2MSKW<'a> { /* fields omitted */ }

Proxy

Methods

impl<'a> _OA2MSKW<'a>

pub fn variant(self, variant: OA2MSKW) -> &'a mut W

Writes variant to the field

pub fn no_mask(self) -> &'a mut W

No mask

pub fn mask_1(self) -> &'a mut W

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

pub fn mask_2(self) -> &'a mut W

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

pub fn mask_3(self) -> &'a mut W

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

pub fn mask_4(self) -> &'a mut W

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

pub fn mask_5(self) -> &'a mut W

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

pub fn mask_6(self) -> &'a mut W

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

pub fn mask_7(self) -> &'a mut W

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

pub fn bits(self, value: u8) -> &'a mut W

Writes raw bits to the field

Auto Trait Implementations

impl<'a> Send for _OA2MSKW<'a>

impl<'a> Sync for _OA2MSKW<'a>

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]